Fix mutex pretty printer test and pretty printer output.
[glibc.git] / ChangeLog
blob9573c5c4b2cc173fe9d98358fffb7e1ebeff9d4b
1 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
3         * README.pretty-printers (Known issues): Warn about printers not
4         always covering everything.
5         * nptl/nptl-printers.py (MutexPrinter): Change output.
6         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
8 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
11         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
13         (__lll_lock_elision): Do not test futex before starting a
14         transaction.  Use __glibc_likely instead of __builtin_expect.
15         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
16         (__lll_trylock_elision): Do not test futex before starting a
17         transaction.  Use __glibc_likely instead of __builtin_expect.
19 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
21         * po/Makefile (update-translations): New target.
23 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
25         [BZ #21061]
26         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
28 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
30         * elf/dl-tunables (get_next_env): Always advance envp.
31         * stdlib/tst-empty-env.c: New test case.
32         * stdlib/Makefile (tests): Use it.
34 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
36         [BZ #21047]
37         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
38         name for instruction.
39         [!__SOFTFP__] (_FPU_SETCW): Likewise.
41 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
43         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
44         for make install.
46 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
48         * po/bg.po: Merge from Translation Project.
49         * po/fr.po: Likewise.
50         * po/ko.po: Likewise.
51         * po/nl.po: Likewise.
52         * po/sv.po: Likewise.
54 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
56         * manual/install.texi (Tools for Compilation): Update GCC version
57         known to work to build glibc.
58         * INSTALL: Regenerated.
60 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
62         [BZ #21006]
63         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
65 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
67         [BZ #21045]
68         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
69         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
70         to __sigprocmask.
72 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
74         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
75         wrap-around.
76         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
78         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
80 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
82         * NEWS: Fix typo.
84 2016-01-13  Torvald Riegel  <triegel@redhat.com>
86         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
87         barriers and comments.
88         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
89         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
90         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
92 2016-01-13  Torvald Riegel  <triegel@redhat.com>
94         [BZ #19402]
95         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
96         mutexes.
98 2016-01-13  Torvald Riegel  <triegel@redhat.com>
100         [BZ #20985]
101         * nptl/Makefile: Adapt.
102         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
103         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
104         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
105         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
106         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
107         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
108         lll_robust* functions and adapt.
109         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
110         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
111         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
112         __lll_robust_timedlock, __lll_robust_unlock): Remove.
113         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
114         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
115         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
116         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
117         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
118         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
119         __lll_robust_timedlock, __lll_robust_unlock): Remove.
120         * nptl/lowlevelrobustlock.c: Remove file.
121         * nptl/lowlevelrobustlock.sym: Likewise.
122         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
123         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
125 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
127         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
129 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
131         * po/cs.po: Merge translations from the Translation Project.
132         * po/de.po: Likewise.
133         * po/pl.po: Likewise.
134         * po/ru.po: Likewise.
135         * po/tr.po: Likewise.
136         * po/uk.po: Likewise.
137         * po/vi.po: Likewise.
138         * po/zh_CN.po: Likewise.
140 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
142         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
144         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
145         object.
147 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
149         [BZ #16458]
150         * bits/uintn-identity.h: New file.
151         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
152         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
153         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
154         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
155         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
156         * string/endian.h: Include <bits/uintn-identity.h>.
157         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
158         __uint16_identity.
159         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
160         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
161         __uint32_identity.
162         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
163         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
164         __uint64_identity.
165         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
166         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
167         __uint16_identity.
168         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
169         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
170         __uint32_identity.
171         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
172         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
173         __uint64_identity.
174         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
175         * string/Makefile (headers): Add bits/uintn-identity.h.
176         (tests): Add test-endian-types.
177         * string/test-endian-types.c: New file.
178         * inet/Makefile (tests): Add test-hnto-types.
179         * inet/test-hnto-types.c: New file.
181 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
183         * po/be.po: Update from Translation Project.
184         * po/bg.po: Likewise.
185         * po/ca.po: Likewise.
186         * po/cs.po: Likewise.
187         * po/da.po: Likewise.
188         * po/de.po: Likewise.
189         * po/el.po: Likewise.
190         * po/eo.po: Likewise.
191         * po/es.po: Likewise.
192         * po/fi.po: Likewise.
193         * po/fr.po: Likewise.
194         * po/gl.po: Likewise.
195         * po/hr.po: Likewise.
196         * po/hu.po: Likewise.
197         * po/ia.po: Likewise.
198         * po/id.po: Likewise.
199         * po/it.po: Likewise.
200         * po/ja.po: Likewise.
201         * po/ko.po: Likewise.
202         * po/lt.po: Likewise.
203         * po/nb.po: Likewise.
204         * po/nl.po: Likewise.
205         * po/pl.po: Likewise.
206         * po/pt_BR.po: Likewise.
207         * po/ru.po: Likewise.
208         * po/rw.po: Likewise.
209         * po/sk.po: Likewise.
210         * po/sl.po: Likewise.
211         * po/sv.po: Likewise.
212         * po/tr.po: Likewise.
213         * po/uk.po: Likewise.
214         * po/vi.po: Likewise.
215         * po/zh_CN.po: Likewise.
216         * po/zh_TW.po: Likewise.
218 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
220         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
221         -Wformat-truncation instead of -Wformat-length.
222         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
223         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
224         GCC 7.
225         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
226         (do_test): Ignore -Wformat-truncation for GCC 7.
228         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
229         buffer used to print long int value.
231         * elf/sotruss-lib.c (init): Increase space allocated for pid by
232         one byte.  Print it with %ld, cast to long int.
234 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
236         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
237         (re.fullmatch, subprocess.run): Likewise.
239 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
241         * po/libc.pot: Regenerate.
243 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
245         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
246         (min_strlen): Likewise.
247         (disable_tunable): Likewise.
248         (maybe_disable_malloc_check): Rename to
249         maybe_enable_malloc_check.
250         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
251         if /etc/suid-debug file exists.
252         (__tunables_init): Update caller.
253         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
254         secure.
256 2016-01-10  Torvald Riegel  <triegel@redhat.com>
258         * nptl/DESIGN-rwlock.txt: Remove.
259         * nptl/lowlevelrwlock.sym: Remove.
260         * nptl/Makefile: Add new tests.
261         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
262         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
263         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
264         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
265         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
266         PTHREAD_RWLOCK_FUTEX_USED): New.
267         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
268         implementation.
269         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
270         (__pthread_rwlock_rdlock): Adapt.
271         * nptl/pthread_rwlock_timedrdlock.c
272         (pthread_rwlock_timedrdlock): Adapt.
273         * nptl/pthread_rwlock_timedwrlock.c
274         (pthread_rwlock_timedwrlock): Adapt.
275         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
276         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
277         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
278         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
279         (__pthread_rwlock_wrlock): Adapt.
280         * nptl/tst-rwlock10.c: Adapt.
281         * nptl/tst-rwlock11.c: Adapt.
282         * nptl/tst-rwlock17.c: New file.
283         * nptl/tst-rwlock18.c: New file.
284         * nptl/tst-rwlock19.c: New file.
285         * nptl/tst-rwlock2b.c: New file.
286         * nptl/tst-rwlock8.c: Adapt.
287         * nptl/tst-rwlock9.c: Adapt.
288         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
289         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
290         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
291         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
292         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
293         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
294         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
295         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
296         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
297         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
298         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
299         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
300         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
301         (pthread_rwlock_t): Adapt.
302         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
303         (pthread_rwlock_t): Adapt.
304         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
305         * nptl/nptl-printers.py (): Adapt.
306         * nptl/nptl_lock_constants.pysym: Adapt.
307         * nptl/test-rwlock-printers.py: Adapt.
308         * nptl/test-rwlockattr-printers.c: Adapt.
309         * nptl/test-rwlockattr-printers.py: Adapt.
311 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
313         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
314         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
315         (fma_test_data): Likewise.
316         (hypot_test_data): Likewise.
317         (log1p_test_data): Likewise.
318         (modf_test_data): Likewise.
319         (pow_test_data): Likewise.
320         (remainder_test_data): Likewise.
321         (remquo_test_data): Likewise.
322         (scalb_test_data): Likewise.
323         (scalbn_test_data): Likewise.
324         (scalbln_test_data): Likewise.
325         * math/gen-libm-test.pl (parse_args): Transform
326         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
327         on the rounding mode.
329 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
331         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
332         xfail-rounding:ibm128-libgcc automatically to tests overflowing
333         and those that can underflow to zero.
334         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
335         add others.
336         * math/auto-libm-test-out: Regenerated.
338         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
339         supported.
340         (feholdexcept_tests): Skip tests requiring exceptions or rounding
341         modes support if not supported.
343         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
344         Add libc.so PLT entry.
345         (__tls_get_addr): Make ld.so PLT entry optional.
347 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
349         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
350         * string/bits/string3.h: ... here.
352 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
354         [BZ #21028]
355         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
356         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
357         if EXCEPTION_TESTS returns false.
359 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
361         [BZ #20558]
362         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
363         strings_fortified.h.
364         [__USE_MISC] (bzero): Likewise.
365         [__USE_MISC] (explicit_bzero): Likewise.
366         * string/strings.h: Include strings_fortified.h.
367         * string/Makefile (headers): Add strings_fortified.h.
368         * string/bits/strings_fortified.h: New file.
369         * include/bits/strings_fortified.h: Likewise.
371 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
373         * elf/tst-tls13.c (TIMEOUT): Remove.
374         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
375         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
376         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
377         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
378         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
380         [BZ #21026]
381         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
382         (readahead): New syscall entry.
384 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
386         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
387         around tests of strncat with large sizes.
389         * malloc/tst-malloc.c: Include <libc-internal.h>.
390         (do_test): Disable -Walloc-size-larger-than= around tests of
391         malloc with negative sizes.
392         * malloc/tst-mcheck.c: Include <libc-internal.h>.
393         (do_test): Disable -Walloc-size-larger-than= around tests of
394         malloc and realloc with negative sizes.
395         * malloc/tst-realloc.c: Include <libc-internal.h>.
396         (do_test): Disable -Walloc-size-larger-than= around tests of
397         realloc with negative sizes.
399         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
400         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
401         allowed to 16 ulps.
402         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
403         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
404         * math/auto-libm-test-out: Regenerated.
406 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
408         * math/Makefile (libm-calls): Move wrappers...
409         (libm-compat-call-auto): Here.
410         (libm-routines): Add items in libm-compat-calls-auto.
411         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
412         the filenames of the wrappers that have been renamed.
413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
416         * math/w_acos.c: Add _compat suffix to filename.
417         * math/w_acosf.c: Likewise.
418         * math/w_acosh.c: Likewise.
419         * math/w_acoshf.c: Likewise.
420         * math/w_acoshl.c: Likewise.
421         * math/w_acosl.c: Likewise.
422         * math/w_asin.c: Likewise.
423         * math/w_asinf.c: Likewise.
424         * math/w_asinl.c: Likewise.
425         * math/w_atan2.c: Likewise.
426         * math/w_atan2f.c: Likewise.
427         * math/w_atan2l.c: Likewise.
428         * math/w_atanh.c: Likewise.
429         * math/w_atanhf.c: Likewise.
430         * math/w_atanhl.c: Likewise.
431         * math/w_cosh.c: Likewise.
432         * math/w_coshf.c: Likewise.
433         * math/w_coshl.c: Likewise.
434         * math/w_exp10.c: Likewise.
435         * math/w_exp10f.c: Likewise.
436         * math/w_exp10l.c: Likewise.
437         * math/w_exp2.c: Likewise.
438         * math/w_exp2f.c: Likewise.
439         * math/w_exp2l.c: Likewise.
440         * math/w_fmod.c: Likewise.
441         * math/w_fmodf.c: Likewise.
442         * math/w_fmodl.c: Likewise.
443         * math/w_hypot.c: Likewise.
444         * math/w_hypotf.c: Likewise.
445         * math/w_hypotl.c: Likewise.
446         * math/w_j0.c: Likewise.
447         * math/w_j0f.c: Likewise.
448         * math/w_j0l.c: Likewise.
449         * math/w_j1.c: Likewise.
450         * math/w_j1f.c: Likewise.
451         * math/w_j1l.c: Likewise.
452         * math/w_jn.c: Likewise.
453         * math/w_jnf.c: Likewise.
454         * math/w_jnl.c: Likewise.
455         * math/w_log10.c: Likewise.
456         * math/w_log10f.c: Likewise.
457         * math/w_log10l.c: Likewise.
458         * math/w_log2.c: Likewise.
459         * math/w_log2f.c: Likewise.
460         * math/w_log2l.c: Likewise.
461         * math/w_log.c: Likewise.
462         * math/w_logf.c: Likewise.
463         * math/w_logl.c: Likewise.
464         * math/w_pow.c: Likewise.
465         * math/w_powf.c: Likewise.
466         * math/w_powl.c: Likewise.
467         * math/w_remainder.c: Likewise.
468         * math/w_remainderf.c: Likewise.
469         * math/w_remainderl.c: Likewise.
470         * math/w_scalb.c: Likewise.
471         * math/w_scalbf.c: Likewise.
472         * math/w_scalbl.c: Likewise.
473         * math/w_sinh.c: Likewise.
474         * math/w_sinhf.c: Likewise.
475         * math/w_sinhl.c: Likewise.
476         * math/w_sqrt.c: Likewise.
477         * math/w_sqrtf.c: Likewise.
478         * math/w_sqrtl.c: Likewise.
479         * math/w_tgamma.c: Likewise.
480         * math/w_tgammaf.c: Likewise.
481         * math/w_tgammal.c: Likewise.
483         * math/w_acos_compat.c: New file copied from above and
484         adjusted for new #includes path
485         * math/w_acosf_compat.c: Likewise.
486         * math/w_acosh_compat.c: Likewise.
487         * math/w_acoshf_compat.c: Likewise.
488         * math/w_acoshl_compat.c: Likewise.
489         * math/w_acosl_compat.c: Likewise.
490         * math/w_asin_compat.c: Likewise.
491         * math/w_asinf_compat.c: Likewise.
492         * math/w_asinl_compat.c: Likewise.
493         * math/w_atan2_compat.c: Likewise.
494         * math/w_atan2f_compat.c: Likewise.
495         * math/w_atan2l_compat.c: Likewise.
496         * math/w_atanh_compat.c: Likewise.
497         * math/w_atanhf_compat.c: Likewise.
498         * math/w_atanhl_compat.c: Likewise.
499         * math/w_cosh_compat.c: Likewise.
500         * math/w_coshf_compat.c: Likewise.
501         * math/w_coshl_compat.c: Likewise.
502         * math/w_exp10_compat.c: Likewise.
503         * math/w_exp10f_compat.c: Likewise.
504         * math/w_exp10l_compat.c: Likewise.
505         * math/w_exp2_compat.c: Likewise.
506         * math/w_exp2f_compat.c: Likewise.
507         * math/w_exp2l_compat.c: Likewise.
508         * math/w_fmod_compat.c: Likewise.
509         * math/w_fmodf_compat.c: Likewise.
510         * math/w_fmodl_compat.c: Likewise.
511         * math/w_hypot_compat.c: Likewise.
512         * math/w_hypotf_compat.c: Likewise.
513         * math/w_hypotl_compat.c: Likewise.
514         * math/w_j0_compat.c: Likewise.
515         * math/w_j0f_compat.c: Likewise.
516         * math/w_j0l_compat.c: Likewise.
517         * math/w_j1_compat.c: Likewise.
518         * math/w_j1f_compat.c: Likewise.
519         * math/w_j1l_compat.c: Likewise.
520         * math/w_jn_compat.c: Likewise.
521         * math/w_jnf_compat.c: Likewise.
522         * math/w_jnl_compat.c: Likewise.
523         * math/w_log10_compat.c: Likewise.
524         * math/w_log10f_compat.c: Likewise.
525         * math/w_log10l_compat.c: Likewise.
526         * math/w_log2_compat.c: Likewise.
527         * math/w_log2f_compat.c: Likewise.
528         * math/w_log2l_compat.c: Likewise.
529         * math/w_log_compat.c: Likewise.
530         * math/w_logf_compat.c: Likewise.
531         * math/w_logl_compat.c: Likewise.
532         * math/w_pow_compat.c: Likewise.
533         * math/w_powf_compat.c: Likewise.
534         * math/w_powl_compat.c: Likewise.
535         * math/w_remainder_compat.c: Likewise.
536         * math/w_remainderf_compat.c: Likewise.
537         * math/w_remainderl_compat.c: Likewise.
538         * math/w_scalb_compat.c: Likewise.
539         * math/w_scalbf_compat.c: Likewise.
540         * math/w_scalbl_compat.c: Likewise.
541         * math/w_sinh_compat.c: Likewise.
542         * math/w_sinhf_compat.c: Likewise.
543         * math/w_sinhl_compat.c: Likewise.
544         * math/w_sqrt_compat.c: Likewise.
545         * math/w_sqrtf_compat.c: Likewise.
546         * math/w_sqrtl_compat.c: Likewise.
547         * math/w_tgamma_compat.c: Likewise.
548         * math/w_tgammaf_compat.c: Likewise.
549         * math/w_tgammal_compat.c: Likewise.
551         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
552         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
553         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
554         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
555         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
556         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
557         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
558         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
559         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
560         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
561         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
562         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
563         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
564         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
565         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
566         * sysdeps/ia64/fpu/w_powl.c: Likewise.
567         * sysdeps/ia64/fpu/w_powf.c: Likewise.
568         * sysdeps/ia64/fpu/w_pow.c: Likewise.
569         * sysdeps/ia64/fpu/w_logl.c: Likewise.
570         * sysdeps/ia64/fpu/w_logf.c: Likewise.
571         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
572         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
573         * sysdeps/ia64/fpu/w_log2.c: Likewise.
574         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
575         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
576         * sysdeps/ia64/fpu/w_log10.c: Likewise.
577         * sysdeps/ia64/fpu/w_log.c: Likewise.
578         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
579         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
580         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
581         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
582         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
583         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
584         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
585         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
586         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
587         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
588         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
589         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
590         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
591         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
592         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
593         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
594         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
595         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
596         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
597         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
598         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
599         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
600         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
601         * sysdeps/ia64/fpu/w_asin.c: Likewise.
602         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
603         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
604         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
605         * sysdeps/ia64/fpu/w_acos.c: Likewise.
606         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
607         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
608         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
609         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
610         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
611         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
612         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
613         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
614         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
615         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
616         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
617         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
618         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
619         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
620         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
621         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
622         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
623         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
624         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
625         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
626         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
627         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
628         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
629         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
630         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
631         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
632         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
633         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
634         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
635         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
636         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
637         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
638         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
639         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
640         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
641         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
642         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
643         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
644         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
645         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
646         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
647         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
648         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
649         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
650         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
652         Likewise.
653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
654         Likewise.
655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
656         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
657         Likewise.
658         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
659         Likewise.
660         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
661         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
662         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
663         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
664         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
665         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
666         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
671         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
672         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
673         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
674         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
676         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
677         and adjusted for new #includes path
678         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
679         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
680         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
681         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
682         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
683         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
684         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
685         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
686         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
687         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
688         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
689         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
690         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
691         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
692         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
693         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
694         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
695         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
696         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
697         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
698         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
699         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
700         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
701         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
702         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
703         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
704         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
705         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
706         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
707         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
708         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
709         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
710         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
711         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
712         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
713         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
714         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
715         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
716         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
717         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
718         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
719         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
720         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
721         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
722         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
723         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
724         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
725         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
726         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
727         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
728         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
729         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
730         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
731         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
732         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
733         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
734         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
735         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
736         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
737         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
738         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
739         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
740         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
741         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
742         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
743         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
744         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
745         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
746         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
747         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
748         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
749         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
750         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
751         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
752         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
753         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
754         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
755         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
756         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
757         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
758         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
759         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
760         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
761         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
762         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
763         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
764         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
765         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
766         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
767         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
768         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
769         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
770         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
771         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
772         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
773         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
774         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
775         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
776         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
778         Likewise.
779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
780         Likewise.
781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
782         Likewise.
783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
784         Likewise.
785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
786         Likewise.
787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
788         Likewise.
789         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
790         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
791         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
792         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
793         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
794         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
796         Likewise.
797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
798         Likewise.
799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
800         Likewise.
801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
802         Likewise.
803         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
804         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
805         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
806         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
808 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
810         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
811         __jmp_buf_internal_tag.
813         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
814         preserve NaN payload if [__mips_nan2008].
815         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
817         [BZ #21022]
818         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
820 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
822         * sysdeps/i386/fpu/libm-test-ulps: Update.
824 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
826         * sysdeps/ia64/strcat.c: Remove file.
827         * sysdeps/powerpc/strcat.c: Likewise.
828         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
829         C implementation.
830         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
831         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
833 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
834             Steven Munroe  <sjmunroe@us.ibm.com>
835             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
837         [BZ #20822]
838         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
839         (__lll_lock_elision): Access adapt_count via C11 atomics.
840         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
841         (__lll_trylock_elision): Likewise.
842         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
843         (__lll_unlock_elision):  Update adapt_count variable inside the
844         critical section using C11 atomics.
846 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
848         * math/test-fenvinline.c (do_test): Disable tests of raised
849         exceptions if !EXCEPTION_TESTS (FLOAT).
851 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
853         [BZ #19390]
854         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
855         maximum string size.
856         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
857         in pointer addition.
858         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
859         Likewise.
861 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
863         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
864         passed to tst-ldconfig-X.sh.
866 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
868         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
870 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
872         [BZ #21019]
873         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
874         New syscall entry.
875         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
876         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
877         lseek.
879         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
880         power4 glibc for powerpc-linux-gnu.
882 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
884         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
885         semctl.
887 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
889         * math/test-nearbyint-except.c: Include <stdbool.h>.
890         (any_supported): New variable.
891         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
892         set any_supported.
893         (do_test): Return 77 if no floating-point type supported
894         exceptions.
896         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
897         condition on [__mips_hard_float].
899 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
901         [BZ #21014]
902         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
903         in pointer addition.
904         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
906 2017-01-02  Torvald Riegel  <triegel@redhat.com>
908         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
909         new condvar.
911 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
913         * scripts/build-many-glibcs.py (Context.checkout): Default
914         binutils version to 2.28 branch.
916 2017-01-01  Florian Weimer  <fweimer@redhat.com>
918         * support/support_format_netent.c (support_format_netent): Work
919         around alpha struct netent definition difference.
921 2017-01-01  Florian Weimer  <fweimer@redhat.com>
923         * support/xwrite.c (xwrite): Use %td for pointer difference.
925 2017-01-01  Florian Weimer  <fweimer@redhat.com>
927         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
928         have-tunables only.
929         (tests-static): Add tst-malloc-usable-static-tunables for
930         have-tunables only.
932 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
934         * scripts/config.guess: Update to version 2017-01-01.
935         * scripts/config.sub: Update to version 2017-01-01.
937         * NEWS: Update copyright dates.
938         * catgets/gencat.c (print_version): Likewise.
939         * csu/version.c (banner): Likewise.
940         * debug/catchsegv.sh: Likewise.
941         * debug/pcprofiledump.c (print_version): Likewise.
942         * debug/xtrace.sh (do_version): Likewise.
943         * elf/ldconfig.c (print_version): Likewise.
944         * elf/ldd.bash.in: Likewise.
945         * elf/pldd.c (print_version): Likewise.
946         * elf/sotruss.sh: Likewise.
947         * elf/sprof.c (print_version): Likewise.
948         * iconv/iconv_prog.c (print_version): Likewise.
949         * iconv/iconvconfig.c (print_version): Likewise.
950         * locale/programs/locale.c (print_version): Likewise.
951         * locale/programs/localedef.c (print_version): Likewise.
952         * login/programs/pt_chown.c (print_version): Likewise.
953         * malloc/memusage.sh (do_version): Likewise.
954         * malloc/memusagestat.c (print_version): Likewise.
955         * malloc/mtrace.pl: Likewise.
956         * manual/libc.texinfo: Likewise.
957         * nptl/version.c (banner): Likewise.
958         * nscd/nscd.c (print_version): Likewise.
959         * nss/getent.c (print_version): Likewise.
960         * nss/makedb.c (print_version): Likewise.
961         * posix/getconf.c (main): Likewise.
962         * scripts/test-installation.pl: Likewise.
963         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
965         * All files with FSF copyright notices: Update copyright dates
966         using scripts/update-copyrights.
967         * intl/plural.c: Regenerated.
968         * locale/programs/charmap-kw.h: Likewise.
969         * locale/programs/locfile-kw.h: Likewise.
971 2016-12-31  Florian Weimer  <fweimer@redhat.com>
973         [BZ #20593]
974         Update DNS RR type definitions.
975         * scripts/gen-rrtypes.py: New file.
976         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
977         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
978         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
979         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
980         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
981         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
982         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
983         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
984         ns_t_ta, ns_t_dlv.
985         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
986         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
987         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
988         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
989         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
990         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
991         Define.
992         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
993         entry for ns_t_zxfr.
995 2016-12-31  Florian Weimer  <fweimer@redhat.com>
997         [BZ #18784]
998         CVE-2015-5180
999         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1000         T_UNSPEC.  Adjust value.
1001         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1002         * resolv/res_query.c (__libc_res_nquery): Likewise.
1003         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1004         QTYPEs.
1005         * resolv/tst-resolv-qtypes.c: New file.
1006         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1007         (tst-resolv-qtypes): Link against libresolv and libpthread.
1009 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1011         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1013 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1015         * manual/tunables.texi: New chapter.
1016         * manual/Makefile (chapters): Add it.
1017         * manual/probes.texi (@node): Point to the Tunables chapter.
1019         * Makeconfig (have-tunables): Check for non-negative instead
1020         of positive.
1021         * configure.ac: Add 'valstring' as a valid value for
1022         --enable-tunables.
1023         * configure: Regenerate.
1024         * elf/Makefile (have-tunables): Check for non-negative instead
1025         of positive.
1026         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1027         dl-tunables.c.
1028         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1029         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1030         (tunables_strdup): Likewise.
1031         (disable_tunables): Likewise.
1032         (parse_tunables): Likewise.
1033         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1034         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1035         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1036         (TUNABLES_FRONTEND_yes): New macro, define as
1037         TUNABLES_FRONTEND_valstring by default.
1038         * manual/install.texi: Document new acceptable values for
1039         --enable-tunables.
1040         * INSTALL: Regenerate.
1042         * config.make.in (have-loop-to-function): Define.
1043         * elf/Makefile (CFLAGS-dl-tunables.c): Add
1044         -fno-tree-loop-distribute-patterns.
1045         * elf/dl-tunables.c: Include libc-internals.h.
1046         (GLIBC_TUNABLES): New macro.
1047         (tunables_strdup): New function.
1048         (parse_tunables): New function.
1049         (min_strlen): New function.
1050         (__tunables_init): Use the new functions and macro.
1051         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1052         * malloc/tst-malloc-usable-tunables.c: New test case.
1053         * malloc/tst-malloc-usable-static-tunables.c: New test case.
1054         * malloc/Makefile (tests, tests-static): Add tests.
1056         * manual/install.texi: Add --enable-tunables option.
1057         * INSTALL: Regenerate.
1058         * README.tunables: New file.
1059         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1060         (before-compile): Generate dl-tunable-list.h early.
1061         * config.h.in: Add HAVE_TUNABLES.
1062         * config.make.in: Add have-tunables.
1063         * configure.ac: Add --enable-tunables option.
1064         * configure: Regenerate.
1065         * csu/init-first.c (__libc_init_first): Move
1066         __libc_init_secure earlier...
1067         * csu/init-first.c (LIBC_START_MAIN):... to here.
1068         Include dl-tunables.h, libc-internal.h.
1069         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1070         binaries.
1071         * elf/Makefile (dl-routines): Add dl-tunables.
1072         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1073         namespace.
1074         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1075         only when !HAVE_TUNABLES.
1076         * elf/rtld.c (process_envvars): Likewise.
1077         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1078         (_dl_sysdep_start): Call __tunables_init.
1079         * elf/dl-tunable-types.h: New file.
1080         * elf/dl-tunables.c: New file.
1081         * elf/dl-tunables.h: New file.
1082         * elf/dl-tunables.list: New file.
1083         * malloc/tst-malloc-usable-static.c: New test case.
1084         * malloc/Makefile (tests-static): Add it.
1085         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1086         Define TUNABLE_NAMESPACE.
1087         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1088         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
1089         callback functions.
1090         (ptmalloc_init): Set tunable values.
1091         * scripts/gen-tunables.awk: New file.
1092         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1093         (_dl_sysdep_start): Call __tunables_init.
1095 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1097         * resolv/resolv.h (RES_BLAST): Deprecate.
1098         * resolv/res_debug.c (p_option): Remove RES_BLAST.
1099         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1100         to RES_BLAST.
1102 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1104         [BZ #19582]
1105         Deprecate RES_USE_INET6.
1106         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1107         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1108         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1109         RES_USE_INET6.
1110         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1111         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1112         (_nss_nisplus_gethostbyaddr_r): Likewise.
1113         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1114         of res_use_inet6.
1115         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1116         instead of RES_USE_INET6.
1117         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1118         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1119         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1120         Likewise.
1121         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1122         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1123         Likewise.
1124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1125         (_nss_dns_gethostbyname_r): Likewise.
1126         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1127         alternate RES_USE_INET6 handling.
1128         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1129         instead of RES_USE_INET6.
1130         * resolv/res_init.c (res_setoptions): Likewise.
1131         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1132         * resolv/resolv-internal.h: New file.
1133         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1134         make the deprecation warning non-fatal.
1135         * resolv/README (Using the resolver in multi-threaded code): Drop
1136         reference to RES_USE_INET6.
1137         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1138         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1140 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1142         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1143         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1144         tst-resolv-search.
1145         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1146         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1147         with libresolv and libpthread.
1148         * resolv/tst-bug18665.c: New file.
1149         * resolv/tst-bug18665-tcp: Likewise.
1150         * resolv/tst-res_use_inet6: Likewise.
1151         * resolv/tst-resolv-basic: Likewise.
1152         * resolv/tst-resolv-network: Likewise.
1153         * resolv/tst-resolv-search: Likewise.
1154         * support/Makefile (libsupport-routines): Add check_addrinfo,
1155         check_dns_packet, check_hostent, check_netent, resolv_test,
1156         support_format_address_family, support_format_addrinfo,
1157         support_format_dns_packet, support_format_herrno,
1158         support_format_hostent, support_format_netent, support_run_diff,
1159         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1160         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1161         xstrdup, xwrite.
1162         * support/check_addrinfo.c: New file.
1163         * support/check_dns_packet.c: Likewise.
1164         * support/check_hostent.c: Likewise.
1165         * support/check_netent.c: Likewise.
1166         * support/check_nss.h: Likewise.
1167         * support/format_nss.h: Likewise.
1168         * support/resolv_test.c: Likewise.
1169         * support/resolv_test.h: Likewise.
1170         * support/run_diff.h: Likewise.
1171         * support/support_format_address_family.c: Likewise.
1172         * support/support_format_addrinfo.c: Likewise.
1173         * support/support_format_dns_packet.c: Likewise.
1174         * support/support_format_herrno.c: Likewise.
1175         * support/support_format_hostent.c: Likewise.
1176         * support/support_format_netent.c: Likewise.
1177         * support/support_run_diff.c: Likewise.
1178         * support/xaccept.c: Likewise.
1179         * support/xbind.c: Likewise.
1180         * support/xconnect.c: Likewise.
1181         * support/xfclose.c: Likewise.
1182         * support/xfopen.c: Likewise.
1183         * support/xgetsockname.c: Likewise.
1184         * support/xlisten.c: Likewise.
1185         * support/xmemstream.c: Likewise.
1186         * support/xmemstream.h: Likewise.
1187         * support/xpoll.c: Likewise.
1188         * support/xpthread_once.c: Likewise.
1189         * support/xrecvfrom.c: Likewise.
1190         * support/xsendto.c: Likewise.
1191         * support/xsetsockopt.c: Likewise.
1192         * support/xstdio.h: Likewise.
1193         * support/xstrdup.c: Likewise.
1194         * support/support.h (xstrdup): Declare.
1195         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1196         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1197         * support/xthread.h (xpthread_once): Likwise.
1198         * support/xunistd.h (xwrite): Declare.
1200 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1202         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1203         (test_verbose): Declare.
1204         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1205         * support/support_test_main.c (default_options): Likewise.
1206         (usage, support_test_main): Handle 'v'.
1207         (test_verbose): Define.
1208         * support/tst-support_record_failure.c (do_test): Use
1209         test_verbose.
1210         * support/tst-support_record_failure-2.sh (different_status): Add
1211         --verbose test.
1213 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1215         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1216         test failures are recorded.
1217         * support/check.c (support_print_failure_impl): Call
1218         support_record_failure.
1219         (support_exit_failure_impl): Call support_record_failure if status
1220         indicates failure.
1221         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1222         * support/xasprintf.c (xasprintf): Likewise.
1223         * support/xfork.c (xfork): Likewise.
1224         * support/xpthread_check_return.c (xpthread_check_return):
1225         Likewise.
1226         * support/xsocket.c (xsocket): Likeweise.
1227         * support/xwaitpid.c (xwaitpid): Likewise.
1228         * support/support_record_failure.c (struct test_failures): Adjust
1229         to coding style.
1230         * support/support_test_verify_impl.c (support_test_verify_impl):
1231         Adjust error messages.
1232         * support/tst-support_record_failure-2.sh (different_status):
1233         Adjust error messages.
1235 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1237         * support/namespace.h: New file.
1238         * support/support_become_root.c: Likewise.
1239         * support/support_enter_network_namespace.c: Likewise.
1240         * support/tst-support-namespace.c: Likewise.
1241         * support/xsocket.c: Likewise.
1242         * support/xsocket.h: Likewise.
1243         * support/Makefile (libsupport-routines): Add support_become_root,
1244         support_enter_network_namespace, xsocket.
1245         (tests): Add tst-support-namespace.
1247 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1249         [BZ #17252]
1250         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1251         __USE_GNU.
1253 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1255         [BZ #13165]
1256         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1257         use new algorithm.
1258         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1259         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1260         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1261         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1262         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1263         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1264         __condvar_cleanup_waiting, __condvar_dec_grefs,
1265         __pthread_cond_wait_common): New.
1266         (__condvar_cleanup): Remove.
1267         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1268         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1269         Likewise.
1270         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1271         Likewise.
1272         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1273         * nptl/tst-cond1.c: Add comment.
1274         * nptl/tst-cond20.c (do_test): Adapt.
1275         * nptl/tst-cond22.c (do_test): Likewise.
1276         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1277         structure.
1278         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1279         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1280         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1281         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1282         Likewise.
1283         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1284         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1285         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1286         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1287         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1288         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1289         Likewise.
1290         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1291         Likewise.
1292         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1293         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1294         (COND_CLOCK_BITS): Adapt.
1295         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1296         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1297         __PTHREAD_COND_SHARED_MASK): New.
1298         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1299         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1300         * nptl/nptl_lock_constants.pysym: Adapt.
1301         * nptl/test-cond-printers.py: Adapt.
1302         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1303         cond_compat_check_and_clear): Adapt.
1304         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1305         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1306         (__pthread_cond_timedwait): ... and move here.
1307         * nptl/DESIGN-condvar.txt: Remove file.
1308         * nptl/lowlevelcond.sym: Likewise.
1309         * nptl/pthread_cond_timedwait.c: Likewise.
1310         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1311         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1312         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1313         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1314         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1315         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1316         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1317         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1318         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1319         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1320         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1321         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1322         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1323         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1324         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1325         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1327 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1329         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1330         (fromfp): New declaration.
1331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1334         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1339         * math/math.h: Include <bits/types.h>.
1340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1341         constant and macro.
1342         (FP_INT_DOWNWARD): Likewise.
1343         (FP_INT_TOWARDZERO): Likewise.
1344         (FP_INT_TONEARESTFROMZERO): Likewise.
1345         (FP_INT_TONEAREST): Likewise.
1346         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1347         (fromfpf): Likewise.
1348         (fromfpl): Likewise.
1349         (ufromfp): Likewise.
1350         (ufromfpf): Likewise.
1351         (ufromfpl): Likewise.
1352         (fromfpx): Likewise.
1353         (fromfpxf): Likewise.
1354         (fromfpxl): Likewise.
1355         (ufromfpx): Likewise.
1356         (ufromfpxf): Likewise.
1357         (ufromfpxl): Likewise.
1358         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1359         s_fromfpxF and s_ufromfpxF.
1360         * math/gen-fromfp-tests.py: New file.
1361         * math/gen-fromfp-tests-inputs: Likewise.
1362         * math/libm-test.inc: Include <stdint.h>
1363         (check_intmax_t): New function.
1364         (check_uintmax_t): Likewise.
1365         (struct test_fiu_M_data): New type.
1366         (struct test_fiu_U_data): Likewise.
1367         (RUN_TEST_fiu_M): New macro.
1368         (RUN_TEST_LOOP_fiu_M): Likewise.
1369         (RUN_TEST_fiu_U): Likewise.
1370         (RUN_TEST_LOOP_fiu_U): Likewise.
1371         (fromfp_test_data): New array.
1372         (fromfp_test): New function.
1373         (fromfpx_test_data): New array.
1374         (fromfpx_test): New function.
1375         (ufromfp_test_data): New array.
1376         (ufromfp_test): New function.
1377         (ufromfpx_test_data): New array.
1378         (ufromfpx_test): New function.
1379         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1380         ufromfpx_test.
1381         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1382         characters.
1383         * math/test-tgmath-ret.c: Include <stdint.h>.
1384         (rm): New variable.
1385         (width): Likewise.
1386         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1387         called function.
1388         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1389         CHECK_RET_CONST_TYPE.
1390         (CHECK_RET_CONST_DOUBLE): Likewise.
1391         (CHECK_RET_CONST_LDOUBLE): Likewise.
1392         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1393         macros.
1394         (fromfp): New CHECK_RET_CONST call.
1395         (ufromfp): Likewise.
1396         (fromfpx): Likewise.
1397         (ufromfpx): Likewise.
1398         (do_test): Call check_return_fromfp, check_return_ufromfp,
1399         check_return_fromfpx and check_return_ufromfpx.
1400         * math/test-tgmath.c: Include <stdint.h>
1401         (NCALLS): Increase to 138.
1402         (F(compile_test)): Initialize i.  Call fromfp functions.
1403         (F(fromfp)): New function.
1404         (F(fromfpx)): Likewise.
1405         (F(ufromfp)): Likewise.
1406         (F(ufromfpx)): Likewise.
1407         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1408         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1409         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1410         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1411         ufromfpxl.
1412         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1413         ufromfp and ufromfpx.
1414         * math/fromfp.h: New file.
1415         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1416         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1417         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1418         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1419         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1420         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1421         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1422         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1423         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1424         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1425         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1426         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1427         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1428         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1429         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1430         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1431         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1432         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1433         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1434         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1435         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1436         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1437         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1439         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1440         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1441         ufromfp, fromfpx and ufromfpx.
1442         (CFLAGS-nldbl-fromfp.c): New variable.
1443         (CFLAGS-nldbl-fromfpx.c): Likewise.
1444         (CFLAGS-nldbl-ufromfp.c): Likewise.
1445         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1446         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1447         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1448         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1449         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1450         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1451         * sysdeps/nacl/libm.abilist: Update.
1452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1465         Likewise.
1466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1467         Likewise.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1469         Likewise.
1470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1471         Likewise.
1472         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1473         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1474         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1476         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1477         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1478         Likewise.
1479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1480         Likewise.
1481         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1482         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1483         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1485 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1487         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1488         compat-gethnamaddr.
1489         (CPPFLAGS): Remove.
1490         * resolv/gethnamaddr.c: Rename ...
1491         * resolv/compat-gethnamaddr.c: ... to this file.
1492         (_endhtent): Make static.
1493         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1494         symbol.
1495         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1496         compat symbol.
1497         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1498         symbol.
1499         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1500         Turn into compat symbol.
1501         * include/resolv.h (_endhtent): Remove declaration.
1503 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1505         * bits/types.h (__intmax_t): New typedef.
1506         (__uintmax_t): Likewise.
1507         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1508         (intmax_t): Define using __intmax_t.
1509         (uintmax_t): Define using __uintmax_t.
1511         * support/Makefile (tests-special): Make definition conditional on
1512         [$(run-built-tests) = yes].
1513         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1514         on [$(run-built-tests) = yes].
1516 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1518         * Rules (tests): Add tests-printers-programs to tests to be
1519         built.
1521 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1523         * sysvipc/Makefile (tests): Add test-sysvshm.
1524         * sysvipc/test-sysvshm.c: New file.
1526         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1527         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1528         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1529         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1530         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1531         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1532         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1533         Likewise.
1534         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1535         Likewise.
1536         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1537         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1538         is defined.
1540         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1541         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1542         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1543         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1544         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1545         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1546         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1547         Likewise.
1548         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1549         Likewise.
1550         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1551         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1552         defined.
1554         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1555         oldshmctl.
1556         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1557         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1558         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1559         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1560         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1561         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1562         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1563         Likewise.
1564         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1565         Likewise.
1566         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1567         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1568         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1569         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1570         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1571         implementation.
1572         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1573         if it is defined.
1575         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1576         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1577         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1578         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1579         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1580         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1581         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1582         Likewise.
1583         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1584         Likewise.
1585         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1586         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1587         Define to __NR_osf_shmat.
1588         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1589         defined.
1591         * sysvipc/Makefile (tests): Add test-sysvsem.
1592         * sysvipc/test-sysvsem.c: New file.
1594         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1595         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1596         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1597         Likewise.
1598         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1599         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1600         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1601         Likewise.
1602         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1603         Likewise.
1604         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1605         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1606         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1607         add a comment about s390 syscall difference from default one.
1608         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1609         syscall if it is defined.
1611         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1612         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1613         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1614         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1615         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1616         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1617         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1618         Likewise.
1619         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1620         Likewise.
1621         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1622         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1623         defined.
1625         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1626         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1627         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1628         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1629         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1630         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1631         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1632         Likewise.
1633         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1634         Likewise.
1635         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1636         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1637         if it is defined.
1639         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1640         oldsemctl.
1641         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1642         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1643         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1644         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1645         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1646         implementation.
1647         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1648         syscall if it is defined.
1649         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1650         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1651         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1652         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1653         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1654         Likewise.
1655         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1657         * sysvipc/Makefile (tests): Add test-sysvmsg.
1658         * sysvipc/test-sysvmsg.c: New file.
1659         * support/check.h (FAIL_UNSUPPORTED): New define.
1661         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1662         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1663         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1664         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1665         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1666         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1667         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1668         Likewise.
1669         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1670         Likewise.
1671         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1672         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1673         define.
1675         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1676         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1677         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1678         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1679         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1680         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1681         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1682         Likewise.
1683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1684         Likewise.
1685         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1686         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1687         if defined.
1689         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1690         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1691         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1692         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1693         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1694         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1696         Likewise.
1697         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1698         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1699         Likewise.
1700         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1701         if defined.
1702         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1704         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1705         oldmsgctl.
1706         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1707         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1708         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1709         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1710         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1711         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1712         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1713         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1714         Likewise.
1715         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1716         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1717         implementation.
1718         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1719         if defined.
1721         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1722         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1723         definition and define its own.
1724         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1725         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1726         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1727         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1728         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1729         definitions to common header.
1730         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1731         operation from ipc_ops.h.
1733         * sysdeps/unix/sysv/linux/kernel-features.h
1734         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1735         * sysdeps/unix/sysv/linux/i386/kernel-features.h
1736         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1737         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1738         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1739         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1740         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1741         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1742         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1743         * sysdeps/unix/sysv/linux/s390/kernel-features.h
1744         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1745         * sysdeps/unix/sysv/linux/sh/kernel-features.h
1746         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1747         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1748         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1750 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1752         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1753         overflow in pointer addition.
1755 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1757         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1758         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1759         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1760         (strchr): Add __strchr_power8 to list of strchr functions.
1761         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1762         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1763         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1764         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1765         (strchr): Add __strchr_power8 to ifunc list.
1766         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1767         (__strchrnul): Add __strchrnul_power8 to ifunc list.
1768         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
1769         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
1771 2016-12-28  Florian Weimer  <fweimer@redhat.com>
1773         * support/Makefile (libsupport-routines): Add
1774         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
1775         (tests): Add tst-support_record_failure.
1776         (tests-special): tst-support_record_failure-2.
1777         (tst-support_record_failure-2.out): Depend on
1778         tst-support_record_failure-2.sh and tst-support_record_failure.
1779         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
1780         (support_test_verify_impl, support_record_failure)
1781         (support_report_failure, support_report_failure_reset): Declare.
1782         * support/support_test_main.c (adjust_exit_status): New function.
1783         (support_test_main): Call it to incorporate record test failures.
1784         * support/support_test_verify_impl.c: New file.
1785         * support/support_record_failure.c: Likewise.
1786         * support/tst-support_record_failure.c: Likewise.
1787         * support/tst-support_record_failure-2.sh: Likewise.
1788         * support/xunistd.h: Likewise.
1789         * support/xfork.c: Likewise.
1790         * support/xwaitpid.c: Likewise.
1792 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
1794         * scripts/check-c++-types.sh: Add comments.
1796 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
1798         [BZ #19514]
1799         * resolv/res_send.c: Fix typo in comment.
1800         * sysdeps/i386/i386-mcount.S: Likewise.
1801         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
1802         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1803         * sysdeps/sparc/sparc-mcount.S: Likewise.
1805 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1807         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
1808         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
1809         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
1810         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
1811         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
1812         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
1813         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
1814         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
1816 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1818         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
1820 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1822         [BZ #17252]
1823         * posix/unistd.h (getentropy): Declare.
1825 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1827         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
1828         Remove.
1829         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
1830         (cmd): Remove spoof, nospoof, spoofalert.
1831         (parse_line): Ignore spoof-related lines.
1832         (do_init): Do not process RESOLV_SPOOF_CHECK.
1834 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1836         [BZ #20964]
1837         sunrpc: Always obtain AF_INET addresses from NSS.
1838         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
1839         * sunrpc/rpc_gethostbyname.c: New file.
1840         * sunrpc/Makefile (routines): Add it.
1841         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
1842         * sunrpc/clnt_simp.c (callrpc): Likewise.
1843         * sunrpc/getrpcport.c (getrpcport): Likewise.
1845 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1847         * sunrpc/rpcinfo.c: Remove.
1848         * sunrpc/Makefile: Remove comments referring to rpcinfo.
1850 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1852         [BZ# 19387]
1853         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
1854         addition.
1855         * string/test-memchr.c (do_test): Remove alignment limitation.
1856         (test_main): Add test that trigger BZ# 19387.
1858 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1860         [BZ #7065]
1861         Enable stack protectore if requested by ./configure.
1862         * Makeconfig (+stack-protector): New variable.
1863         (+cflags): Use it.
1865 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1867         [BZ #7065]
1868         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
1869         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
1870         (__rt_sigreturn_stub): Use inhibit_stack_protector.
1871         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
1872         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
1874 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1876         [BZ #7065]
1877         * login/Makefile (pt_chown-cflags): Remove.
1878         * nscd/Makefile (CFLAGS-nscd): Likewise.
1879         * resolv/Makefile (CFLAGS-libresolv): Likewise.
1881 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1883         [BZ #7065]
1884         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
1885         non-libc-linking testcase.
1887 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1888             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1889             Florian Weimer  <fweimer@redhat.com>
1891         [BZ #7065]
1892         PLT avoidance for __stack_chk_fail*.
1893         * debug/Makefile (CFLAGS-stack_chk_fail.c)
1894         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
1895         * debug/stack_chk_fail.c (__stack_chk_fail): Add
1896         __stack_chk_fail_local alias.
1897         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
1898         (__stack_chk_fail): Turn into hidden reference to
1899         __stack_chk_fail_local.
1901 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1903         [BZ #7065]
1904         * configure.ac: Add check for unsupported stack-protection level.
1905         (libc_cv_predef_stack_protector): Remove.
1906         (no_ssp): New variable.
1907         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
1908         (stack_protector): Set to -fno-stack-protector similarly.
1909         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
1910         (libc_cv_asm_set_directive): Likewise.
1911         (libc_cv_protected_data): Likewise.
1912         (libc_cv_z_combreloc): Likewise.
1913         (libc_cv_hashstyle): Likewise.
1914         (libc_cv_has_glob_dat): Likewise.
1915         (libc_cv_output_format): Likewise.
1916         (libc_cv_output_format): Likewise.
1917         (libc_cv_ehdr_start): Likewise.
1918         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
1919         (LIBC_LINKER_FEATURE): Likewise.
1920         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
1922 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1924         [BZ #7065]
1925         * elf/Makefile (dummy-stack-chk-fail): New.
1926         (librtld.map): Use it.
1928 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1930         [BZ #7065]
1931         Compile the dynamic linker without stack protection.
1932         * elf/Makefile (elide-stack-protector): New.
1933         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
1934         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
1935         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
1936         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
1938 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1940         [BZ #7065]
1941         * config.make.in (have-ssp, no-stack-protector): New.
1942         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
1943         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
1944         (CFLAGS-sbrk.op): Likewise.
1945         (CFLAGS-brk.o): Likewise.
1946         (CFLAGS-brk.op): Likewise.
1947         * string/Makefile (CFLAGS-memcpy.c): Likewise.
1948         (CFLAGS-wordcopy.c): Likewise.
1950 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1952         [BZ #7065]
1953         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
1954         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
1955         * include/libc-symbols.h (inhibit_stack_protector): New macro.
1956         (__ifunc_resolver): Use it.
1957         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
1958         inhibit_stack_protector.
1959         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
1960         * elf/ifuncmain7.c (foo_ifunc): Likewise.
1961         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
1962         (foo_protected_ifunc): Likewise.
1963         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
1964         (foo_protected_ifunc): Likewise.
1965         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1966         * sysdeps/nacl/nacl_interface_query.c
1967         (nacl_interface_query_ifunc): Likewise.
1968         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
1969         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
1970         Likewise.
1971         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
1972         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
1973         the generated vDSO syscall resolver.
1975 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1976             Florian Weimer  <fweimer@redhat.com>
1978         [BZ #7065]
1979         Initialize the stack guard earlier when linking statically.
1980         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
1981         (__pthread_initialize_minimal): Declare.
1982         * csu/libc-start.c (__pthread_initialize_minimal): Remove
1983         declaration.
1984         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
1985         stack canary and apply_irel initialization up.  Call
1986         __pthread_initialize_minimal only if linked in.
1987         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
1988         constant values.
1989         (__pthread_initialize_minimal): Remove.
1990         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
1991         (__pthread_initialize_minimal_internal): Do not call
1992         __libc_setup_tls.
1994 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
1996         [BZ #7065]
1997         * configure.ac (libc_cv_ssp): Move up.
1998         (libc_cv_ssp_strong): Likewise.
1999         (libc_cv_ssp_all): New.
2000         (stack_protector): Augment, adding -fstack-protector-all.
2001         (no_stack_protector): New.
2002         (STACK_PROTECTOR_LEVEL): New.
2003         (AC_ARG_ENABLE(stack-protector)): New configure flag.
2004         * manual/install.texi (--enable-stack-protector): Document it.
2005         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2007 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
2009         * README.pretty-printers: Must specify CPPFLAGS-* also.
2010         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2011         (CPPFLAGS-test-mutex-printers.c): Define.
2012         (CPPFLAGS-test-condattr-printers.c): Define.
2013         (CPPFLAGS-test-cond-printers.c): Define.
2014         (CPPFLAGS-test-rwlockattr-printers.c): Define.
2015         (CPPFLAGS-test-rwlock-printers.c): Define.
2017         * nss/Makefile [ifeq (yes,$(have-thread-library))]
2018         (tests): Add tst-cancel-getpwuid_r.
2019         * nss/tst-cancel-getpwuid_r.c: New file.
2021         [BZ #11941]
2022         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2023         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2024         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2025         tst-nodelete-dlclose.
2026         (modules-names): Add tst-nodelete-dlclose-dso and
2027         tst-nodelete-dlclose-plugin.
2028         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2029         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2030         ($(objpfx)tst-nodelete-dlclose): Define.
2031         ($(objpfx)tst-nodelete-dlclose.out): Define.
2033 2016-12-23  Florian Weimer  <fweimer@redhat.com>
2035         * scripts/test_printers_common.py: Log GDB output in case of
2036         Python detection failure.
2038 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2040         * configure.ac: Check for python3 or python.
2041         * configure: Regenerated.
2042         * config.make.in (PYTHON): New variable.
2043         * benchtests/Makefile: Don't define PYTHON.
2044         (bench): Define target only if PYTHON was defined.
2045         * Rules: Don't define PYTHON.
2046         Define pretty printer targets only if PYTHON was defined.
2047         (tests-printers): Add to tests-unsupported if PYTHON is not
2048         found.
2049         (python-flags, python-invoke): Remove.
2050         (tests-printers-out): Use PYTHON instead of python-invoke.
2052 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2054         [BZ #20978]
2055         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2056         Compare name == NULL, not name != NULL.
2058         * manual/texinfo.tex: Update to version 2016-09-18.18 with
2059         trailing whitespace removed.
2060         * scripts/config.guess: Update to version 2016-10-02.
2061         * scripts/config.sub: Update to version 2016-11-19.
2062         * scripts/install-sh: Update to version 2016-01-11.22.
2063         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2064         * scripts/move-if-change: Update to version 2016-01-11 22:04.
2066 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
2068         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2069         (do_one_test) Restore original string so iteration works.
2070         * string/string-inlines.c (do_test): Create better input strings.
2071         (test_main) Reduce number of testruns.
2072         * string/string-inlines.c (__old_strsep_1c): New function.
2073         (__old_strsep_2c): Likewise.
2074         (__old_strsep_3c): Likewise.
2075         * string/strsep.c (__strsep): Remove case of small delim string.
2076         Call strcspn directly rather than strpbrk.
2077         * string/bits/string2.h (__strsep): Remove define.
2078         (__strsep_1c): Remove.
2079         (__strsep_2c): Remove.
2080         (__strsep_3c): Remove.
2081         (strsep): Remove.
2082         * sysdeps/unix/sysv/linux/internal_statvfs.c
2083         (__statvfs_getflags): Rename to __strsep.
2085 2016-12-21  Florian Weimer  <fweimer@redhat.com>
2087         * csu/libc-tls.c (_dl_tls_setup): Remove.
2088         * elf/dl-tls.c (_dl_tls_setup): Likewise.
2089         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2090         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2092 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2094         [BZ #7065]
2095         * sysdeps/x86_64/Makefile [$(subdir) = elf]
2096         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2098 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2099             Florian Weimer  <fweimer@redhat.com>
2101         [BZ #7065]
2102         * csu/Makefile (tests): Empty assignment and document it.
2103         (tests-static): Remove.
2104         * csu/tst-empty.c: Move to...
2105         * misc/tst-empty.c: ... here.  Switch to new test driver.
2106         * csu/tst-atomic.c: Move to...
2107         * misc/tst-atomic.c: ... here.  Switch to new test driver.
2108         * csu/tst-atomic-long.c: Move to...
2109         * misc/tst-atomic-long.c: ... here.
2110         * misc/Makefile (tests): Add tst-empty, tst-atomic,
2111         tst-atomic-long.
2112         (tests-static): Add tst-empty.
2114 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
2116         * manual/nss.texi: Change incorrect @vtable to @table.
2117         * manual/arith.texi: Convert @tables of variables to @vtables
2118         and remove unnecessary indexing.
2119         * manual/filesys.texi: Likewise.
2120         * manual/llio.texi: Likewise.
2121         * manual/memory.texi: Likewise.
2122         * manual/process.texi: Likewise.
2123         * manual/resource.texi: Likewise.
2124         * manual/search.texi: Likewise.
2125         * manual/signal.texi: Likewise.
2126         * manual/socket.texi: Likewise.
2127         * manual/stdio.texi: Likewise.
2128         * manual/sysinfo.texi: Likewise.
2129         * manual/syslog.texi: Likewise.
2130         * manual/terminal.texi: Likewise.
2131         * manual/time.texi: Likewise.
2132         * manual/users.texi: Likewise.
2134 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2136         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2137         (roundeven): New declaration.
2138         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2139         macro.
2140         * math/Versions (roundeven): New libm symbol at version
2141         GLIBC_2.25.
2142         (roundevenf): Likewise.
2143         (roundevenl): Likewise.
2144         * math/Makefile (libm-calls): Add s_roundevenF.
2145         * math/libm-test.inc (roundeven_test_data): New array.
2146         (roundeven_test): New function.
2147         (main): Call roundeven_test.
2148         * math/test-tgmath.c (NCALLS): Increase to 134.
2149         (F(compile_test)): Call roundeven.
2150         (F(roundeven)): New function.
2151         * manual/arith.texi (Rounding Functions): Document roundeven,
2152         roundevenf and roundevenl.
2153         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2154         * include/math.h (roundeven): Use libm_hidden_proto.
2155         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2156         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2157         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2158         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2159         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2160         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2161         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2162         roundeven.
2163         (CFLAGS-nldbl-roundeven.c): New variable.
2164         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2165         * sysdeps/nacl/libm.abilist: Update.
2166         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2167         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2168         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2169         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2170         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2171         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2172         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2173         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2174         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2175         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2176         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2177         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2179         Likewise.
2180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2181         Likewise.
2182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2183         Likewise.
2184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2185         Likewise.
2186         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2187         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2188         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2189         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2190         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2192         Likewise.
2193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2194         Likewise.
2195         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2196         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2197         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2199 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2201         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2202         preprocessor indentation inside #if.
2204 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2206         * math/libm-test.inc (fmt_ftostr): New function.
2207         (print_float, check_float_internal): Replace some uses of
2208         FTOSTR with uses of fmt_ftostr.
2209         (print_max_error, print_complex_max_error, print_function_ulps)
2210         (print_complex_function_ulps): Remove uses of the macros
2211         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2212         * math/test-double.h (FTOSTR): Define to strfromd.
2213         (PRINTF_EXPR): Delete.
2214         (PRINTF_XEXPR): Likewise.
2215         (PRINTF_NEXPR): Likewise.
2216         * math/test-float.h (FTOSTR): Define to strfromf.
2217         (PRINTF_EXPR): Delete.
2218         (PRINTF_XEXPR): Likewise.
2219         (PRINTF_NEXPR): Likewise.
2220         * math/test-ldouble.h (FTOSTR): Define to strfroml.
2221         (PRINTF_EXPR): Delete.
2222         (PRINTF_XEXPR): Likewise.
2223         (PRINTF_NEXPR): Likewise.
2225 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2227         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2228         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2229         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2230         (__lll_lock_elision): Decrement adapt_count while unlocking
2231         instead of before locking.
2232         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2233         (__lll_trylock_elision): Likewise.
2234         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2235         (__lll_unlock_elision): Likewise.
2237 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2239         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2240         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2241         Use __libc_tbegin_retry macro.
2243 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2245         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2246         Add -msoft-float.
2247         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2248         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2249         Use __libc_t* transaction macros instead of __builtin_t*.
2250         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2251         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2253 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2255         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2256         (__lll_lock_elision): Use atomics to load / store adapt_count.
2257         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2258         (__lll_trylock_elision): Likewise.
2260 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2262         Do not require memset elimination in explicit_bzero test.
2263         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2264         (enum test_expectation): Add NO_EXPECTATIONS.
2265         (subtests): NO_EXPECTATIONS for ordinary clear.
2266         (check_test_buffer): Handle NO_EXPECTATIONS.
2267         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2269 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2271         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2272         (fmaxmag): New declaration.
2273         (fminmag): Likewise.
2274         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2275         macro.
2276         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2277         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2278         (fmaxmagf): Likewise.
2279         (fmaxmagl): Likewise.
2280         (fminmag): Likewise.
2281         (fminmagf): Likewise.
2282         (fminmagl): Likewise.
2283         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2284         * math/s_fmaxmag_template.c: New file.
2285         * math/s_fminmag_template.c: Likewise.
2286         * math/libm-test.inc (fmaxmag_test_data): New array.
2287         (fmaxmag_test): New function.
2288         (fminmag_test_data): New array.
2289         (fminmag_test): New function.
2290         (main): Call fmaxmag_test and fminmag_test.
2291         * math/test-tgmath.c (NCALLS): Increase to 132.
2292         (F(compile_test)): Call fmaxmag and fminmag.
2293         (F(fminmag)): New function.
2294         (F(fmaxmag)): Likewise.
2295         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2296         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2297         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2298         fminmag.
2299         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2300         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2301         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2302         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2303         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2304         and fminmag.
2305         (CFLAGS-nldbl-fmaxmag.c): New variable.
2306         (CFLAGS-nldbl-fminmag.c): Likewise.
2307         * sysdeps/nacl/libm.abilist: Update.
2308         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2309         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2310         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2311         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2312         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2313         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2314         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2315         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2316         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2317         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2318         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2319         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2321         Likewise.
2322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2323         Likewise.
2324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2325         Likewise.
2326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2327         Likewise.
2328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2329         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2330         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2332         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2334         Likewise.
2335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2336         Likewise.
2337         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2338         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2339         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2341 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2343         [BZ #20973]
2344         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2345         wake-up in robust mutexes.
2346         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2348 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2350         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2351         (CFLAGS-bench-fmaxf.c): New rule.
2352         (CFLAGS-bench-fminf.c): Likewise.
2353         * benchtests/fmaxf-inputs: New file.
2354         * benchtests/fminf-inputs: Likewise.
2356         * benchtests/Makefile (bench-math): Add fmin and fmax.
2357         (CFLAGS-bench-fmax.c): New rule.
2358         (CFLAGS-bench-fmin.c): Likewise.
2359         * benchtests/fmax-inputs: New file.
2360         * benchtests/fmin-inputs: Likewise.
2362         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2363         parenthesis.
2364         (CMDLINE_PROCESS): Define using function instead of macro.
2365         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2366         of test-skeleton.
2367         * benchtests/bench-memchr.c: Likewise.
2368         * benchtests/bench-memcmp.c: Likewise.
2369         * benchtests/bench-memcpy-large.c: Likewise.
2370         * benchtests/bench-memcpy.c: Likewise.
2371         * benchtests/bench-memmem.c: Likewise.
2372         * benchtests/bench-memmove-large.c: Likewise.
2373         * benchtests/bench-memmove.c: Likewise.
2374         * benchtests/bench-memset-large.c: Likewise.
2375         * benchtests/bench-memset.c: Likewise.
2376         * benchtests/bench-rawmemchr.c: Likewise.
2377         * benchtests/bench-strcasecmp.c: Likewise.
2378         * benchtests/bench-strcasestr.c: Likewise.
2379         * benchtests/bench-strcat.c: Likewise.
2380         * benchtests/bench-strchr.c: Likewise.
2381         * benchtests/bench-strcmp.c: Likewise.
2382         * benchtests/bench-strcpy.c: Likewise.
2383         * benchtests/bench-strcpy_chk.c: Likewise.
2384         * benchtests/bench-strlen.c: Likewise.
2385         * benchtests/bench-strncasecmp.c: Likewise.
2386         * benchtests/bench-strncmp.c: Likewise.
2387         * benchtests/bench-strncpy.c: Likewise.
2388         * benchtests/bench-strnlen.c: Likewise.
2389         * benchtests/bench-strpbrk.c: Likewise.
2390         * benchtests/bench-strrchr.c: Likewise.
2391         * benchtests/bench-strsep.c: Likewise.
2392         * benchtests/bench-strspn.c: Likewise.
2393         * benchtests/bench-strstr.c: Likewise.
2394         * benchtests/bench-strtok.c: Likewise.
2396 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2398         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2399         stepping identification.
2400         (init_cpu_features): Add handle of Haswell.
2402 2016-11-25  Jim Meyering  <meyering@fb.com>
2404         [BZ #20386]
2405         Let gcc detect assert(a = 1) errors.
2406         * assert/assert.h (assert): Rewrite, retaining the old definintion
2407         when required, but otherwise putting the expression as-is in an "if"
2408         expression (hence, with no added parentheses) within a statement
2409         expression.
2411 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2413         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2414         DSO.
2416 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2418         * Rules (python-flags, python-invoke): New.
2419         ($(test-printers-out)): Use $(python-flags).
2421 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2423         * manual/arith.texi (Math Error Reporting): Document that sNaN
2424         arguments are not considered domain errors.
2426 2016-12-16  Zack Weinberg <zackw@panix.com>
2427             Florian Weimer <fweimer@redhat.com>
2428             Nick Mathewson <nickm@torproject.org>
2430         * string/explicit_bzero.c: New routine.
2431         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2432         * string/Makefile (routines, strop-tests, tests): Add them.
2433         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2434         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2436         * debug/explicit_bzero_chk.c: New routine.
2437         * debug/Makefile (routines): Add it.
2438         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2439         * string/bits/string3.h: Fortify explicit_bzero.
2441         * manual/string.texi: Document explicit_bzero.
2442         * NEWS: Mention addition of explicit_bzero.
2444         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2445         data before returning, using explicit_bzero.
2446         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2447         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2448         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2450         * include/string.h: Redirect internal uses of explicit_bzero
2451         to __explicit_bzero_chk[_internal].
2452         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2453         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2454         * sysdeps/arm/nacl/libc.abilist
2455         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2456         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2457         * sysdeps/unix/sysv/linux/arm/libc.abilist
2458         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2459         * sysdeps/unix/sysv/linux/i386/libc.abilist
2460         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2461         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2462         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2463         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2464         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2465         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2466         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2467         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2468         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2473         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2474         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2475         * sysdeps/unix/sysv/linux/sh/libc.abilist
2476         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2477         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2478         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2479         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2480         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2481         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2482         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2483         Add entries for explicit_bzero and __explicit_bzero_chk.
2485 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2487         * math/fenv.h
2488         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2489         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2490         * math/test-fe-snans-always-signal.c: New file.
2491         * math/Makefile (tests): Add test-fe-snans-always-signal.
2492         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2493         * manual/arith.texi (Infinity and NaN): Document
2494         FE_SNANS_ALWAYS_SIGNAL.
2496 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2498         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2499         bracket.
2501 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2503         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2504         before calling execv.
2506 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2508         [BZ# 20971]
2509         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2510         overflow in pointer addition.
2511         * string/test-memchr.c (do_test): Add an argument to pass as
2512         the size on memchr.
2513         (test_main): Add check for SIZE_MAX.
2515 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2517         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2518         (libm-calls): Add w_scalblnF.
2519         * math/w_scalbln.c: Remove.
2520         * math/w_scalblnf.c: Likewise.
2521         * math/w_scalblnl.c: Likewise.
2522         * math/w_scalbln_template.c: New file with type-generic
2523         implementation based on math/w_scalbln.c.
2524         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2525         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2527 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2529         [BZ #20947]
2530         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2531         either is a signaling NaN.
2532         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2533         follow fmaxl more closely.
2534         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2535         when either is a signaling NaN.
2536         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2537         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2538         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2539         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2540         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2541         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2542         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2543         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2544         (fmin_test_data): Likewise.
2546 2016-12-15  Andreas Schwab  <schwab@suse.de>
2548         * support/support_test_main.c (support_test_main): Don't shadow
2549         file-local variable test_pid.
2551 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2553         [BZ #20947]
2554         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2555         either is a signaling NaN.
2556         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2558 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2560         [BZ #20947]
2561         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2562         when either is a signaling NaN.
2563         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2565         * bits/long-double.h: New file.
2566         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2567         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2568         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2569         * sysdeps/mips/bits/long-double.h: Likewise.
2570         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2571         * math/Makefile (headers): Add bits/long-double.h.
2572         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2573         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2574         <bits/wordsize.h>.
2575         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2576         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2577         * math/math.h: Do not include <bits/mathdef.h>.
2578         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2579         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2580         inclusion.
2581         * sysdeps/ia64/bits/mathdef.h: Remove file.
2582         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2583         * sysdeps/mips/bits/mathdef.h: Likewise.
2584         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2585         * sysdeps/s390/bits/mathdef.h: Likewise.
2586         * sysdeps/sparc/bits/mathdef.h: Likewise.
2587         * sysdeps/x86/bits/mathdef.h: Likewise.
2588         * sysdeps/s390/s390-32/bits/wordsize.h
2589         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2590         conditional code.
2591         * sysdeps/s390/s390-64/bits/wordsize.h
2592         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2593         Likewise.
2594         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2595         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2596         Likewise.
2597         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2598         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2599         Likewise.
2600         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2601         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2602         Likewise.
2604         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2605         <linux/falloc.h>.
2606         (FALLOC_FL_KEEP_SIZE): Remove.
2607         (FALLOC_FL_PUNCH_HOLE): Likewise.
2608         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2609         (FALLOC_FL_ZERO_RANGE): Likewise.
2611 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2613         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2615 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2617         * sysdeps/unix/sysv/linux/renameat.c: New file.
2618         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2620         * sysdeps/unix/sysv/linux/rename.c: New file.
2621         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2623 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2625         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2626         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2627         * string/strtok_r.c (__strtok_r): Optimize for performance.
2628         * string/string-inlines.c (__old_strtok_r_1c): New function.
2629         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2631 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2633         * math/Makefile (gen-libm-calls): Add w_log1pF.
2634         (libm-calls): Remove w_log1pF.
2635         * math/w_log1p.c: Remove.
2636         * math/w_log1pf.c: Likewise.
2637         * math/w_log1pl.c: Likewise.
2638         * math/w_log1p_template.c: New file with type-generic
2639         implementation based on math/w_log1p.c.
2640         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2641         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2643 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2645         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2647 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2649         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2650         kernel version to 4.9.
2652 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2654         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2655         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2657 2016-12-13  Andreas Schwab  <schwab@suse.de>
2659         * sysdeps/powerpc/dl-procinfo.c: Don't define
2660         _dl_powerpc_platforms.
2661         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2662         constants instead of referencing _dl_powerpc_platforms.
2663         (_dl_platform_string): Remove.
2665 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2667         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2669 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2671         * Rules (binaries-shared-tests, binaries-pie-tests)
2672         (binaries-static-tests): Link with $(link-extra-libs-tests).
2673         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2674         Remove $(link-extra-libs-tests).
2676 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2678         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2679         (sysdep_routines): Add strncmp_power9.
2680         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2681         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2682         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2683         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2684         (strncmp): Add __strncmp_power9 to ifunc list.
2685         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2687 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2689         [BZ #17252]
2690         Add getentropy, getrandom.
2691         * stdlib/sys/random.h: New file.
2692         (headers): Add it.
2693         * stdlib/Makefile (routines): Add getentropy, getrandom.
2694         (tests): Add tst-getrandom.
2695         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2696         * stdlib/getentropy.c: New file.
2697         * stdlib/getrandom.c: Likewise.
2698         * stdlib/tst-getrandom.c: Likewise.
2699         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2700         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2701         * manual/crypt.texi (Unpredictable Bytes): New section.
2702         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2703         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2704         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2705         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2706         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2707         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2708         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2709         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2710         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2711         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2712         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2713         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2714         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2715         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2716         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2717         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2719         Likewise.
2720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2721         Likewise.
2722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2724         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2725         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2726         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2727         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2728         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2731         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2732         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2733         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2735 2016-12-10  Florian Weimer  <fweimer@redhat.com>
2737         [BZ #20956]
2738         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2739         as additional compiler barriers.
2740         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2741         (fn2, do_test): Declare with external linkage.
2742         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2743         (do_test): Declare with external linkage.
2744         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2745         (do_test): Declare with external linkage.
2746         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2747         (do_test): Declare with external linkage.
2749 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
2751         * support/support_test_main.c (support_test_main): Use correct
2752         timeout.
2754 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
2755             Florian Weimer  <fweimer@redhat.com>
2757         [BZ #16421]
2758         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2759         and __u6_addr32 members.
2760         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2761         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2762         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2763         Use __u6_addr32.
2764         * inet/tst-checks.c: Use <support/test-driver.c>
2765         * inet/tst-checks-posix.c: New file.
2766         * inet/Makefile (tests): Add it.
2767         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2769 2016-12-09  Florian Weimer  <fweimer@redhat.com>
2771         New subdirectory support for build and test infrastructure.
2772         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
2773         setting install-lib.
2774         * Makeconfig (link-extra-libs-tests): Define.
2775         (+link-pie-tests, +link-static-tests, +link-tests): Use
2776         link-extra-libs-tests.
2777         (rpath-dirs, all-subdirs): Add support.
2778         (built-modules): Add libsupport.
2779         (libsupport): Define.
2780         * support: New directory.
2781         * support/Makefile: New file.
2782         * support/check.c: Likewise.
2783         * support/check.h: Likewise.
2784         * support/delayed_exit.c: Likewise.
2785         * support/ignore_stderr.c: Likewise.
2786         * support/oom_error.c: Likewise.
2787         * support/set_fortify_handler.c: Likewise.
2788         * support/support.h: Likewise.
2789         * support/temp_file-internal.h: Likewise.
2790         * support/temp_file.c: Likewise.
2791         * support/test-driver.c: Likewise.
2792         * support/test-driver.h: Likewise.
2793         * support/test_main.c: Likewise.
2794         * support/write_message.c: Likewise.
2795         * support/xasprintf.c: Likewise.
2796         * support/xcalloc.c: Likewise.
2797         * support/xmalloc.c: Likewise.
2798         * support/xpthread_barrier_destroy.c: Likewise.
2799         * support/xpthread_barrier_init.c: Likewise.
2800         * support/xpthread_barrier_wait.c: Likewise.
2801         * support/xpthread_cancel.c: Likewise.
2802         * support/xpthread_check_return.c: Likewise.
2803         * support/xpthread_cond_wait.c: Likewise.
2804         * support/xpthread_create.c: Likewise.
2805         * support/xpthread_detach.c: Likewise.
2806         * support/xpthread_join.c: Likewise.
2807         * support/xpthread_mutex_lock.c: Likewise.
2808         * support/xpthread_mutex_unlock.c: Likewise.
2809         * support/xpthread_sigmask.c: Likewise.
2810         * support/xpthread_spin_lock.c: Likewise.
2811         * support/xpthread_spin_unlock.c: Likewise.
2812         * support/xrealloc.c: Likewise.
2813         * support/xsignal.h: Likewise.
2814         * support/xthread.h: Likewise.
2815         * support_tempfile.h: Likewise.
2816         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
2817         (TEST_DATA_LIMIT): Remove unused macro.
2818         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
2819         <support/check.h>.
2820         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
2821         (ignore_stderr, set_fortify_handler): Remove.  Now in
2822         <support/support.h>.
2823         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
2824         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
2825         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
2826         (xpthread_join): Remove.  Now in <support/xthread.h>.
2827         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
2828         Introduce legacy wrappers.
2829         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
2830         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
2831         (write_message): Remove.
2832         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
2833         test-skeleton.c.
2834         * io/test-open-tmpfile: Likewise.
2835         * io/tst-posix_fallocate-common.c: Likewise.
2836         * libio/tst-fseek.c: Likewise.
2837         * malloc/tst-malloc-backtrace.c: Likewise.
2838         * malloc/tst-malloc-fork-deadlock.c: Likewise.
2839         * malloc/tst-malloc-thread-exit.c: Likewise.
2840         * nptl/tst-cancel7.c: Likewise.
2841         * nptl/tst-cleanup0.c: Likewise.
2842         * posix/tst-posix_fadvise-common.c: Likewise.
2843         * rt/tst-shm.c: Likewise.
2844         * time/bug-getdate1.c: Likewise.
2845         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
2846         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
2847         * elf/Makefile (tst-piemod1.so): Link against libsupport.
2849 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
2851         * Rules [$(run-built-tests) != no] (tests-expected): Add
2852         $(tests-printers).
2853         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
2855 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
2857         [BZ #20539]
2858         * math/Makefile (install-lib-ldscripts): Add libm.a.
2859         (install_subdir): Remove.
2860         (install-others): Add.
2861         ($(inst_libdir)/libm.a): Add rule for installation as
2862         linker script.
2863         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
2865 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
2867         * INSTALL: Regenerated.
2868         * Makeconfig: Add comments and whitespace to make the control flow
2869         clearer.
2870         (+link-printers-tests, +link-pie-printers-tests,
2871         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
2872         built-rtld-LDFLAGS, link-libc-rpath,
2873         link-libc-tests-after-rpath-link,
2874         link-libc-printers-tests): New.
2875         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
2876         link-libc-tests): Use the new variables as required.
2877         * Makerules ($(py-const)): New rule.
2878         generated: Add $(py-const).
2879         * README.pretty-printers: New file.
2880         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
2881         (others): Depend on $(py-const).
2882         (tests): Depend on $(tests-printers-programs) or
2883         $(tests-printers-out),
2884         as required.  Pass $(tests-printers) to merge-test-results.sh.
2885         * manual/install.texi: Add requirements for testing the pretty
2886         printers.
2887         * nptl/Makefile (gen-py-const-headers, pretty-printers,
2888         tests-printers, CFLAGS-test-mutexattr-printers.c
2889         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
2890         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
2891         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
2892         * nptl/nptl-printers.py: New file.
2893         * nptl/nptl_lock_constants.pysym: Likewise.
2894         * nptl/test-cond-printers.c: Likewise.
2895         * nptl/test-cond-printers.py: Likewise.
2896         * nptl/test-condattr-printers.c: Likewise.
2897         * nptl/test-condattr-printers.py: Likewise.
2898         * nptl/test-mutex-printers.c: Likewise.
2899         * nptl/test-mutex-printers.py: Likewise.
2900         * nptl/test-mutexattr-printers.c: Likewise.
2901         * nptl/test-mutexattr-printers.py: Likewise.
2902         * nptl/test-rwlock-printers.c: Likewise.
2903         * nptl/test-rwlock-printers.py: Likewise.
2904         * nptl/test-rwlockattr-printers.c: Likewise.
2905         * nptl/test-rwlockattr-printers.py: Likewise.
2906         * scripts/gen-py-const.awk: Likewise.
2907         * scripts/test_printers_common.py: Likewise.
2908         * scripts/test_printers_exceptions.py: Likewise.
2910 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2912         * scripts/build-many-glibcs.py (Context.__init__): Take strip
2913         argument.
2914         (Glibc.build_glibc): Strip installed shared libraries if
2915         requested.
2916         (get_parser): Add --strip option.
2917         (main): Update Context call.
2919 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2920             Dominik Vogt  <vogt@linux.vnet.ibm.com>
2922         [BZ #20847]
2923         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
2924         array bounds for else branch.
2925         (__execvpe): Style fixes.
2926         * posix/tst-vfork3.c (run_script): New function.
2927         (create_script): Likewise.
2928         (do_test): Use run_script internal function.
2929         (do_prepare): Use create_script internal function.
2931 2016-12-07  Andreas Schwab  <schwab@suse.de>
2933         * sysdeps/unix/sysv/linux/x86/elision-conf.h
2934         (__elision_available): Don't declare.
2935         * sysdeps/unix/sysv/linux/x86/elision-conf.c
2936         (__elision_available): Don't define.
2937         (elision_init): Don't set __elision_available.
2939 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
2941         [BZ #20940]
2942         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
2943         return Inf for arguments Inf and sNaN.
2944         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
2945         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
2946         Likewise.
2947         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
2948         Likewise.
2949         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
2950         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
2951         for arguments Inf and sNaN.  When returning a NaN, compute it by
2952         arithmetic on the arguments.
2953         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
2954         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
2955         arguments.
2957 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
2959         [BZ #20916]
2960         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
2961         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
2962         to compute result.
2963         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2964         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
2966 2016-12-05  Torvald Riegel  <triegel@redhat.com>
2968         * include/atomic.h (__atomic_check_size_ls): New.
2969         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
2970         atomic_store_release): Use it.
2971         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
2972         (elision_adapt, ELIDE_LOCK): Use atomics.
2973         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
2974         atomics and improve code comments.
2975         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
2976         (__lll_trylock_elision): Likewise.
2978 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2980         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
2981         programs.
2983 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
2985         [BZ #20916]
2986         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
2987         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
2988         arguments to compute result.
2989         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
2990         1 for arguments (sNaN, 0) or (1, sNaN).
2991         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
2992         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2994         [BZ #20919]
2995         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
2996         NaN first argument when raised to power 0.
2997         * math/w_pow.c (__pow): Do not check for NaN or zero results from
2998         raising to power zero.
2999         * math/w_powf.c (__powf): Likewise.
3000         * math/w_powl.c (__powl): Likewise.
3001         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3002         pow (0, 0) or pow (NaN, 0).
3004 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
3006         [BZ #20918]
3007         * configure.ac: Test for static NSS cryptographic libraries and set
3008         libc_cv_static_nss_crypt.
3009         * configure: Regenerate.
3010         * config.make.in (static-nss-crypt): Define.
3011         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3012         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3013         (CFLAGS-tst-linkall-static.c): Define.
3014         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3015         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3016         ($(objpfx)tst-linkall-static): Define.
3017         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3018         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3020 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3022         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3023         (one-hundred, tst-tls-many-dynamic-modules): Define.
3024         (modules-names): Add $(tst-tls-many-dynamic-modules).
3025         (tst-tls-manydynamic%mod.os): Build with special preprocessor
3026         macros.
3027         (tst-tls-manydynamic): Link against libdl, libpthread.
3028         (tst-tls-manydynamic.out): The test needs the test modules at run
3029         time.
3030         * elf/tst-tls-manydynamic.c: New file.
3031         * elf/tst-tls-manydynamic.h: Likewise.
3032         * elf/tst-tls-manydynamicmod.c: Likewise.
3034 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3036         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3037         (TLS_DTV_UNALLOCATED): Add.
3038         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3039         offsets.
3041 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3043         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3045 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3047         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3048         Add -fno-optimize-sibling-calls.
3050 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3052         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3053         New declaration.
3054         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3055         macro.
3056         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3057         New macro.
3058         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3059         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3060         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3061         (llogbf): Likewise.
3062         (llogbl): Likewise.
3063         * math/Makefile (gen-libm-calls): Add w_llogbF.
3064         (tests): Add test-fp-llogb-constants.
3065         * math/w_llogb_template.c: New file.  Based on
3066         math/w_ilogb_template.c.
3067         * math/libm-test.inc (llogb_test_data): New array.
3068         (llogb_test): New function.
3069         (main): Call llogb_test.
3070         * math/test-fp-llogb-constants.c: New file.  Based on
3071         math/test-fp-ilogb-constants.c.
3072         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3073         (do_test): Call check_return_llogb.
3074         * math/test-tgmath.c (NCALLS): Increase to 126.
3075         (F(compile_test)): Call llogb.
3076         (F(llogb)): New function.
3077         * manual/math.texi (Exponents and Logarithms): Document llogb,
3078         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3079         * manual/libm-err-tab.pl (@all_functions): Add llogb.
3080         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3081         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3082         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3083         (CFLAGS-nldbl-llogb.c): New variable.
3084         * sysdeps/nacl/libm.abilist: Update.
3085         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3086         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3087         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3088         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3089         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3090         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3091         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3092         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3093         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3094         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3095         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3096         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3098         Likewise.
3099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3100         Likewise.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3102         Likewise.
3103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3104         Likewise.
3105         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3106         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3107         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3108         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3111         Likewise.
3112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3113         Likewise.
3114         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3115         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3116         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3118 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3120         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3121         _Float128 instead of long double.
3122         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3124         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3125         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3126         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3127         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3128         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3129         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3130         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3131         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3132         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3133         Likewise.
3135 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3137         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3138         Remove redirection to __strrchr_ppc.
3140 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3142         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3143         (sysdep_routines): Add strcmp_power9.
3144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3145         (strcmp): Add __strcmp_power9 to list of strcmp functions.
3146         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3147         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3148         (strcmp): Add __strcmp_power9 to ifunc list.
3149         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3151 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3153         * bits/fp-logb.h: New file.
3154         * sysdeps/ia64/bits/fp-logb.h: Likewise.
3155         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3156         * sysdeps/x86/bits/fp-logb.h: Likewise.
3157         * math/Makefile (headers): Add bits/fp-logb.h.
3158         * math/math.h: Include <bits/fp-logb.h>.
3159         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3160         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3161         * bits/mathdef.h (FP_ILOGB0): Remove.
3162         (FP_ILOGBNAN): Likewise.
3163         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3164         (FP_ILOGBNAN): Likewise.
3165         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3166         (FP_ILOGBNAN): Likewise.
3167         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3168         (FP_ILOGBNAN): Likewise.
3169         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3170         (FP_ILOGBNAN): Likewise.
3171         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3172         (FP_ILOGBNAN): Likewise.
3173         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3174         (FP_ILOGBNAN): Likewise.
3175         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3176         (FP_ILOGBNAN): Likewise.
3177         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3178         (FP_ILOGBNAN): Likewise.
3179         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3180         (FP_ILOGBNAN): Likewise.
3182         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
3183         time module.
3184         (Context.__init__): Initialize self.logsdir_old.
3185         (Context.run_builds): Handle bot action.
3186         (Context.bot_cycle): Copy logs directory before running builds.
3187         (Context.bot_run_self): Take argument for whether to check
3188         subprocess result.  Flush stdout before running subprocess.
3189         (Context.bot): New function.
3190         (get_parser): Allow bot action.
3192 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
3194         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3195         Import email.mime.text, email.utils and smtplib modules.
3196         (Context.__init__): Initialize self.bot_config_json.
3197         (Context.run_builds): Handle bot-cycle action.
3198         (Context.load_bot_config_json): New function.
3199         (Context.part_build_old): Likewise.
3200         (Context.bot_cycle): Likewise.
3201         (Context.bot_build_mail): Likewise.
3202         (Context.bot_run_self): Likewise.
3203         (get_parser): Allow bot-cycle action.
3205 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3208         Remove redirection to __stpcpy_ppc.
3210 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3212         Remove __libc_memalign from ld.so because it is unused.
3213         * elf/dl-minimal.c: Update comment on the malloc implementation.
3214         (malloc): Renamed from __libc_memalign, replacing the original
3215         malloc implementation.  Replace the align parameter with
3216         MALLOC_ALIGNMENT.
3217         * elf/Versions (ld): Update comment and remove __libc_memalign.
3218         * sysdeps/nacl/ld.abilist: Likewise.
3219         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3220         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3221         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3222         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3223         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3224         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3225         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3226         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3227         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3228         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3229         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3230         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3231         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3235         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3236         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3237         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3238         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3239         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3241         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3242         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3243         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3244         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3245         * sysdeps/generic/localplt.data (ld.so): Likewise.
3246         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3247         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3248         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3249         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3250         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3251         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3252         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3253         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3254         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3256         (ld.so): Likewise.
3257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3258         (ld.so): Likewise.
3259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3260         Likewise.
3261         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3262         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3263         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3264         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3265         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3267 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3269         [BZ #16628]
3270         Implement _dl_catch_error, _dl_signal_error in libc.so.
3271         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3272         (catch_hook): Define as thread-local or regular variable,
3273         depending on DL_ERROR_BOOTSTRAP.
3274         (CATCH_HOOK): Remove.
3275         (dl_signal_error, _dl_catch_error): Use
3276         catch_hook.  Add hidden definition for libc.
3277         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3278         for DL_ERROR_BOOTSTRAP only.
3279         * elf/dl-error.c: New file.
3280         * elf/dl-error-minimal.c: Likewise.
3281         * elf/tst-latepthread.c: Likewise.
3282         * elf/tst-latepthreadmod.c: Likewise.
3283         * elf/Makefile (routines): Add dl-error.
3284         (dl-routines): Remove dl-error.
3285         (rtld-routines): Add dl-error-minimal.
3286         [build-shared] (tests): Add tst-latepthread.
3287         (module-names): Add tst-latepthreadmod.
3288         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3289         symbol.
3290         (tst-latepthreadmod.so): Link against libpthread.
3291         (tst-latepthread): Link against libdbl.
3292         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3293         _dl_catch_error.
3294         [ld] (GLIBC_PRIVATE): Likewise.
3295         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3296         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3297         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3298         directly.
3299         * elf/dl-tsd.c: Remove file.
3300         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3301         _dl_catch_error, _dl_signal_error.
3302         (_dl_initial_error_catch_tsd): Remove definition.
3303         (do_preload): Remove initialization of dl_error_catch_tsd.
3304         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3305         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3306         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3307         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3308         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3309         set dl_error_catch_tsd.
3310         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3311         _dl_error_catch_tsd member.
3312         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3313         members.
3314         (_dl_initial_error_catch_tsd): Remove declaration.
3315         (_dl_dprintf): Provide definition for use outside of ld.so.
3316         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3317         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3318         prototype for libc.
3319         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3320         _dl_catch_error.
3321         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3322         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3323         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3324         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3325         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3326         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3327         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3328         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3329         Likewise.
3330         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3332         (ld.so): Likewise.
3333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3334         (ld.so): Likewise.
3335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3336         Likewise.
3337         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3338         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3339         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3340         Likewise.
3341         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3342         Likewise.
3343         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3345 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3347         [BZ #4099]
3348         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3349         _IO_BUFSIZ (8192).
3351 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3353         * PROJECTS: Remove file.
3355 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3357         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3359 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3360             Steve Ellcey  <sellcey@caviumnetworks.com>
3362         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3363         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3364         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3365         fxstatat.
3366         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3367         lxstat.
3368         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3369         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3370         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3371         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3372         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3373         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3374         __xstat.
3376 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3378         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3379         Define.
3380         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3381         definition.
3383 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3385         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3386         version and turn into strong alias.  Remove compat symbol.
3388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3389         (__longjmp): Remove.
3391 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3393         * bits/fp-fast.h: New file.
3394         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3395         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3396         * math/Makefile (headers): Add bits/fp-fast.h.
3397         * math/math.h: Include <bits/fp-fast.h>.
3398         * bits/mathdef.h (FP_FAST_FMA): Remove.
3399         (FP_FAST_FMAF): Likewise.
3400         (FP_FAST_FMAL): Likewise.
3401         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3402         (FP_FAST_FMAF): Likewise.
3403         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3404         (FP_FAST_FMAF): Likewise.
3405         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3406         (FP_FAST_FMAF): Likewise.
3407         (FP_FAST_FMAL): Likewise.
3408         * sysdeps/arm/bits/mathdef.h: Remove file.
3409         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3410         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3411         * sysdeps/tile/bits/mathdef.h: Likewise.
3413 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3415         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3416         * math/w_ilogb.c: Remove.
3417         * math/w_ilogbf.c: Likewise.
3418         * math/w_ilogbl.c: Likewise.
3419         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3420         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3421         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3422         (libm-calls): Remove w_ilogbF.
3423         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3424         (LDOUBLE_ilogbl_libm_version): New macro.
3426         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3428         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3429         [!__STRICT_ANSI__ && !__cplusplus].
3431 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3433         [BZ #20750]
3434         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3435         of PIC.
3437 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3438             Yury Norov  <ynorov@caviumnetworks.com>
3439             Steve Ellcey  <sellcey@caviumnetworks.com>
3441         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3442         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3443         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3444         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3445         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3446         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3447         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3448         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3449         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3450         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3451         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3452         to get correct reg name for ILP32.
3453         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3454         (RELA_SIZE): New Macro.
3455         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3456         to support ILP32.
3457         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3458         cast for ILP32 mode.
3459         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3460         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3461         * sysdeps/aarch64/memset.S (__memset): Ditto.
3462         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3463         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3464         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3465         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3466         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3467         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3468         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3469         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3470         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3471         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3472         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3473         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3474         change PTR_MANGLE call to use register numbers instead of names.
3475         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3476         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3477         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3478         * sysdeps/aarch64/start.S (_start): Ditto.
3479         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3480         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3481         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3482         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3483         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3484         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3485         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3486         Make defined values dependent on __ILP32__.
3487         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3488         (sem_t): Change __align type.
3489         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3490         PTR_SIZE): New Macros.
3491         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3492         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3493         Set when in ILP32 mode.
3494         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3495         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3496         Set elf flags for ILP32.
3497         (add_system_dir): Set ILP32 library directories.
3498         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3499         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3500         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3501         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3502         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3503         New Macros.
3504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3506 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3508         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3509         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3510         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3512 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3514         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3515         <asm/cachectl.h>.
3517 2016-11-27  Zack Weinberg  <zackw@panix.com>
3519         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3520         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3522 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3524         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3525         error_t to fix usage in C++ programs.
3527 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3529         * scripts/build-many-glibcs.py: Import datetime module.
3530         (Context.__init__): Load JSON build state.  Initialize list of
3531         status logs.
3532         (Context.run_builds): Update saved build state.
3533         (Context.add_makefile_cmdlist): Update list of status logs.
3534         (Context.load_build_state_json): New function.
3535         (Context.store_build_state_json): Likewise.
3536         (Context.clear_last_build_state): Likewise.
3537         (Context.update_build_state): Likewise.
3538         (CommandList.status_logs): Likewise.
3540 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3542         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3543         script being executed.
3544         (Context.get_script_text): New function.
3545         (Context.exec_self): Likewise.
3546         (Context.checkout): Re-exec script if changed by checkout process.
3548 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3550         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3551         (setpayloadsig): New declaration.
3552         * math/Versions (setpayloadsig): New libm symbol at version
3553         GLIBC_2.25.
3554         (setpayloadsigf): Likewise.
3555         (setpayloadsigl): Likewise.
3556         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3557         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3558         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3559         (setpayloadsig_test_data): New array.
3560         (setpayloadsig_test): New function.
3561         (main): Call setpayloadsig_test.
3562         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3563         setpayloadsigf and setpayloadsigl.
3564         * manual/libm-err-tab.pl: Update comment on interfaces without
3565         ulps tabulated.
3566         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3567         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3568         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3569         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3570         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3571         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3572         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3573         setpayloadsig.
3574         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3575         * sysdeps/nacl/libm.abilist: Update.
3576         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3577         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3578         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3579         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3580         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3581         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3582         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3583         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3584         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3585         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3586         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3587         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3589         Likewise.
3590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3591         Likewise.
3592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3593         Likewise.
3594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3595         Likewise.
3596         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3597         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3598         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3599         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3600         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3602         Likewise.
3603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3604         Likewise.
3605         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3606         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3607         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3609         * scripts/build-many-glibcs.py: Import json module.
3610         (Context.__init__): Take replace_sources argument.  Load
3611         versions.json.
3612         (Context.load_versions_json): New function.
3613         (Context.store_json): Likewise.
3614         (Context.store_versions_json): Likewise.
3615         (Context.set_component_version): Likewise.
3616         (Context.checkout): Update versions.json.  Check for and handle
3617         changes of version.  Prefer previously explicitly specified
3618         version to default version.
3619         (Context.checkout_vcs): Return a revision identifier.
3620         (Context.git_checkout): Likewise.
3621         (Context.gcc_checkout): Likewise.
3622         (get_parser): Add --replace-sources option.
3623         (main): Pass replace_sources argument to Context call.
3625 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3627         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3628         * nptl/allocatestack.c (allocate_stack): Likewise.
3629         (__reclaim_stacks): Likewise.
3630         (setxid_signal_thread): Obtain pid through syscall.
3631         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3632         (sighandle_setxid): Likewise.
3633         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3634         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3635         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3636         Likewise.
3637         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3638         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3639         comment.
3640         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3641         * nptl/descr.h (struct pthread): Change comment about pid value.
3642         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3643         pid assert.
3644         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3645         Do not set pid value.
3646         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3647         pid cache check.
3648         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3649         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3650         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3651         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3652         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3653         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3654         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3655         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3656         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3657         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3658         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3659         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3660         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3661         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3662         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3663         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3664         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3665         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3666         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3667         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3668         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3669         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3670         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3671         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3672         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3675         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3676         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3677         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3678         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3679         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3680         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3681         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3682         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3683         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3684         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3685         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3686         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3687         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3688         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3689         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3690         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3693         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3694         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3695         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3696         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3697         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3698         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3699         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3700         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3701         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3702         struct access.
3703         (clone_test): Remove function.
3704         (do_test): Rewrite to take in consideration pid is not cached anymore.
3706 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3708         * bits/flt-eval-method.h: New file.
3709         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3710         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3711         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3712         * math/Makefile (headers): Add bits/flt-eval-method.h.
3713         * math/math.h: Include <bits/flt-eval-method.h>.
3714         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3715         [__USE_ISOC99] (double_t): Likewise.
3716         * bits/mathdef.h (float_t): Remove.
3717         (double_t): Likewise.
3718         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3719         (double_t): Likewise.
3720         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3721         (double_t): Likewise.
3722         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3723         (double_t): Likewise.
3724         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3725         (double_t): Likewise.
3726         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3727         (double_t): Likewise.
3728         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3729         (double_t): Likewise.
3730         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3731         (double_t): Likewise.
3732         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3733         (double_t): Likewise.
3734         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3735         (double_t): Likewise.
3736         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3737         (double_t): Likewise.
3738         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3739         (double_t): Likewise.
3740         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3741         (double_t): Likewise.
3742         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3743         (double_t): Likewise.
3745 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
3747         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3748         instead of PIC.
3750 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3752         [BZ #20859]
3753         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3754         (-0x7fffffff) instead of 0x80000001.
3755         * math/test-fp-ilogb-constants.c: New file.
3756         * math/Makefile (tests): Add test-fp-ilogb-constants.
3758 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
3760         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3761         (_init): Use it in place of hardcoded R_MIPS_JALR.
3762         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3763         (_init): Use it in place of hardcoded R_MIPS_JALR.
3764         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3765         (_init): Use it in place of hardcoded R_MIPS_JALR.
3767 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3769         [BZ #20787]
3770         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
3771         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
3772         (double_t): Do not define to double if [__x86_64__] when
3773         __FLT_EVAL_METHOD__ is nonzero.
3774         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
3775         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
3776         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3777         test-flt-eval-method-387 and test-flt-eval-method-sse.
3778         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
3779         variable.
3780         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
3782 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
3784         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
3785         use of -fno-isolate-erroneous-paths options for tilepro.
3787 2016-11-23  Florian Weimer  <fweimer@redhat.com>
3789         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
3790         structure initialization is no longer needed.
3792 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
3794         [BZ #20855]
3795         * bits/mathdef.h (float_t): Define to float.
3796         * math/test-flt-eval-method.c: New file.
3797         * math/Makefile (tests): Add test-flt-eval-method.
3798         (CFLAGS-test-flt-eval-method.c): New variable.
3800 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
3802         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
3803         and __fstatfs.  Make them aliases of __fstatfs64 if
3804         STATFS_IS_STATFS64 is set to non-zero.
3805         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
3806         and __statfs64.
3807         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
3808         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
3809         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
3810         for __statfs and statfs.
3811         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
3812         to 0.
3813         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
3814         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
3815         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
3816         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3817         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3818         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
3821         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
3822         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3823         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
3824         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
3826 2016-11-22  Andreas Schwab  <schwab@suse.de>
3828         * misc/mkstemp.c: Include <fcntl.h>.
3829         * misc/mkstemps.c: Likewise.
3830         * misc/mkostemp.c: Likewise.
3831         * misc/mkostemps.c: Likewise.
3833 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
3835         [BZ #20847]
3836         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3837         array bounds.
3838         (__execvpe): Likewise.
3840 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
3842         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
3843         -fno-isolate-erroneous-paths options for tilepro.
3845 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
3847         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
3848         to 0 when in 32 bit mode.
3849         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
3850         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
3851         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
3852         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
3853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
3854         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
3855         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
3856         XSTAT_IS_XSTAT64 test.
3857         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
3858         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
3859         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
3860         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
3861         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
3862         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
3863         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
3864         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
3865         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
3866         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
3867         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
3869 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
3871         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3872         (setpayload): New declaration.
3873         * math/Versions (setpayload): New libm symbol at version
3874         GLIBC_2.25.
3875         (setpayloadf): Likewise.
3876         (setpayloadl): Likewise.
3877         * math/Makefile (libm-calls): Add s_setpayloadF.
3878         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
3879         test_Ff_b1_data.
3880         (RUN_TEST_Ff_b1): New macro.
3881         (RUN_TEST_LOOP_Ff_b1): Likewise.
3882         (canonicalize_test_data): Update type.
3883         (setpayload_test_data): New array.
3884         (setpayload_test): New function.
3885         (main): Call setpayload_test.
3886         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
3887         setpayloadf and setpayloadl.
3888         * manual/libm-err-tab.pl: Update comment on interfaces without
3889         ulps tabulated.
3890         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
3891         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
3892         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
3893         Likewise.
3894         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
3895         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
3896         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
3897         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
3898         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
3899         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
3900         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
3901         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
3902         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
3903         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3904         setpayload.
3905         (CFLAGS-nldbl-setpayload.c): New variable.
3906         * sysdeps/nacl/libm.abilist: Update.
3907         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3910         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3911         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3913         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3916         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3917         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3918         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3920         Likewise.
3921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3922         Likewise.
3923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3924         Likewise.
3925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3926         Likewise.
3927         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3928         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3929         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3930         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3931         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3932         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3933         Likewise.
3934         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3935         Likewise.
3936         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3937         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3938         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3940 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3942         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
3943         * include/unistd.h: Extend comment about __access_noerrno return
3944         semantics.
3945         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
3946         (access_common): Correct typo for EACCES.
3948 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
3950         * sysdeps/tile/math-tests.h: New file.
3952         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
3953         (__old_set_dataplane): Rename from set_dataplane and make a
3954         compatibility symbol.
3955         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
3956         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
3957         sys/dataplane.h.
3959 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
3961         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
3962         script quote words in command output to log suitably for input to
3963         the shell.
3965 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
3966             Maciej W. Rozycki  <macro@imgtec.com>
3968         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
3969         `.Lno_weak_fn' label.
3970         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
3971         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
3973 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3974             Yury Norov  <ynorov@caviumnetworks.com>
3976         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
3977         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
3978         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3979         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
3980         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3981         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
3982         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3983         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
3984         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3985         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
3986         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
3987         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
3988         (sysdep_routines): Remove oldgetrlimit64.
3989         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
3990         (sysdep_routines): Likewise.
3991         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
3992         (sysdep_routines): Likewise.
3993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3994         [$(subdir) = resource] (sysdep_routines): Likewise.
3995         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3996         [$(subdir) = resource] (sysdep_routines): Likewise.
3997         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
3998         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
3999         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4000         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4001         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4002         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4003         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4004         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4005         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4006         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4007         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4008         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4009         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4010         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4011         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4012         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4013         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4014         setrlimit and getrlimit.
4015         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4016         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4017         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4020         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4022         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4023         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4024         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4025         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4026         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4027         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4028         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4029         (__old_getrlimit64): Add compatibility symbol.
4030         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4032 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
4034         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4035         newly built gmp, mpfr and mpc.
4037         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4039 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4041         * conform/Makefile (linknamespace-libs): Rename to
4042         linknamespace-libs-thr.
4043         (linknamespace-libs-posix): New variable.
4044         (linknamespace-libs-xsi): Likewise.
4045         (linknamespace-libs-XPG3): Include libcrypt.a.
4046         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4047         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4048         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4049         (linknamespace-libs-XOPEN2K): Likewise.
4050         (linknamespace-libs-XOPEN2K8): Likewise.
4051         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4053         [BZ #20829]
4054         * stdio-common/Versions (__snprintf): Add to version
4055         GLIBC_PRIVATE.
4056         * include/stdio.h (__snprintf): Use libc_hidden_proto.
4057         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4058         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4059         of snprintf.
4060         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4062 2016-11-16  Zack Weinberg  <zackw@panix.com>
4064         * string/string.h: Remove obsolete comment stating that
4065         strcoll_l and strxfrm_l have not yet been standardized.
4067 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4069         * hurd/hurd.h (__hurd_fail_noerrno): New function.
4070         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4071         __access_noerrno.
4072         * io/access.c (__access_noerrno): New function.
4073         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4074         (hurd_fail_seterrno): Likewise.
4075         (access_common): Likewise.
4076         (__access_noerrno): Likewise.
4077         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4078         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4079         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4080         macro.
4082 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4084         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4085         Only declare fpregs if [__SH_FPU_ANY__].
4087 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
4089         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4090         Make code unconditional.
4091         [!(__SH4__ || __SH4A__)]: Remove conditional code.
4093 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
4095         * manual/sysinfo.texi (S_APPEND): Delete.
4096         (S_IMMUTABLE): Likewise.
4098 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
4099             Magnus Granberg  <zorry@gentoo.org>
4100             Mike Frysinger  <vapier@gentoo.org>
4102         [BZ #20662]
4103         * configure.ac (libc_cv_predef_stack_protector): Also check for
4104         __stack_chk_fail_local symbols.
4105         * configure: Regenerated.
4107 2016-11-15  Florian Weimer  <fweimer@redhat.com>
4109         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4110         (libc_hidden_def): Remove redefinition.
4111         (__sigsetjmp): Add hidden definition.
4112         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4113         (libc_hidden_def): Remove redefinition.
4114         (__sigsetjmp): Add hidden definition.
4116 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
4118         * scripts/build-many-glibcs.py (os.path): Do not import.
4119         (Context): Inherit explicitly from object.  Remove blank line
4120         between class and docstring.
4121         (Config): Likewise.
4122         (Glibc): Likewise.
4123         (Command): Likewise.
4124         (CommandList): Likewise.
4125         (Context.write_files): Store chmod mode in a variable.
4127         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4128         LIBC_SLIBDIR_RTLDDIR for tilegx32.
4129         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4131 2016-11-14  Zack Weinberg  <zackw@panix.com>
4133         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4134         creating or re-creating it.
4136         * string/bits/string2.h: Fix typo in comment.
4138 2016-11-14  Zack Weinberg  <zackw@panix.com>
4140         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4141         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4142         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4143         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4144         of redirected function names.
4146         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4147         as well.  Document that MESSAGE must be a single string literal.
4149 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
4151         * scripts/build-many-glibcs.py: New file.
4153         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4154         (do_test): Disable -Wmaybe-uninitialized around uses of
4155         except_mask.
4157         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4159 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
4161         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4162         (atomic_store_release): Provide tilepro-specific implementations.
4164 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
4166         * math/math.h (__MATH_TG): New macro.
4167         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4168         [__USE_ISOC99] (signbit): Likewise.
4169         [__USE_ISOC99] (isfinite): Likewise.
4170         [__USE_ISOC99] (isnan): Likewise.
4171         [__USE_ISOC99] (isinf): Likewise.
4172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4173         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4174         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4175         __MATH_TG and __MATH_EVAL_FMT2.
4176         * sysdeps/generic/math_private.h (fabs_tg): Define using
4177         __MATH_TG.
4178         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4179         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4180         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4181         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4182         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4183         macro.
4184         (__iscanonical): Likewise.
4185         (iscanonical): Define using __MATH_TG.
4187 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4189         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4190         guards.
4192         * sysdeps/unix/sysv/linux/access.c: New file.
4193         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4195 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
4197         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4198         and __WORDSIZE32_PTRDIFF_LONG.
4200 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4202         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4204 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4206         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4207         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4208         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4209         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4210         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4212         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4213         * sysdeps/unix/sysv/linux/truncate.c: New file.
4214         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4215         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4216         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4217         Remove.
4218         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4219         Likewise.
4221         * posix/tst-truncate-common.c: New file.
4222         * posix/tst-truncate.c: Use tst-truncate-common.c.
4223         * posix/tst-truncate64.c: Likewise and add LFS tests.
4224         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4225         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4226         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4227         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4228         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4230         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4231         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4232         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4233         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4234         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4235         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4236         Remove.
4237         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4238         Likewise.
4240 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4242         [BZ #20790]
4243         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4244         to MAXLINESIZE.
4245         * sunrpc/bug20790.x: New file.
4246         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4247         variable.
4248         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4249         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4251         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4253         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4255         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4256         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4257         calloc, realloc, free, memalign and __libc_memalign rather than
4258         making them optional.
4260         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4261         for libc.so.
4263 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4265         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4266         ptw-lseek64.
4267         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4268         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4269         Likewise.
4270         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4271         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4272         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4273         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4274         * sysdeps/unix/sysv/linux/lseek.c: New file.
4275         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4276         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4277         __libc_lseek64 from auto-generation.
4278         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4279         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4281 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4283         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4284         * nptl/tst-cleanup1.c (do_test): Likewise.
4285         * nptl/tst-cleanup3.c (do_test): Likewise.
4286         * nptl/tst-key1.c (do_test): Likewise.
4287         * nptl/tst-key2.c (tf, do_test): Likewise.
4288         * nptl/tst-key3.c (tf, do_test): Likewise.
4289         * nptl/tst-stdio1.c (do_test): Likewise.
4290         * nptl/tst-stdio2.c (do_test): Likewise.
4292         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4293         * nptl/tst-kill6.c (handler): Likewise.
4294         * nptl/tst-tls2.c (CB): Likewise.
4295         * nptl/tst-tls3.c (CB): Likewise.
4297 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4299         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4301 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4302             Steve Ellcey  <sellcey@caviumnetworks.com>
4304         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4305           __ASSUME_ST_INO_64_BIT as 0
4306         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4307         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4308           over the code where __ASSUME_ST_INO_64_BIT is used.
4309         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4310         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4311         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4313 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4315         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4316         Document ABI exposure of the __kind offset.
4317         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4318         Mention reason for the __kind offset exposure in the ABI.
4319         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4320         Likewise.
4321         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4322         Likewise.
4323         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4324         Likewise.
4325         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4326         (struct __pthread_mutex_s): Likewise.
4327         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4328         Likewise.
4329         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4330         Likewise.
4331         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4332         Likewise.
4333         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4334         Likewise.
4335         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4336         Likewise.
4337         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4338         Likewise.
4339         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4340         (struct __pthread_mutex_s): Likewise.
4341         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4342         (struct __pthread_mutex_s): Likewise.
4343         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4344         Likewise.
4346 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4348         * test-skeleton.c: Document do_test usage.
4350 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4352         * iconv/gconv.h (__gconv_info): Define __data element using a
4353         zero-length array.
4355 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4357         * math/test-tgmath2.c: Split up test function.
4359 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4361         * Rules (tests-expected): New variable, depending on
4362         $(run-built-tests).
4363         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4364         $(tests).
4366         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4367         $(tests-unsupported).
4369 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4371         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4372         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4374 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4376         [BZ #20768]
4377         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4378         __fegetenv instead of fegetenv.
4380         [BZ #14139]
4381         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4382         (find_files): Obtain platform name from libm-test-ulps-name and
4383         store in %pplatforms.
4384         (canonicalize_platform): Remove.
4385         (print_platforms): Use $pplatforms directly.
4386         (by_platforms): Do not allow for platforms missing from
4387         %pplatforms.
4388         * sysdeps/aarch64/libm-test-ulps-name: New file.
4389         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4390         * sysdeps/arm/libm-test-ulps-name: Likewise.
4391         * sysdeps/generic/libm-test-ulps-name: Likewise.
4392         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4393         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4394         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4395         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4396         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4397         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4398         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4399         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4400         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4401         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4402         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4403         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4404         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4405         * sysdeps/sh/libm-test-ulps-name: Likewise.
4406         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4407         * sysdeps/tile/libm-test-ulps-name: Likewise.
4408         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4410         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4412         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4413         (test-xfail-check-execstack): New variable.
4415         * sysdeps/mips/localplt.data: New file.
4417 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4418             Steve Ellcey  <sellcey@caviumnetworks.com>
4420         * bits/wordsize.h: Add documentation.
4421         * sysdeps/aarch64/bits/wordsize.h : New file
4422         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4423         definitions.
4424         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4425         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4426         with #if instead of #ifdef.
4427         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4428         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4429         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4430         Add or change defines.
4431         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4432         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4433         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4434         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4435         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4436         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4437         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4438         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4439         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4440         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4441         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4442         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4443         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4444         * sysdeps/x86/bits/wordsize.h: Likewise.
4446 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4447             Kevin Petit  <kevin.petit@arm.com>
4449         * sysdeps/aarch64/memchr.S (__memchr): New file.
4451 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4453         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4455 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4457         [BZ #19398]
4458         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4459         $(linknamespace-symlists-tests).
4461 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4463         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4465 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4466             Carlos O'Donell  <carlos@redhat.com>
4468         [Bug #20729]
4469         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4470         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4471         for -Os related change.
4473 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4475         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4477 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4479         [BZ #19673]
4480         * manual/math.texi (Exponents and Logarithms): Correct description
4481         of clog10.
4483 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4485         [Bz #20729]
4486         * locale/weight.h: Include libc-internal.h.
4487         * locale/weightwc.h: Likewise.
4488         * nptl/nptl_dbP.h: Likewise.
4490 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4492         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4493         when it is MACH_PORT_NULL.
4495 2016-10-31  Andreas Schwab  <schwab@suse.de>
4497         [BZ #20707]
4498         * posix/glob.c (glob): Initialize pglob before checking for
4499         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4500         valid brace expression despite GLOB_BRACE.
4501         * posix/globtest.sh: Test it.
4503 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4505         [BZ #20729]
4506         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4507         Define.
4508         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4509         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4510         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4511         for seq2.back_us and seq1.back_us only for -Os compiles.
4512         * locale/weightwc.h (findix): Likewise.
4513         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4514         DB_GET_FIELD_ADDRESS only for -Os compiles.
4515         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4516         for slen only for -Os compiles.
4517         * string/strcoll_l.c (get_next_seq): Ignore
4518         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4519         for -Os compiles.
4521         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4522         * include/crypt.h: New file.
4524 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4526         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4527         from test-skeleton.c.
4528         (statclass): Replace calls to write with calls to write_message.
4530 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4532         * math/math.h
4533         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4534         New macro.
4535         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4536         Likewise.
4537         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4538         Likewise.
4539         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4540         SNANL.
4541         * math/test-double.h (snan_value_MACRO): New macro.
4542         * math/test-float.h (snan_value_MACRO): Likewise.
4543         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4544         * math/libm-test.inc (issignaling_test_data): Add tests of
4545         snan_value_MACRO.
4547 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4549         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4550         behavior when eliding a lock not held by the current thread.
4551         * sysdeps/powerpc/nptl/elide.h: Likewise.
4553 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4555         [BZ #20728]
4556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4557         branch to _exit() by a function call.
4559 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4561         * malloc/malloc.c: Update chunk layout comments.
4562         (chunk_main_arena): Update comment.
4564 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4566         * crypt/sha256.c, crypt/sha256-block.c,
4567         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4568         sha256_process_block to __sha256_process_block.
4569         * crypt/sha512.c, crypt/sha512-block.c,
4570         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4571         sha512_process_block to __sha512_process_block.
4573 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4575         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4577         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4579 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4581         [BZ #20019]
4582         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4583         definition in unrelocated shared library.
4584         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4586 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4588         [BZ #20729]
4589         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4590         * sysdeps/unix/sysv/linux/i386/Makefile
4591         (uses-6-syscall-arguments): Define.
4592         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4593         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4594         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4595         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4596         Likewise.
4597         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4598         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4599         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4600         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4601         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4602         (CFLAGS-fallocate64.os): Likewise.
4603         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4604         (CFLAGS-pthread_rwlock_timedrdlock.os)
4605         (CFLAGS-pthread_rwlock_timedwrlock.o)
4606         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4607         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4608         (CFLAGS-sem_timedwait.os): Likewise.
4610 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4612         * elf/tst-linkall-static.c: New file.
4613         * elf/Makefile (tests-static): Add tst-linkall-static.
4614         (tst-linkall-static): Link against static libraries.
4616 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4618         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4619         mmaped chunks.
4621 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4623         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4624         members to mchunk_prev_size, mchunk_size.
4625         (chunk_main_arena): Reverse sense and rename from
4626         chunk_non_main_arena.
4627         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4628         mchunk_size instead of size.
4629         (set_non_main_arena): Define.
4630         (chunksize): Use chunksize_nomask instead of direct member access.
4631         (chunksize_nomask): Define.
4632         (next_chunk): Use chunksize instead of direct member access.
4633         (prev_size, set_prev_size): Define.
4634         (prev_chunk): Use prev_size instead of direct member access.
4635         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4636         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4637         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4638         (mchunk_prev_size, mchunk_size): Poison tokens.
4639         (unlink): Use chunksize_nomask, prev_size accessors.
4640         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4641         (do_check_free_chunk): Use prev_size accessor.
4642         (sysmalloc): Use set_prev_size, set_head accessors.
4643         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4644         (__libc_free): Use chunksize_nomask accessor.
4645         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4646         chunk_main_arena accessors.
4647         (_int_free): Use chunksize_nomask, prev_size accessors.
4648         (malloc_consolidate): Use chunksize, prev_size accessors.
4649         (_int_realloc): Use chunksize_nomask accessor.
4650         (_int_memalign): Use set_prev_size accessor.
4651         (__malloc_info): Use chunksize_nomask accessor.
4652         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4653         accessors.
4654         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4655         (heap_trim): Use chunksize_nomask, prev_size accessors.
4657 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4659         [BZ #19380]
4660         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4661         for inexact results.
4662         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4663         of inexact result where mpfr_subnormalize is the only inexact
4664         step.
4665         * stdlib/tst-strtod-round-data.h: Regenerated.
4666         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4667         Define to 0.
4668         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4670 2016-10-27  David S. Miller  <davem@davemloft.net>
4672         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4674 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4676         * malloc/malloc.c (do_set_mallopt_check): New function.
4677         (do_set_mmap_threshold): Likewise.
4678         (do_set_mmaps_max): Likewise.
4679         (do_set_top_pad): Likewise.
4680         (do_set_perturb_byte): Likewise.
4681         (do_set_trim_threshold): Likewise.
4682         (do_set_arena_max): Likewise.
4683         (do_set_arena_test): Likewise.
4684         (__libc_mallopt): Use them.
4686 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4688         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4689         (canonicalize): New declaration.
4690         * math/Versions (canonicalize): New libm symbol at version
4691         GLIBC_2.25.
4692         (canonicalizef): Likewise.
4693         (canonicalizel): Likewise.
4694         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4695         * math/s_canonicalize_template.c: New file.
4696         * math/libm-test.inc: Update comment on functions tested and
4697         testing of NaN payloads.
4698         (TEST_NAN_PAYLOAD): New macro.
4699         (NO_TEST_INLINE): Update value.
4700         (XFAIL_TEST): Likewise.
4701         (ERRNO_UNCHANGED): Likewise.
4702         (ERRNO_EDOM): Likewise.
4703         (ERRNO_ERANGE): Likewise.
4704         (IGNORE_RESULT): Likewise.
4705         (NON_FINITE): Likewise.
4706         (TEST_SNAN): Likewise.
4707         (NO_TEST_MATHVEC): Likewise.
4708         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4709         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4710         (struct test_Ffp_b1_data): New type.
4711         (RUN_TEST_Ffp_b1): New macro.
4712         (RUN_TEST_LOOP_Ffp_b1): Likewise.
4713         (canonicalize_test_data): New array.
4714         (canonicalize_test): New function.
4715         (main): Call canonicalize_test.
4716         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4717         canonicalizef and canonicalizel.
4718         * manual/libm-err-tab.pl: Update comment on interfaces without
4719         ulps tabulated.
4720         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4721         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4722         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4723         canonicalize.
4724         (CFLAGS-nldbl-canonicalize.c): New variable.
4725         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4726         to ...
4727         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4728         ... here.
4729         (do_test): Also test canonicalizel.
4730         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4731         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4732         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4733         file.
4734         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4735         Use libm_hidden_def.
4736         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4737         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4738         (do_test): Also test canonicalizel.
4739         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4740         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4741         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4742         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4743         libm_hidden_def.
4744         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4745         macro.
4746         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4747         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4748         * sysdeps/nacl/libm.abilist: Update.
4749         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4750         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4751         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4752         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4753         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4754         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4755         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4756         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4757         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4758         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4759         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4760         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4762         Likewise.
4763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4764         Likewise.
4765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4766         Likewise.
4767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4768         Likewise.
4769         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4770         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4771         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4772         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4773         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4775         Likewise.
4776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4777         Likewise.
4778         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4779         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4780         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4782         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
4783         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4784         getpayload.
4785         (CFLAGS-nldbl-getpayload.c): New variable.
4787 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4789         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
4790         integer from the format string.
4792 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4794         [BZ #19473]
4795         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
4796         declarations.
4797         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
4798         weak aliases.
4799         * malloc/hooks.c (__malloc_get_state): Remove definition.
4800         (malloc_get_state): New stub implementation as
4801         compatibility symbol.
4802         (malloc_set_state): Rename from __malloc_set_state.  Turn into
4803         compat symbol.
4804         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
4805         malloc_set_state.
4806         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
4808 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4810         * iconvdata/iso646.c (enum variant): Drop illegal_var.
4811         (names): Turn into concatenation of strings.
4812         (gconv_init): Adapt iteration over names.
4814 2016-10-26  Florian Weimer  <fweimer@redhat.com>
4816         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
4817         make const.
4818         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
4819         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
4820         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
4821         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
4822         character in sbconv.
4823         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
4824         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
4825         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
4827 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4829         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
4831         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
4832         (M_TRIM_THRESHOLD): Likewise.
4834         * manual/memory.texi (M_ARENA_TEST): Add documentation.
4835         (M_ARENA_MAX): Likewise.
4836         * malloc/malloc.c: Remove obsolete comment.
4838         * manual/memory.texi: Add environment variable alternatives to
4839         setting mallopt parameters.
4841 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
4843         * include/atomic.h
4844         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
4845         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
4847 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4849         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
4850         * stdlib/tst-strfrom.h: New file.
4851         * stdlib/tst-strfrom.c: New file.
4852         * stdlib/tst-strfrom-locale.c: New file.
4854         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
4855         * stdlib/bug-strtod2.c: Likewise.
4856         * stdlib/tst-strtod-round-skeleton.c: Likewise.
4857         * stdlib/tst-strtod6.c: Likewise.
4858         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
4860 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4862         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
4863         * manual/arith.texi: Document strfromd, strfromf, strfroml.
4864         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
4865         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
4866         * stdlib/stdlib.h (strfromd): New declaration.
4867         (strfromf): Likewise.
4868         (strfroml): Likewise.
4869         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
4870         strfrom.
4871         * stdlib/strfromd.c: New file.
4872         * stdlib/strfromf.c: Likewise.
4873         * stdlib/strfroml.c: Likewise.
4874         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
4875         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
4876         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
4877         * sysdeps/arm/nacl/libc.abilist: Update.
4878         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
4879         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4880         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
4881         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4882         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4883         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4884         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4885         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4886         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4887         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4888         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4889         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4890         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4891         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
4892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
4893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4896         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4897         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4898         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4899         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4900         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4903         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4904         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4905         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4907 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
4909         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
4910         instead of cmpli.
4911         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
4912         instead of cmpli.
4914 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
4916         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
4917         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
4918         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
4919         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
4920         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
4921         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
4923 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4925         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
4926         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
4927         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
4928         SYSCALL_LL64_PRW.
4929         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
4930         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
4931         __ASSUME_PRW_DUMMY_ARG.
4932         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
4933         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
4934         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
4935         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
4936         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
4937         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
4939 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
4941         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
4943 2016-10-22  Florian Weimer  <fweimer@redhat.com>
4945         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
4946         "C++", to override a potential extern "C" directive around the
4947         header file inclusion.
4949 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
4951         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
4953 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4955         * sysdeps/powerpc/fpu/fenv_private.h:
4956         (_FPU_MASK_ALL): Rename to...
4957         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
4958         XE FPSCR bits.
4960         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
4962         (_FPU_MASK_ROUNDING): Rename to...
4963         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
4964         NI bits.
4966         (_FPU_MASK_EXCEPT_ROUND): Rename to...
4967         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
4968         bits and rounding bits.
4970         (__libc_feholdbits_ppc): New inline function to mask, set,
4971         and pontentially clear FSPCR bits, and change MSR[FE] bits.
4972         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
4973         (libc_feholdexcept_setround_ppc): Likewise.
4975         (__libc_femergeenv_ppc): New function to dynamically mask both
4976         old and new FP environments and merge.
4977         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
4978         (libc_feresetround_ppc): Likewise.
4979         (libc_feupdateenv_test_ppc): Likewise.
4980         (libc_feupdateenv_ppc): Likewise.
4982         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
4983         of ISA RN bits, and update macro names.
4984         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
4985         effectively the same as the previously mentioned function.
4987         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
4988         usage with fe_resetround_ppc.
4990         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
4991         to be used.
4992         (libc_feholdexcept_setround_ctxf): Likewise.
4993         (libc_feholdexcept_setround_ctxl): Likewise.
4995 2016-10-21  Florian Weimer  <fweimer@redhat.com>
4997         [BZ #20715]
4998         * math/math.h [__cplusplus] (iszero): Define as function template.
4999         * math/Makefile [CXX] (tests): Add test-math-iszero.
5000         (CFLAGS-test-math-iszero.cc): Set.
5001         * math/test-math-iszero.cc: New file.
5003 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
5005         [BZ #20660]
5006         * sysdeps/arm/e_sqrt.c: New file.
5007         * sysdeps/arm/e_sqrtf.c: Likewise.
5009 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
5011         [BZ #20718]
5012         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5013         not use floating-point comparisons to test sign.
5014         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5015         Likewise.
5017         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5018         (getpayload): New declaration.
5019         * math/Versions (getpayload): New libm symbol at version
5020         GLIBC_2.25.
5021         (getpayloadf): Likewise.
5022         (getpayloadl): Likewise.
5023         * math/Makefile (libm-calls): Add s_getpayloadF.
5024         * math/libm-test.inc: Include <nan-high-order-bit.h>.
5025         (struct test_f_f_data): Add comment.
5026         (RUN_TEST_fp_f): New macro.
5027         (RUN_TEST_LOOP_fp_f): Likewise.
5028         (getpayload_test_data): New array.
5029         (getpayload_test): New function.
5030         (main): Call getpayload_test.
5031         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5032         descriptor.
5033         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5034         getpayloadf and getpayloadl.
5035         * manual/libm-err-tab.pl: Update comment on interfaces without
5036         ulps tabulated.
5037         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5038         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5039         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5040         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5041         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5042         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5043         * sysdeps/nacl/libm.abilist: Update.
5044         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5045         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5046         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5047         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5048         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5049         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5050         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5051         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5052         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5053         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5054         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5055         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5057         Likewise.
5058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5059         Likewise.
5060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5061         Likewise.
5062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5063         Likewise.
5064         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5065         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5066         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5067         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5068         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5069         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5070         Likewise.
5071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5072         Likewise.
5073         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5074         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5075         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5077 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5079         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5080         tst-fallocate{64}.
5081         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5082         on syscall return.
5084 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
5086         [BZ #20689]
5087         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5088         usable.
5090 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
5092         * sysdeps/generic/nan-high-order-bit.h: New file.
5093         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5094         * sysdeps/mips/nan-high-order-bit.h: Likewise.
5095         * sysdeps/hppa/math_private.h: Remove file.
5096         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5097         not define here.
5098         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5099         <nan-high-order-bit.h>.
5100         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5101         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5102         <nan-high-order-bit.h>.
5103         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5104         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5105         <nan-high-order-bit.h>.
5106         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5107         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5108         <nan-high-order-bit.h>.
5109         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5110         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5111         <nan-high-order-bit.h>.
5112         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5113         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5114         <nan-high-order-bit.h>.
5115         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5116         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5117         <nan-high-order-bit.h>.
5118         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5119         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5120         <nan-high-order-bit.h>.
5121         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5122         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5123         <nan-high-order-bit.h>.
5124         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5125         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5126         <nan-high-order-bit.h>.
5127         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5128         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5129         <nan-high-order-bit.h>.
5130         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5131         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5132         <nan-high-order-bit.h>.
5133         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5134         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5135         <nan-high-order-bit.h>.
5136         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5137         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5138         <nan-high-order-bit.h>.
5139         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5140         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5141         <nan-high-order-bit.h>.
5142         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5143         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5144         <nan-high-order-bit.h>.
5145         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5146         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5147         <nan-high-order-bit.h>.
5148         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5149         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5150         <nan-high-order-bit.h>.
5151         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5153 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5155         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5157 2016-09-22  John David Anglin  <dave.anglin@bell.net>
5159         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5160         abort-instr.h.
5161         (EFAULT): Remove conditional define.
5162         (ENOSYS): Likewise.
5163         (atomic_compare_and_exchange_val_acq): Use instruction nullification
5164         instead of conditional branch instructions.
5166 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
5168         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5169         (totalordermag): New declaration.
5170         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5171         New macro.
5172         * math/Versions (totalordermag): New libm symbol at version
5173         GLIBC_2.25.
5174         (totalordermagf): Likewise.
5175         (totalordermagl): Likewise.
5176         * math/Makefile (libm-calls): Add s_totalordermagF.
5177         * math/libm-test.inc (totalordermag_test_data): New array.
5178         (totalordermag_test): New function.
5179         (main): Call totalordermag_test.
5180         * math/test-tgmath.c (NCALLS): Increase to 125.
5181         (F(compile_test)): Call totalordermag.
5182         (F(totalordermag)): New function.
5183         * manual/arith.texi (FP Comparison Functions): Document
5184         totalordermag, totalordermagf and totalordermagl.
5185         * manual/libm-err-tab.pl: Update comment on interfaces without
5186         ulps tabulated.
5187         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5188         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5189         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5190         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5191         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5192         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5193         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5194         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5195         totalordermag.
5196         (CFLAGS-nldbl-totalordermag.c): New variable.
5197         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5198         (do_test): Also test totalordermagl.
5199         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5200         Likewise.
5201         * sysdeps/nacl/libm.abilist: Update.
5202         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5215         Likewise.
5216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5217         Likewise.
5218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5219         Likewise.
5220         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5221         Likewise.
5222         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5223         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5224         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5225         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5226         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5228         Likewise.
5229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5230         Likewise.
5231         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5232         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5233         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5235 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5237         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5238         boolean.
5240 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5242         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5243         raising FE_INVALID with feraisexcept in case where part of
5244         argument is infinite, subtract that part of argument from itself.
5245         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5246         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5247         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5249 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5251         * math/libm-test.inc (totalorder_test_data): Add more tests.
5253 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5255         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5256         Undefine weak_alias and add a comment why mips64 require
5257         versioning.
5259 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5261         [BZ #20647]
5262         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5263         maximum CPUID level is less than 2.
5265 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5267         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5268         (totalorder): New declaration.
5269         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5270         New macro.
5271         * math/Versions (totalorder): New libm symbol at version
5272         GLIBC_2.25.
5273         (totalorderf): Likewise.
5274         (totalorderl): Likewise.
5275         * math/Makefile (libm-calls): Add s_totalorderF.
5276         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5277         string.
5278         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5279         (qnan_value_pl): Likewise.
5280         (snan_value_pl): Likewise.
5281         (qnan_value): Define using qnan_value_pl.
5282         (snan_value): Define using snan_value_pl.
5283         (struct test_ff_i_data): Add comment about which tests use this
5284         structure.
5285         (RUN_TEST_ff_b): New macro.
5286         (RUN_TEST_LOOP_ff_b): Likewise.
5287         (totalorder_test_data): New array.
5288         (totalorder_test): New function.
5289         (main): Call totalorder_test.
5290         * math/test-tgmath.c (NCALLS): Increase to 122.
5291         (F(compile_test)): Call totalorder.
5292         (F(totalorder)): New function.
5293         * manual/arith.texi (FP Comparison Functions): Document
5294         totalorder, totalorderf and totalorderl.
5295         * manual/libm-err-tab.pl: Update comment on interfaces without
5296         ulps tabulated.
5297         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5298         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5299         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5300         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5301         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5302         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5303         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5304         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5305         totalorder.
5306         (CFLAGS-nldbl-totalorder.c): New variable.
5307         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5308         file.
5309         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5310         Add test-totalorderl-ldbl-128ibm.
5311         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5312         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5313         test-totalorderl-ldbl-96.
5314         * sysdeps/nacl/libm.abilist: Update.
5315         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5316         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5317         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5318         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5319         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5320         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5321         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5322         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5323         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5324         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5325         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5326         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5328         Likewise.
5329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5330         Likewise.
5331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5336         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5337         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5338         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5340         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5341         Likewise.
5342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5343         Likewise.
5344         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5346         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5348 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5350         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5351         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5352         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5353         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5354         remove ENOSYS implementation.
5355         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5356         Consolidate all Linux implementations.
5358 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5360         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5361         * resolv/herror.c (herror): Cast away const-ness.
5362         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5363         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5365 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5367         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5368         instead of M_NAN + M_NAN.
5369         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5371 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5373         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5374         unused variable 'p'.
5376 2016-10-09  Alan Modra  <amodra@gmail.com>
5377             Andreas Schwab  <schwab@linux-m68k.org>
5379         [BZ #20554]
5380         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5381         [PIC && !SHARED]: Set up PIC register for PLT call.
5383 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5385         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5386         conditional on value of [__FLT_EVAL_METHOD__].
5387         * math/test-iseqsig-excess-precision.c: New file.
5388         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5390 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5392         * math/s_iseqsig_template.c: Include math-private.h.
5394         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5395         * posix/tst-posix_fadvise.c: New file.
5396         * posix/tst-posix_fadvise64.c: Likewise.
5397         * posix/tst-posix_fadvise-common.c: Likewise.
5398         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5399         (__ASSUME_FADVISE64_64_6ARG): Define.
5400         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5401         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5402         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5403         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5404         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5405         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5406         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5407         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5408         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5409         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5410         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5411         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5414         Likewise.
5415         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5416         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5417         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5418         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5419         Alias to __posix_fadvise64_l32.
5420         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5421         Add compat definition to posix_fadvise64.
5422         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5423         Add versioned definition to posix_fadvise64.
5424         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5425         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5426         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5427         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5428         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5430         * io/Makefile (tests): Add tst-posix_fallocate and
5431         tst-posix_fallocate64.
5432         * io/tst-posix_fallocate-common.c: New file.
5433         * io/tst-posix_fallocate.c: Likewise.
5434         * io/tst-posix_fallocate64.c: Likewise.
5435         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5436         file.
5437         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5438         Likewise.
5439         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5440         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5441         Likewise.
5442         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5443         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5444         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5445         SYSCALL_LL to pass both offset and len arguments.
5446         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5447         Likewise.
5448         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5449         __libc_pwrite64 alias used by posix_fallocate64.
5451         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5452         tst-fallocate64.
5453         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5454         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5455         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5456         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5457         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5458         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5459         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5460         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5461         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5462         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5463         macro on offset argument.
5464         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5465         SYSCALL_LL64 on offset argument.
5467         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5468         tst-fallocate64.
5469         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5470         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5471         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5472         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5473         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5474         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5475         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5476         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5477         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5478         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5479         macro on offset argument.
5480         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5481         SYSCALL_LL64 on offset argument.
5482         * test-skeleton.c (FAIL_RET): Add macro.
5483         (FAIL_EXIT): Likewise.
5484         (FAIL_EXIT1): Likewise.
5485         (_FAIL): Likewise.
5487 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5489         [BZ #20629]
5490         resolv: Remove RES_USEBSTRING and its implementation.
5491         * resolv/resolv.h (RES_USEBSTRING): Remove.
5492         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5493         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5494         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5495         (labellen): Remove extended label types support.
5496         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5497         * resolv/res_init.c (res_setoptions): Likewise.
5498         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5500 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5502         resolv: Remove RES_NOIP6DOTINT and its implementation.
5503         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5504         (RES_NOIP6DOTINT): Remove.
5505         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5506         handling.
5507         * resolv/res_debug.c (p_option): Likewise.
5508         * resolv/res_init.c (res_setoptions): Likewise.
5509         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5511 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5513         resolv: Deprecate unimplemented flags.
5514         * misc/sys/cdefs.h (__glibc_macro_warning1)
5515         (__glibc_macro_warning): Define.
5516         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5517         (RES_KEEPTSIG): Mark as deprecated.
5518         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5519         RES_NOCHECKNAME, RES_KEEPTSIG.
5520         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5522 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5524         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5525         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5526         Use strong_alias to create symbols for glibc verison 2.19.
5528 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5530         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5532 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5534         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5536 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5538         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5540 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5542         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5543         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5544         in header for using it as type for ifunc function because __GI_* symbols
5545         for ppc32 do not target the ifunc symbols.
5546         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5548 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5550         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5551         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5552         libc_ifunc_hidden_def.
5553         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5554         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5555         Redirect ifunced function in header for using it as type of ifunc'ed
5556         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5557         function for __GI_* symbol.
5558         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5559         * include/libc-symbols.h
5560         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5562 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5564         [BZ #20478]
5565         * sysdeps/s390/multiarch/ifunc-resolve.h
5566         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5567         to create ifunc symbols.
5568         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5569         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5570         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5571         for using it as type for ifunc function.
5572         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5573         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5574         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5575         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5576         * sysdeps/s390/multiarch/strcat.c: Likewise.
5577         * sysdeps/s390/multiarch/strchr.c: Likewise.
5578         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5579         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5580         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5581         * sysdeps/s390/multiarch/strlen.c: Likewise.
5582         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5583         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5584         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5585         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5586         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5587         * sysdeps/s390/multiarch/strspn.c: Likewise.
5588         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5589         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5590         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5591         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5592         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5593         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5594         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5595         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5596         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5597         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5598         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5599         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5601 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5603         * include/libc-symbols.h (__ifunc_resolver):
5604         New macro is used by __ifunc* macros.
5605         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5606         depending on HAVE_GCC_IFUNC.
5607         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5608         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5610         Redirect ifunced function in header for using as type for ifunc function.
5611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5615         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5616         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5617         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5618         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5619         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5620         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5621         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5622         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5623         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5624         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5630         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5631         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5632         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5634         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5635         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5636         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5637         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5638         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5639         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5640         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5641         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5642         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5643         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5645         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5646         instead of libc_ifunc() macro.
5647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5648         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5650 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5652         * config.h.in (HAVE_GCC_IFUNC): New undef.
5653         * configure.ac: Add check if gcc supports attribute ifunc feature.
5654         * configure: Regenerated.
5655         * manual/install.texi: Add recommendation for gcc with
5656         indirect-function support.
5657         * INSTALL: Regenerated.
5659 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5661         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5662         macro.
5663         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5664         (__iseqsig): New declaration.
5665         * math/s_iseqsig_template.c: New file.
5666         * math/Versions (__iseqsigf): New libm symbol at version
5667         GLIBC_2.25.
5668         (__iseqsig): Likewise.
5669         (__iseqsigl): Likewise.
5670         * math/libm-test.inc (iseqsig_test_data): New array.
5671         (iseqsig_test): New function.
5672         (main): Call iseqsig_test.
5673         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5674         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5675         * manual/libm-err-tab.pl: Update comment on interfaces without
5676         ulps tabulated.
5677         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5678         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5679         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5680         * sysdeps/nacl/libm.abilist: Update.
5681         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5682         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5683         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5684         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5685         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5686         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5687         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5688         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5689         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5690         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5691         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5692         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5694         Likewise.
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5696         Likewise.
5697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5698         Likewise.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5700         Likewise.
5701         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5702         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5703         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5704         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5705         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5707         Likewise.
5708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5709         Likewise.
5710         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5711         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5712         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5714 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5716         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5717         do_sincos_2, sloww, sloww1): Update comments.
5719         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5720         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5722         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5723         K boolean and rename it.
5724         (__sin): Adjust.
5725         (__cos): Adjust.
5727 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5728             Siddhesh Poyarekar  <siddhesh@sourceware.org>
5730         * manual/nss.texi: Fix typos in the manual.
5732 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
5734         * manual/contrib.texi: Fix typos in the manual.
5736         * manual/maint.texi: Fix typos in the manual.
5738         * manual/install.texi: Fix typos in the manual.
5739         * INSTALL: Regenerated.
5741         * manual/lang.texi: Fix typos in the manual.
5743         * manual/probes.texi: Fix typos in the manual.
5745         * manual/threads.texi: Fix typos in the manual.
5747         * manual/debug.texi: Fix typos in the manual.
5749         * manual/crypt.texi: Fix typos in the manual.
5751         * manual/conf.texi: Fix typos in the manual.
5753         * manual/sysinfo.texi: Fix typos in the manual.
5755         * manual/users.texi: Fix typos in the manual.
5757         * manual/job.texi: Fix typos in the manual.
5759         * manual/process.texi: Fix typos in the manual.
5761         * manual/argp.texi: Fix typos in the manual.
5762         * manual/getopt.texi: Likewise.
5763         * manual/startup.texi: Likewise.
5765         * manual/signal.texi: Fix typos in the manual.
5767         * manual/setjmp.texi: Fix typos in the manual.
5769         * manual/resource.texi: Fix typos in the manual.
5771         * manual/time.texi: Fix typos in the manual.
5773         * manual/arith.texi: Fix typos in the manual.
5775         * manual/math.texi: Fix typos in the manual.
5777         * manual/syslog.texi: Fix typos in the manual.
5779         * manual/terminal.texi: Fix typos in the manual.
5781         * manual/socket.texi: Fix typos in the manual.
5783         * manual/filesys.texi: Fix typos in the manual.
5785         * manual/llio.texi: Fix typos in the manual.
5787         * manual/stdio.text: Fix typos in the manual.
5789 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5791         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
5792         instead of K1.
5794         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
5795         SHIFT_QUADRANT and make it bool.
5796         (do_sincos_2): Likewise.
5797         (sloww): Likewise.
5798         (sloww1): Likewise.
5799         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
5800         (__cos): Likewise.
5802 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5804         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
5806 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
5808         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
5809         Define to __WORDSIZE, not conditional on [LONG_MAX ==
5810         0x7fffffffL].
5811         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
5813 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5815         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
5816         inline by __inline__.
5817         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
5818         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
5819         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
5820         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
5821         sigset_t from signal.h.
5822         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
5823         which is already required.
5825 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
5827         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5829 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
5831         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
5832         (struct tcp_repair_window): New type.
5834 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5836         * libio/tst-memstream3.c: Include string.h.
5838 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5840         [BZ #18241]
5841         [BZ #20181]
5842         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
5843         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
5844         write position is at the end the buffer.
5845         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
5846         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
5847         (_IO_str_seekoff): Set correct offset from negative displacement and
5848         set EINVAL for invalid ones.
5849         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
5850         buffer length.
5851         (_IO_wstr_switch_to_get_mode): New function.
5852         (_IO_wstr_seekoff): Set correct offset from negative displacement and
5853         set EINVAL for invalid ones.
5854         * libio/tst-memstream3.c: New file.
5855         * libio/tst-wmemstream3.c: Likewise.
5856         * manual/examples/memstrm.c: Remove warning when priting size_t.
5858 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5860         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
5861         macro to use __builtin_fma.
5862         * sysdeps/x86_64/fpu/dla.h: Remove file.
5864         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
5865         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
5866         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
5868 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
5870         [BZ #20292]
5871         * elf/Makefile (routines): Add dl-addr-obj.
5872         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
5873         tst-_dl_addr_inside_object.
5874         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
5875         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5876         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
5877         [ifeq (yesyes,$(have-fpie)$(build-shared))]
5878         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
5879         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
5880         * elf/dl-open.c: Likewise.
5881         * elf/dl-addr-obj.c: New file.
5882         * elf/tst-_dl_addr_inside_object.c: New file.
5884 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
5886         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
5887         <bits/iscanonical.h>.
5888         * bits/iscanonical.h: New file.
5889         * math/s_iscanonicall.c: Likewise.
5890         * math/Versions (__iscanonicall): New libm symbol at version
5891         GLIBC_2.25.
5892         * math/libm-test.inc (iscanonical_test_data): New array.
5893         (iscanonical_test): New function.
5894         (main): Call iscanonical_test.
5895         * math/Makefile (headers): Add bits/iscanonical.h.
5896         (type-ldouble-routines): Add s_iscanonicall.
5897         * manual/arith.texi (Floating Point Classes): Document
5898         iscanonical.
5899         * manual/libm-err-tab.pl: Update comment on interfaces without
5900         ulps tabulated.
5901         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
5902         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
5903         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
5904         Likewise.
5905         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
5906         test-iscanonical-ldbl-128ibm.
5907         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
5908         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
5909         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
5910         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
5911         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
5912         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5913         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5915         Likewise.
5916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5917         Likewise.
5918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5919         Likewise.
5920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5921         Likewise.
5922         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5923         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5925 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5927         * string/bits/string3.h: Remove C++ style comments.
5929 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5931         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
5932         instead of ternary condition.
5933         (do_sincos_2): Likewise.
5934         (__sin): Likewise.
5935         (__cos): Likewise.
5936         (slow): Likewise.
5937         (sloww): Likewise.
5938         (sloww1): Likewise.
5939         (bsloww): Likewise.
5940         (bsloww1): Likewise.
5942         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
5943         instead of ternary condition.
5944         (do_sin_slow): Likewise.
5945         (do_sincos_1): Likewise.
5946         (do_sincos_2): Likewise.
5947         (__cos): Likewise.
5948         (sloww): Likewise.
5949         (sloww1): Likewise.
5950         (sloww2): Likewise.
5951         (bsloww): Likewise.
5952         (bsloww1): Likewise.
5953         (bsloww2): Likewise.
5955         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
5956         check from here...
5957         (slow2): ... and here...
5958         (__sin): ... to here.
5960 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
5962         * math/math.h
5963         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
5964         Cast argument to its own type.
5965         * math/test-iszero-excess-precision.c: New file.
5966         * math/Makefile (tests): Add test-iszero-excess-precision.
5967         (CFLAGS-test-iszero-excess-precision.c): New variable.
5969 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
5971         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
5972         field, add err field.
5973         (__spawni_child): Report error through err member instead of pipe.
5974         (__spawnix): Likewise.
5976 2016-09-28  Zack Weinberg  <zackw@panix.com>
5978         * scripts/check-installed-headers.sh: Generalize treatment of
5979         sys/elf.h to all target architectures.
5981         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
5982         deleted typedef ucontext_t.
5984 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5986         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
5987         (__INTERNAL_SYSCALL1): Likewise.
5988         (__INTERNAL_SYSCALL2): Likewise.
5989         (__INTERNAL_SYSCALL3): Likewise.
5990         (__INTERNAL_SYSCALL4): Likewise.
5991         (__INTERNAL_SYSCALL5): Likewise.
5992         (__INTERNAL_SYSCALL6): Likewise.
5993         (__INTERNAL_SYSCALL7): Likewise.
5994         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
5995         (__INTERNAL_SYSCALL_NARGS): Likewise.
5996         (__INTERNAL_SYSCALL_DISP): Likewise.
5997         (INTERNAL_SYSCALL_CALL): Likewise.
5998         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
5999         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6000         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6001         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6002         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6003         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6004         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6005         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6006         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6007         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6008         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6009         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6010         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6012 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
6014         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6015         macro.
6016         * math/libm-test.inc (iszero_test_data): New array.
6017         (iszero_test): New function.
6018         (main): Call iszero_test.
6019         * manual/arith.texi (Floating Point Classes): Document iszero.
6020         * manual/libm-err-tab.pl: Update comment on interfaces without
6021         ulps tabulated.
6023 2016-09-23  Zack Weinberg  <zackw@panix.com>
6025         * scripts/check-installed-headers.sh: New script.
6026         * Rules: In each directory that defines header files to be installed,
6027         run check-installed-headers.sh on them as a special test.
6028         * Makefile: Likewise for the headers installed at top level.
6030         * include/aliases.h, include/alloca.h, include/argz.h
6031         * include/arpa/nameser.h, include/arpa/nameser_compat.h
6032         * include/elf.h, include/envz.h, include/err.h
6033         * include/execinfo.h, include/fpu_control.h, include/getopt.h
6034         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6035         * include/link.h, include/malloc.h, include/mcheck.h
6036         * include/mntent.h, include/netinet/ether.h
6037         * include/nss.h, include/obstack.h, include/printf.h
6038         * include/pty.h, include/resolv.h, include/rpc/auth.h
6039         * include/rpc/auth_des.h, include/rpc/auth_unix.h
6040         * include/rpc/clnt.h, include/rpc/des_crypt.h
6041         * include/rpc/key_prot.h, include/rpc/netdb.h
6042         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6043         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6044         * include/rpc/rpc_msg.h, include/rpc/svc.h
6045         * include/rpc/svc_auth.h, include/rpc/xdr.h
6046         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6047         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6048         * include/rpcsvc/ypupd.h, include/shadow.h
6049         * include/stdio_ext.h, include/sys/epoll.h
6050         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6051         * include/sys/prctl.h, include/sys/profil.h
6052         * include/sys/statfs.h, include/sys/sysctl.h
6053         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6054         * sysdeps/arm/nacl/include/bits/setjmp.h
6055         * sysdeps/mips/include/sys/asm.h
6056         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6057         * sysdeps/unix/sysv/linux/include/sys/timex.h
6058         * sysdeps/x86/fpu/include/bits/fenv.h:
6059         Add #ifndef _ISOMAC guard around internal declarations.
6060         Add multiple-inclusion guard if not already present.
6062 2016-09-23  Zack Weinberg  <zackw@panix.com>
6064         * sysdeps/generic/sys/ucontext.h
6065         * sysdeps/arm/sys/ucontext.h
6066         * sysdeps/i386/sys/ucontext.h
6067         * sysdeps/m68k/sys/ucontext.h
6068         * sysdeps/mips/sys/ucontext.h
6069         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6070         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6071         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6072         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6073         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6074         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6075         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6076         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6077         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6078         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6079         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6080         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6081         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6082         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6083         Include both bits/sigcontext.h and bits/sigstack.h.
6084         Fix grammar error in comment, if present.
6086         * bits/sigstack.h
6087         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6088         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6089         * sysdeps/unix/sysv/linux/bits/sigstack.h
6090         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6091         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6092         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6093         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6094         * bits/sigcontext.h
6095         * sysdeps/mach/hurd/i386/bits/sigcontext.h
6096         * sysdeps/unix/sysv/linux/bits/sigcontext.h
6097         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6098         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6099         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
6100         as well as signal.h, if this was not already allowed.  Request
6101         definition of size_t if necessary.  Minimize semantically-null
6102         differences across files.
6104 2016-09-23  Zack Weinberg  <zackw@panix.com>
6106         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6107         Remove all logic conditional on __need macros.  Move all the
6108         conditionally defined types to their own headers...
6109         * time/bits/types/clock_t.h: Define clock_t here.
6110         * time/bits/types/clockid_t.h: Define clockid_t here.
6111         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6112         * time/bits/types/struct_timespec.h: Define struct timespec here.
6113         * time/bits/types/struct_timeval.h: Define struct timeval here.
6114         * time/bits/types/struct_tm.h: Define struct tm here.
6115         * time/bits/types/time_t.h: Define time_t here.
6116         * time/bits/types/timer_t.h: Define timer_t here.
6117         * time/Makefile: Install the new headers.
6119         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6120         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6121         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6122         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6123         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6124         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6125         * sysdeps/unix/sysv/linux/bits/resource.h
6126         * sysdeps/unix/sysv/linux/bits/timex.h
6127         * sysdeps/unix/sysv/linux/mips/bits/resource.h
6128         * sysdeps/unix/sysv/linux/net/ppp_defs.h
6129         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6130         * sysdeps/unix/sysv/linux/sys/acct.h
6131         * sysdeps/unix/sysv/linux/sys/timerfd.h
6132         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6133         * time/sys/time.h, time/sys/timeb.h
6134         Use the new bits/types headers.
6136         * include/time.h: Remove __need logic.
6137         * include/bits/time.h
6138         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6139         * include/bits/types/time_t.h, include/bits/types/timer_t.h
6140         * include/bits/types/struct_itimerspec.h
6141         * include/bits/types/struct_timespec.h
6142         * include/bits/types/struct_timeval.h
6143         * include/bits/types/struct_tm.h:
6144         New wrapper headers.
6146 2016-09-23  Zack Weinberg  <zackw@panix.com>
6148         * sysdeps/mach/hurd/net/if_ppp.h
6149         * sysdeps/unix/sysv/linux/net/if_ppp.h:
6150         Only define struct ifpppstatsreq and struct ifpppcstatsreq
6151         if __USE_MISC is defined, to ensure struct ifreq is declared.
6153         * inet/netinet/ether.h: Condition all function prototypes
6154         on __USE_MISC, to ensure struct ether_addr is declared.
6156         * socket/bits/types/struct_osockaddr.h: New header.
6157         * include/bits/types/struct_osockaddr.h: New wrapper.
6158         * socket/Makefile: Install the new header.
6159         * socket/sys/socket.h, inet/protocols/talkd.h:
6160         Refer to bits/types/struct_osockaddr.h for the definition of
6161         struct osockaddr.
6163 2016-09-23  Zack Weinberg  <zackw@panix.com>
6165         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6166         * inet/protocols/routed.h, inet/protocols/talkd.h
6167         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6168         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6169         * sysdeps/generic/netinet/if_ether.h
6170         * sysdeps/generic/netinet/in_systm.h
6171         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6172         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6173         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6174         * sysdeps/mach/hurd/net/if_arp.h
6175         * sysdeps/mach/hurd/net/if_ppp.h
6176         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6177         * sysdeps/unix/sysv/linux/bits/in.h
6178         * sysdeps/unix/sysv/linux/net/ethernet.h
6179         * sysdeps/unix/sysv/linux/net/if_arp.h
6180         * sysdeps/unix/sysv/linux/net/if_ppp.h
6181         * sysdeps/unix/sysv/linux/net/if_shaper.h
6182         * sysdeps/unix/sysv/linux/net/route.h
6183         * sysdeps/unix/sysv/linux/netinet/if_ether.h
6184         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6185         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6186         * sysdeps/unix/sysv/linux/netipx/ipx.h
6187         * sysdeps/unix/sysv/linux/sys/acct.h
6188         * include/arpa/nameser.h, include/resolv.h:
6189         Change all uses of u_char to unsigned char,
6190         u_short and ushort to unsigned short, u_int and uint to unsigned int,
6191         u_long and ulong to unsigned long, u_int8_t to uint8_t,
6192         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6193         and u_int64_t and u_quad_t to uint64_t.
6195         * mach/sys/reboot.h: Remove two casts of integer literals
6196         to the types they already have.
6198         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6199         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6200         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6201         from referring to 'unsigned char' to 'uint8_t' for consistency with
6202         the macro definition below.
6204         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6205         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6206         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6207         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6208         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6209         * sysdeps/unix/sysv/linux/sys/acct.h
6210         * include/arpa/nameser.h, include/resolv.h:
6211         Fix indentation disrupted by mechanical edits.
6213         * inet/protocols/talkd.h, resolv/arpa/nameser.h
6214         * sysdeps/generic/netinet/in_systm.h
6215         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6216         * sysdeps/gnu/netinet/udp.h
6217         * sysdeps/unix/sysv/linux/net/ethernet.h
6218         * sysdeps/unix/sysv/linux/net/if_arp.h
6219         * sysdeps/unix/sysv/linux/net/if_ppp.h
6220         * sysdeps/unix/sysv/linux/net/if_shaper.h
6221         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6222         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6223         * sysdeps/unix/sysv/linux/netipx/ipx.h
6224         * sysdeps/unix/sysv/linux/sys/acct.h
6225         Include stdint.h for uintNN_t definitions.
6226         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6228 2016-09-23  Zack Weinberg  <zackw@panix.com>
6230         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6231         * sysdeps/unix/sysv/linux/netrose/rose.h:
6232         Include sys/socket.h and netax25/ax25.h.
6234         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6235         * resolv/arpa/nameser_compat.h:
6236         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6238         * sysdeps/unix/sysv/linux/sys/quota.h:
6239         Use __caddr_t instead of caddr_t.
6240         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6241         Use __clockid_t instead of clockid_t.
6243         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6245         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6246         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6247         expanding it.
6249         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6250         Define __glibc_c99_flexarr_available to 1 when the compiler
6251         supports C99-compatible flexible array members, 0 otherwise.
6252         * sysdeps/unix/sysv/linux/bits/socket.h
6253         * sysdeps/mach/hurd/bits/socket.h
6254         * bits/socket.h: Use __glibc_c99_flexarr_available in
6255         definitions of struct cmsghdr and CMSG_DATA.
6257 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6259         * manual/nss.texi (NSS Modules Interface): Adjust function return
6260         type to enum nss_status.  Document errnop argument.  Clarify
6261         h_errnop semantics.  Fix cross-reference formatting.
6262         (NSS Module Function Internals): Mention that *errnop needs to be
6263         set on failure, but not to zero.
6265 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6267         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6268         (get_random_name): New functions.
6269         (check_wrapper_flags_mode): Use linkat to give the new file a name
6270         determined by get_random_name.
6271         (do_test): Add calls to test open64 and openat64.
6273 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6275         * test-skeleton.c: Remove #include <stdarg.h>.
6277 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6279         [BZ #19826]
6280         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6281         initialization of static TLS entries.
6282         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6283         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6285 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6287         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6288         _hurd_malloc_fork_prepare.
6289         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6290         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6291         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6292         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6293         (_hurd_fork_child_hook): Drop malloc_fork_child.
6294         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6295         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6296         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6297         after locking locks (notably hurd_dtable_lock). Call
6298         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6299         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6300         __malloc_fork_unlock_child.
6301         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6303 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6305         * soft-fp/extendhftf2.c: New.
6306         * soft-fp/fixhfti.c: Likewise.
6307         * soft-fp/fixunshfti.c: Likewise.
6308         * soft-fp/floattihf.c: Likewise.
6309         * soft-fp/floatuntihf.c: Likewise.
6310         * soft-fp/half.h: Likewise.
6311         * soft-fp/trunctfhf2.c: Likewise.
6313 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6315         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6316         macro.
6317         * math/libm-test.inc (issubnormal_test_data): New array.
6318         (issubnormal_test): New function.
6319         * manual/arith.texi (Floating Point Classes): Document
6320         issubnormal.
6321         * manual/libm-err-tab.pl: Update comment on interfaces without
6322         ulps tabulated.
6324         * sysdeps/generic/stdint.h: Define
6325         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6326         <bits/libc-header-start.h> instead of including <features.h>.
6327         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6328         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6330         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6331         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6333         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6334         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6336         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6338         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6339         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6341         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6342         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6344         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6345         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6347         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6348         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6350         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6351         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6353         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6354         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6355         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6356         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6357         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6358         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6359         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6360         * manual/arith.texi (Integers): Document these macros for types
6361         specified by width properties.
6362         * manual/lang.texi (Width of Type): Document these macros for
6363         other standard typedefs.
6364         * stdlib/tst-width-stdint.c: New file.
6365         * stdlib/Makefile (tests): Add tst-width-stdint.
6367 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6369         [BZ #20016]
6370         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6371         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6372         Move ...
6373         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6374         ... here, as compatibility symbols in a new file.
6375         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6376         * resolv/res_init.c (__res_vinit): Adjust member names.
6377         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6378         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6379         (res_send_rhook): Remove.
6380         (struct __res_state): Rename qhook, rhook members.
6382 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6384         malloc: Use __libc_lock wrappers.
6385         * malloc/arena.c (list_lock, free_list_lock): Define using
6386         __libc_lock_define_initialized.
6387         (arena_lock): Adjust formatting.
6388         * malloc/malloc.c (struct malloc_state): Define mutex using
6389         __libc_lock_define.
6390         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6391         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6392         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6393         (mutex_unlock, mutex_trylock): Remove.
6394         (__pthread_initialize): Remove unused macro.
6395         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6396         (mutex_unlock, mutex_trylock): Remove.
6398 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6400         [BZ #20592]
6401         Remove RR type classification macros.
6402         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6403         (ns_t_udp_p, ns_t_xfr_p): Remove.
6405 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6407         Remove misleading version information.
6408         * resolv/arpa/nameser.h (__NAMESER): Remove.
6409         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6411 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6413         Remove the always-defined BIND_4_COMPAT macro.
6414         * resolv/arpa/nameser.h: Unconditionally include
6415         <arpa/nameser_compat.h>.
6416         (BIND_4_COMPAT): Remove.
6417         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6419 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6421         [BZ #20591]
6422         Remove obsolete DNSSEC support.
6423         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6424         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6425         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6426         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6427         (ns_cert_types): Add comment.
6428         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6429         separately.
6430         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6431         (dst_s_dns_key_id): Remove.
6432         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6433         variables.
6435 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6437         [BZ #20524]
6438         * manual/string.texi (String/Array Comparison): Clarify the
6439         strverscmp behavior.
6441 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6443         * test-skeleton.c (xasprintf): Add function.
6444         * io/tst-open-tmpfile.c: New test.
6445         * io/Makefile (tests): Add it.
6447 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6449         Avoid running $(CXX) during build to obtain header file paths.
6450         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6451         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6452         * Makerules (cstdlib, cmath): Remove variables.  Use
6453         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6454         * configure: Regenerate.
6456 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6458         * Makeconfig (all-object-suffixes): Include .op only if
6459         $(build-profile).
6461 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6463         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6464         conditionals.  Do not define PATH_MAX.
6466 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6468         * posix/Makefile (tests): Add tst-spawn3.
6469         * posix/tst-spawn3.c: New file.
6470         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6471         if it is already opened for open action.
6473         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6474         all signals when executing the clone vfork child.
6475         (SIGALL_SET): Remove macro.
6477         * nptl/Makefile (tests): Add tst-exec5.
6478         * nptl/tst-exec5.c: New file.
6479         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6480         asynchronous cancellation.
6482 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6484         * hurd/exc2signal.c: #include <hurd/signal.h>
6485         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6486         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6487         accordingly.
6488         * mach/mach_error.c (mach_error): Fix old-style function definition.
6489         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6491 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6493         * math/Makefile (libm-calls): Remove s_nanF.
6494         (gen-libm-calls): Add s_nanF.
6496         * math/s_nan.c: Refactor into ...
6497         * math/s_nan_template.c: New file.
6499         * math/s_nanf.c: Removed.
6500         * math/s_nanl.c: Removed.
6501         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6502         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6504         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6505         (LDOUBLE_nanl_libm_version): New macro.
6507         * sysdeps/generic/math-type-macros-double.h:
6508         (M_STRTO_NAN): New macro.
6509         * sysdeps/generic/math-type-macros-float.h: Likewise.
6510         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6512         * sysdeps/generic/math-type-macros.h: Document
6513         M_STRTO_NAN.
6515 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6517         * math/s_nanf.c: Remove __nanf undef.
6518         * math/s_nan.c: Remove __nan undef.
6519         * math/s_nanl.c: Remove __nanl undef.
6521         * sysdeps/generic/math_private.h (__nan): Remove macro
6522         override.
6523         (__nanf): Likewise.
6524         (__nanl): Likewise.
6526 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6528         * math/Makefile (gen-all-calls): New variable.
6529         (generated): Replace gen-libm-calls with gen-all-calls.
6530         (gen-libm-templates.stmp): Likewise.  Also, ensure
6531         the output directory exists or is created and add
6532         dependency on the Makefile.
6533         (calls): Move s_ldexpF into gen-calls.
6534         (gen-calls): New variable.
6536         * math/s_ldexpf.c: Removed.
6537         * math/s_ldexpl.c: Removed.
6538         * math/s_ldexp.c: Refactored into ...
6539         * math/s_ldexp_template.c: New file.
6541         * sysdeps/generic/math-type-macros-double.h: Remove
6542         redundant fall-through definition of declare_mgen_alias.
6543         (declare_mgen_alias_2): New macro.
6545         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6546         New macro for function aliased to two exported symbols.
6548         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6549         new template file.
6550         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6552 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6554         * Makeconfig (all-object-suffixes): Remove .og.
6555         * Makerules (elide-routines.og): Remove.
6556         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6557         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6558         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6560 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6562         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6563         .os objects.
6565 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6567         [BZ #20615]
6568         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6569         fpu directory by non-fpu.
6570         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6571         on non-fpu directory from a fpu directory.
6573 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6575         * include/limits.h: Define
6576         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6577         <bits/libc-header-start.h> instead of including <features.h>.
6578         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6579         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6580         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6581         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6582         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6586         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6587         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6588         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6589         * manual/lang.texi (Width of Type): Document these macros.
6590         * stdlib/tst-width.c: New file.
6591         * stdlib/Makefile (tests): Add tst-width.
6593 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6595         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6596         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6598 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6600         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6601         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6602         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6604 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6606         [BZ #18243]
6607         * rt/Makefile (test): Add tst-shm-cancel.
6608         * rt/tst-shm-cancel.c: New file.
6609         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6611         [BZ #18243]
6612         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6613         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6614         definition.
6615         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6616         uncontended case.
6617         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6618         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6619         (tf): Fix check for uncontended case.
6620         (do_test): Likewise.
6621         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6622         (tf): Fix check for uncontended case.
6623         (do_test): Likewise.
6624         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6625         (tf): Fix check for uncontended case.
6626         (do_test): Likewise.
6627         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6628         (tf): Fix check for uncontended case.
6629         (do_test): Likewise.
6631         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6632         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6634         [BZ #15765]
6635         * nptl/Makefile (tests): Add tst-sem16.
6636         * nptl/tst-sem16.c: New file.
6637         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6639         * nptl/sem_open.c (sem_open): Init pad value to 0.
6640         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6641         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6643 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6645         [BZ #20611]
6646         * inet/Makefile (routines): Add inet6_scopeid_pton.
6647         (tests): Add tst-inet6_scopeid_pton.
6648         * inet/inet6_scopeid_pton.c: New file.
6649         * inet/net-internal.h: Likewise.
6650         * inet/tst-inet6_scopeid_pton.c: New test.
6651         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6652         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6653         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6655 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6657         Remove support for compiling wrappers with PTW.
6658         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6659         * nptl/Makefile (pthread-compat-wrappers): Define.
6660         (libpthread-routines): Use pthread-compat-wrappers.
6661         * sysdeps/unix/sysv/linux/alpha/Makefile
6662         (libpthread-routines, libpthread-shared-only-routines): Remove
6663         ptw- prefix.
6664         * sysdeps/s390/nptl/Makefile
6665         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6666         * sysdeps/ia64/nptl/Makefile
6667         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6668         * sysdeps/nacl/Makefile (libpthread-routines): Use
6669         pthread-compat-wrappers to filter the routines list instead of the
6670         ptw- prefix.
6672 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6674         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6675         with L() and remove explicit suffix, convert real literals
6676         which can be equivalentally substituted with integers, and
6677         transform -L(x) to L(-x).
6679         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6680         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6681         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6682         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6683         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6684         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6685         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6686         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6687         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6688         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6689         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6690         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6691         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6692         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6693         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6694         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6695         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6696         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6697         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6698         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6699         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6700         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6701         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6702         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6703         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6704         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6705         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6706         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6707         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6708         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6709         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6710         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6711         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6712         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6713         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6714         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6715         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6716         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6717         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6718         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6719         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6720         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6721         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6722         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6723         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6724         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6725         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6726         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6727         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6728         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6730 2016-09-13  Florian Weimer  <fweimer@redhat.com>
6732         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6734 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6736         * malloc/Makefile (tests): Remove individual static test names
6737         and just add all of tests-static.
6739         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6741 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
6743         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6744         file.
6746         * sysdeps/sparc/fpu/fegetmode.c: New file.
6747         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6749         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6750         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6752         * sysdeps/s390/fpu/fegetmode.c: New file.
6753         * sysdeps/s390/fpu/fesetmode.c: Likewise.
6755         * sysdeps/powerpc/fpu/fegetmode.c: New file.
6756         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6757         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6758         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6759         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6760         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6762         * sysdeps/mips/fpu/fegetmode.c: New file.
6763         * sysdeps/mips/fpu/fesetmode.c: Likewise.
6765         * sysdeps/m68k/fpu/fegetmode.c: New file.
6766         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6768         * sysdeps/ia64/fpu/fegetmode.c: New file.
6769         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
6771         * sysdeps/hppa/fpu/fegetmode.c: New file.
6772         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
6774         * sysdeps/arm/fegetmode.c: New file.
6775         * sysdeps/arm/fesetmode.c: Likewise.
6777         * sysdeps/alpha/fpu/fegetmode.c: New file.
6778         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
6780         * sysdeps/aarch64/fpu/fegetmode.c: New file.
6781         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
6783         * math/fegetmode.c: New file.
6784         * math/fesetmode.c: Likewise.
6785         * sysdeps/i386/fpu/fegetmode.c: Likewise.
6786         * sysdeps/i386/fpu/fesetmode.c: Likewise.
6787         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
6788         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
6789         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
6790         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
6791         declaration.
6792         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
6793         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
6794         typedef.
6795         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6796         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6797         (femode_t): New typedef.
6798         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6799         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6800         (femode_t): New typedef.
6801         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6802         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6803         (femode_t): New typedef.
6804         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6805         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6806         (femode_t): New typedef.
6807         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6808         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6809         (femode_t): New typedef.
6810         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6811         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6812         (femode_t): New typedef.
6813         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6814         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6815         (femode_t): New typedef.
6816         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6817         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6818         (femode_t): New typedef.
6819         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6820         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6821         (femode_t): New typedef.
6822         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6823         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6824         (femode_t): New typedef.
6825         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
6826         declaration.
6827         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6828         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6829         (femode_t): New typedef.
6830         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6831         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6832         (femode_t): New typedef.
6833         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6834         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6835         (femode_t): New typedef.
6836         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6837         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6838         (femode_t): New typedef.
6839         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6840         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
6841         (femode_t): New typedef.
6842         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
6843         * manual/arith.texi (FE_DFL_MODE): Document macro.
6844         (fegetmode): Document function.
6845         (fesetmode): Likewise.
6846         * math/Versions (fegetmode): New libm symbol at version
6847         GLIBC_2.25.
6848         (fesetmode): Likewise.
6849         * math/Makefile (libm-support): Add fegetmode and fesetmode.
6850         (tests): Add test-femode and test-femode-traps.
6851         * math/test-femode-traps.c: New file.
6852         * math/test-femode.c: Likewise.
6853         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
6854         alias for __fe_dfl_env.
6855         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
6856         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
6857         (__fe_dfl_mode): Likewise.
6858         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
6859         version GLIBC_2.25.
6860         * sysdeps/nacl/libm.abilist: Update.
6861         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
6862         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
6863         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
6864         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
6865         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
6866         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6867         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
6868         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6869         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
6870         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
6871         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6872         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6874         Likewise.
6875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6876         Likewise.
6877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6878         Likewise.
6879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6880         Likewise.
6881         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6882         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6883         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6884         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6885         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6887         Likewise.
6888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6889         Likewise.
6890         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6891         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6892         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6894 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
6896         [BZ #20495]
6897         [BZ #20508]
6898         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
6899         processors, set Use_dl_runtime_resolve_slow and set
6900         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
6901         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
6902         New.
6903         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
6904         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
6905         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
6906         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
6907         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
6908         if Use_dl_runtime_resolve_opt is set.  Use
6909         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
6910         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
6911         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
6912         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
6913         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
6914         New.
6915         (_dl_runtime_resolve_opt): Likewise.
6916         (_dl_runtime_profile): Define only if _dl_runtime_profile is
6917         defined.
6919 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
6921         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
6922         __libc_memalign with "+ RELA R_390_GLOB_DAT".
6924 2016-09-06  Florian Weimer  <fweimer@redhat.com>
6926         Convert malloc to __libc_lock.  Automated part, using this Perl
6927         s/// command:
6928           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
6929             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
6930         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
6931         conversion.
6933 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
6935         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
6936         (linknamespace-symlists-tests): Likewise.
6937         (linknamespace-header-tests): Likewise.
6939 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
6941         [BZ #19810]
6942         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
6943         * elf/tst-noload.c: New test case.
6944         * elf/Makefile (tests): Add tst-noload.
6946 2016-09-02  Roland McGrath  <roland@hack.frob.com>
6948         * sysdeps/nacl/dup.c: Add libc_hidden_def.
6950         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
6951         not any more.
6953         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
6955 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6957         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
6958         (do_cos_slow): Likewise.
6959         (do_sin): Likewise.
6960         (do_sin_slow): Likewise.
6961         (slow): Likewise.
6962         (slow1): Likewise.
6963         (slow2): Likewise.
6964         (sloww): Likewise.
6965         (sloww1): Likewise.
6966         (sloww2): Likewise.
6967         (bsloww): Likewise.
6968         (bsloww1): Likewise.
6969         (bsloww2): Likewise.
6970         (cslow2): Likewise.
6972         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
6974         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
6975         arguments.  Consolidate input partitioning from callers here.
6976         (do_cos_slow): Likewise.
6977         (do_sin): Likewise.
6978         (do_sin_slow): Likewise.
6979         (do_sincos_1): Remove the no longer necessary input partitioning.
6980         (do_sincos_2): Likewise.
6981         (__sin): Likewise.
6982         (__cos): Likewise.
6983         (slow1): Likewise.
6984         (slow2): Likewise.
6985         (sloww1): Likewise.
6986         (sloww2): Likewise.
6987         (bsloww1): Likewise.
6988         (bsloww2): Likewise.
6989         (cslow2): Likewise.
6991 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6993         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
6994         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
6995         outside of allocated array.
6997 2016-09-02  Florian Weimer  <fweimer@redhat.com>
6999         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7000         instead of MB_CUR_MAX to avoid variable-length array.
7002 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7004         * math/Makefile (libm-calls): Remove k_rem_pio2F.
7005         (type-double-routines): Add k_rem_pio2.
7006         (type-float-routines): Add k_rem_pio2f.
7008         * sysdeps/generic/math_private.h:
7009         (__kernel_rem_pio2l): Removed.
7011         * math/k_rem_pio2l.c: Removed.
7012         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7013         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7014         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7015         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7017 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7019         * math/Makefile (gen-libm-calls): Add s_fmin
7020         (libm-calls): Remove above.
7022         * math/s_fmin.c: Refactor into ...
7023         * math/s_fmin_template.c: New file.
7025         * math/s_fminf.c: Removed.
7026         * math/s_fminl.c: Removed.
7027         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7028         (LDOUBLE_fmin_libm_version): New macro.
7030         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7031         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7033 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7035         * math/Makefile: (gen-libm-calls): Add s_fmax.
7036         (libm-calls): Remove above.
7038         * math/s_fmax.c: Refactor into ...
7039         * math/s_fmax_template.c: New file.
7040         * math/s_fmaxf.c: Removed.
7041         * math/s_fmaxl.c: Removed.
7043         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7044         (LDOUBLE_fmaxl_libm_version): New macro.
7046         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7047         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7049         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7050         s_fmin.c to pick the aarch64 version of the file.
7051         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7052         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7054 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7056         * math/Makefile: (gen-libm-calls): Add s_nextdown.
7057         (libm-calls): Remove above.
7059         * math/s_nextdown.c: Refactor into ...
7060         * math/s_nextdown_template.c: New file.
7061         * math/s_nextdownf.c: Removed.
7062         * math/s_nextdownl.c: Removed.
7064         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7066 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7068         * math/Makefile (gen-libm-calls): Add s_fdim.
7069         (libm-calls): Move to above.
7071         * math/s_fdim.c: Renamed and refactored into to ...
7072         * math/s_fdim_template.c: New file.
7073         * math/s_fdiml.c: Removed.
7074         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7075         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7077         * sysdeps/generic/math-type-macros-double.h:
7078         (declare_mgen_alias): Don't declare if already declared.
7079         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7080         Likewise.
7082         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7083         (declare_mgen_alias): Don't declare if already declared.
7084         (M_LIBM_NEED_COMPAT): Likewise.
7085         (declare_mgen_libm_compat): Likewise.
7086         (LDOUBLE_fdiml_libm_version): New macro.
7088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7089         Include math/s_fdim.c now that ldbl-opt version is not needed.
7090         (declare_mgen_alias): New macro to disable aliasing.
7092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7093         (declare_mgen_alias): Likewise.
7094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7095         (declare_mgen_alias): Likewise.
7096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7097         (declare_mgen_alias): Likewise.
7098         (M_LIBM_NEED_COMPAT): Likewise.
7100 2016-09-01  Florian Weimer  <fweimer@redhat.com>
7102         [BZ #20525]
7103         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7104         Include <linux/quota.h>.
7105         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7106         and btodb.
7107         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7108         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7109         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7110         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7111         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7112         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7113         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7114         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7115         types.
7116         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7117         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7119 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7121         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7122         (gammal_positive): Fix spacing.
7123         (__ieee754_gammal_r): Likewise.
7125 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7127         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7128         (_Float128): Define as long double, always.
7129         (L): Apply long double type suffix, always.
7131         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7132         _Float128, excepting comments.
7134         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7135         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7136         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7137         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7138         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7139         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7140         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7141         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7142         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7143         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7144         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7145         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7146         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7147         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7148         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7149         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7150         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7151         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7152         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7153         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7154         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7155         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7156         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7157         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7158         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7159         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7160         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7161         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7162         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7163         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7164         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7165         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7166         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7167         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7168         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7169         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7170         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7171         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7172         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7173         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7174         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7175         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7176         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7177         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7178         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7179         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7180         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7181         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7182         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7183         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7184         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7185         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7186         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7187         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7188         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7189         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7190         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7191         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7192         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7193         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7194         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7195         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7196         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7197         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7198         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7199         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7200         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7201         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7203         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7204         _Float128, and include math_private.h.
7205         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7207         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7208         long double semantics.
7209         (_Float128): Likewise.
7210         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7211         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7212         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7213         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7215 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7217         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7218         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7219         * sysdeps/s390/configure: Regenerated.
7220         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7221         instruction for raising over-/underflow if z196 zarch is supported
7222         by default.
7223         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7225 2016-08-30  Svante Signell  <svante.signell@gmail.com>
7227         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7228         it point to a dumb buffer for RPC to fill it.
7230 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7232         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7233         instead of if/else.
7234         (do_sin_slow): Likewise.
7235         (do_sincos_1): Use fabs instead of if/else.
7236         (do_sincos_2): Likewise.
7237         (__sin): Likewise.
7238         (__cos): Likewise.
7239         (slow2): Likewise.
7240         (sloww): Likewise.
7241         (sloww1): Likewise.  Drop argument M.
7242         (sloww2): Use fabs instead of if/else.
7243         (bsloww): Likewise.
7244         (bsloww1): Likewise.
7245         (bsloww2): Likewise.
7247         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7248         fall through comment.
7249         (do_sincos_1): Likewise.
7251         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7252         Consolidate switch cases 0 and 2.
7254 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7256         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7257         (libm-calls): Remove the above.
7259         * math/s_cexp_template.c: Update using type-generic macros.
7260         * math/s_clog10_template.c: Likewise.
7261         * math/s_cpow_template.c: Likewise.
7262         * math/s_clog_template.c: Likewise.
7263         * math/s_cproj_template.c: Likewise.
7264         * math/s_csqrt_template.c: Likewise.
7266         * math/s_cexp.c: Removed.
7267         * math/s_cexpf.c: Removed.
7268         * math/s_cexpl.c: Removed.
7269         * math/s_clog10.c: Removed.
7270         * math/s_clog10f.c: Removed.
7271         * math/s_clog10l.c: Removed.
7272         * math/s_cpow.c: Removed.
7273         * math/s_cpowf.c: Removed.
7274         * math/s_cpowl.c: Removed.
7275         * math/s_clog.c: Removed.
7276         * math/s_clogf.c: Removed.
7277         * math/s_clogl.c: Removed.
7278         * math/s_cproj.c: Removed.
7279         * math/s_cprojf.c: Removed.
7280         * math/s_cprojl.c: Removed.
7281         * math/s_csqrt.c: Removed.
7282         * math/s_csqrtf.c: Removed.
7283         * math/s_csqrtl.c: Removed.
7285         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7286         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7287         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7288         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7289         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7290         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7292         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7293         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7294         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7295         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7296         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7297         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7298         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7299         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7300         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7301         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7302         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7304         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7305         version.
7307         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7308         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7309         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7310         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7312 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7314         * s_cexp_template.c: Copy of s_cexp.c.
7315         * s_clog_template.c: Copy of s_clog.c.
7316         * s_clog10_template.c: Copy of s_clog10.c.
7317         * s_cpow_template.c: Copy of s_cpow.c.
7318         * s_cproj_template.c: Copy of s_cproj.c.
7319         * s_csqrt_template.c: Copy of s_csqrt.c.
7321 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7323         [BZ #20517]
7324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7325         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7326         exported.
7328 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7330         * math/fetestexceptflag.c: New file.
7331         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7332         Stefan Liebler.
7333         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7334         (fetestexceptflag): New function declaration.
7335         * manual/arith.texi (fetestexceptflag): Document function.
7336         * math/Versions (fetestexceptflag): New libm symbol at version
7337         GLIBC_2.25.
7338         * math/Makefile (libm-support): Add fetestexceptflag.
7339         (tests): Add test-fetestexceptflag.
7340         * math/test-fetestexceptflag.c: New file.
7341         * sysdeps/nacl/libm.abilist: Update.
7342         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7343         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7344         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7345         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7346         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7347         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7348         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7349         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7350         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7351         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7352         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7353         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7355         Likewise.
7356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7357         Likewise.
7358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7359         Likewise.
7360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7361         Likewise.
7362         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7363         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7364         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7365         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7366         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7368         Likewise.
7369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7370         Likewise.
7371         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7372         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7373         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7375 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7377         [BZ #20432]
7378         Avoid strong references to malloc-internal symbols when linking
7379         statically, to support statically interposed mallocs.
7380         * include/libc-symbols.h (call_function_static_weak): New macro.
7381         * malloc/Makefile (tests): Add tst-interpose-nothread,
7382         tst-interpose-thread, tst-interpose-static-nothread,
7383         tst-interpose-static-thread.
7384         (tests-static): Add tst-interpose-static-nothread,
7385         tst-interpose-static-thread.
7386         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7387         tst-interpose-aux-thread.o.
7388         (test-extras): Add tst-interpose-aux-nothread,
7389         tst-interpose-aux-thread.
7390         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7391         tst-interpose-aux-nothread.o.
7392         (tst-interpose-thread, tst-interpose-static-thread): Link with
7393         tst-interpose-aux-thread.o and libthread.
7394         * malloc/tst-interpose-aux-nothread.c: New file.
7395         * malloc/tst-interpose-aux-thread.c: Likewise.
7396         * malloc/tst-interpose-aux.c: Likewise.
7397         * malloc/tst-interpose-aux.h: Likewise.
7398         * malloc/tst-interpose-nothread.c: Likewise.
7399         * malloc/tst-interpose-skeleton.c: Likewise.
7400         * malloc/tst-interpose-static-nothread.c: Likewise.
7401         * malloc/tst-interpose-static-thread.c: Likewise.
7402         * malloc/tst-interpose-thread.c: Likewise.
7403         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7404         * sysdeps/mach/hurd/fork.c (__fork): Only call
7405         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7406         __malloc_fork_unlock_child if defined.
7407         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7409 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7411         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7412         timespec C99 designated initialization.
7414 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7416         [BZ #19946]
7417         Avoid expected SIGALRM signals.
7418         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7419         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7420         (xpthread_create, xpthread_detach, xpthread_join)
7421         (delayed_exit_thread, delayed_exit): New functions.
7422         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7423         (tf): Use xpthread_cond_wait.
7424         (do_test): Likewise.  Replace alarm with delayed_exit.
7425         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7426         (do_test): Call delayed_exit.  Report failure.
7427         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7428         (do_test): Call delayed_exit.
7429         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7430         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7431         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7432         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7433         error.
7434         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7435         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7436         error.
7437         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7438         (do_test): Call delayed_exit.
7439         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7440         (do_test): Call delayed_exit.
7441         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7442         (do_test): Call delayed_exit instead of alarm.  Use
7443         xpthread_mutex_lock.
7444         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7445         (do_test): Call delayed_exit instead of alarm.  Use
7446         xpthread_mutex_lock.
7447         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7448         (do_test): Call delayed_exit instead of alarm.
7449         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7450         (do_test): Call delayed_exit instead of alarm.  Use
7451         xpthread_spin_lock.
7452         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7453         (do_test): Call delayed_exit instead of alarm.  Use
7454         xpthread_join.
7456 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7458         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7459         adjust CFA when allocating register save area on re-aligned
7460         stack.
7462 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7464         * string/tst-cmp.c: New test.
7465         * string/Makefile (tests): Add it.
7467 2016-08-25  Mark Wielaard  <mark@klomp.org>
7469         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7470         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7471         (check_tree_recurse): Use newly defined accessors.
7472         (check_tree): Likewise.
7473         (maybe_split_for_insert): Likewise.
7474         (__tfind): Likewise.
7475         (__tdelete): Likewise.
7476         (trecurse): Likewise.
7477         (tdestroy_recurse): Likewise.
7478         (__tsearch): Likewise. And add asserts for malloc alignment.
7479         (__twalk): Cast root to node in case CHECK_TREE is defined.
7481 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7483         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7485 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7487         * math/Makefile (libm-gen-calls): Add
7488         catan, catanh, ctan, ctanh.
7489         (libm-calls): Remove the above.
7491         * math/s_catan_template.c: Update using type-generic macros.
7492         * math/s_catanh_template.c: Likewise.
7493         * math/s_ctan_template.c: Likewise.
7494         * math/s_ctanh_template.c: Likewise.
7496         * math/s_catanf.c: Removed.
7497         * math/s_catan.c: Removed.
7498         * math/s_catanl.c: Removed.
7499         * math/s_catanhf.c: Removed.
7500         * math/s_catanh.c: Removed.
7501         * math/s_catanhl.c: Removed.
7502         * math/s_ctanf.c: Removed.
7503         * math/s_ctan.c: Removed.
7504         * math/s_ctanl.c: Removed.
7505         * math/s_ctanhf.c: Removed.
7506         * math/s_ctanh.c: Removed.
7507         * math/s_ctanhl.c: Removed.
7509         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7510         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7511         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7512         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7513         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7514         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7516         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7517         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7518         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7519         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7521 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7523         * s_catan_template.c: Copy of s_catan.c.
7524         * s_catanh_template.c: Copy of s_catanh.c.
7525         * s_ctan_template.c: Copy of s_ctan.c.
7526         * s_ctanh_template.c: Copy of s_ctanh.c.
7528 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7530         * math/Makefile (gen-libm-calls): Move
7531         casin, casinh, csin, csinh here.
7532         (libm-calls): Remove the above.
7534         * math/s_casin_template.c: Update using type-generic macros.
7535         * math/s_casinh_template.c: Likewise.
7536         * math/s_csin_template.c: Likewise.
7537         * math/s_csinh_template.c: Likewise.
7538         * math/k_casinh_template.c: Likewise.
7540         * math/s_casinf.c: Removed.
7541         * math/s_casin.c: Removed.
7542         * math/s_casinl.c: Removed.
7543         * math/s_casinh.c: Removed.
7544         * math/s_casinhf.c: Removed.
7545         * math/s_casinhl.c: Removed.
7546         * math/s_csin.c: Removed.
7547         * math/s_csinf.c: Removed.
7548         * math/s_csinl.c: Removed.
7549         * math/s_csinh.c: Removed.
7550         * math/s_csinhf.c: Removed.
7551         * math/s_csinhl.c: Removed.
7552         * math/k_casinh.c: Removed.
7553         * math/k_casinhf.c: Removed.
7554         * math/k_casinhl.c: Removed.
7556         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7557         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7558         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7559         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7561         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7562         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7563         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7564         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7565         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7566         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7567         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7568         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7570         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7571         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7572         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7573         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7575         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7576         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7577         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7578         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7580 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7582         * s_casin_template.c: Copy of s_casin.c.
7583         * s_casinh_template.c: Copy of s_casinh.c.
7584         * s_csin_template.c: Copy of s_csin.c.
7585         * s_csinh_template.c: Copy of s_csinh.c.
7586         * k_casinh_template.c: Copy of k_casinh.c.
7588 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7590         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7592 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7594         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7595         (mul_split) Remove, rename as mul_splitl, remove
7596         redundant float.h include, and include via mul_splitl.h
7598         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7599         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7600         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7601         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7602         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7604         * math/mul_splitl.h: New file.
7606         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7607         Move into mul_split.h, and remove redundant float.h include.
7609         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7610         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7611         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7612         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7614         * math/mul_split.h: New file.
7616 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7618         * math/Makefile (libm-gen-calls): Move
7619         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7620         (libm-calls): Remove above.
7622         * math/s_cacos_template.c: Update using type-generic macros.
7623         * math/s_cacosh_template.c: Likewise.
7624         * math/s_ccos_template.c: Likewise.
7625         * math/s_ccosh_template.c: Likewise.
7627         * math/s_cacosf.c: Removed.
7628         * math/s_cacos.c: Removed.
7629         * math/s_cacosl.c: Removed.
7630         * math/s_cacoshf.c: Removed.
7631         * math/s_cacosh.c: Removed.
7632         * math/s_cacoshl.c: Removed.
7633         * math/s_ccosf.c: Removed.
7634         * math/s_ccos.c: Removed.
7635         * math/s_ccosl.c: Removed.
7636         * math/s_ccoshf.c: Removed.
7637         * math/s_ccosh.c: Removed.
7638         * math/s_ccoshl.c: Removed.
7640         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7641         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7642         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7643         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7644         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7645         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7647         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7648         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7649         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7650         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7652         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7653         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7654         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7655         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7657 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7659         * s_cacos_template.c: Copy of s_cacos.c.
7660         * s_cacosh_template.c: Copy of s_cacosh.c.
7661         * s_ccos_template.c: Copy of s_ccos.c.
7662         * s_ccosh_template.c: Copy of s_ccosh.c.
7664 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7666         * stdlib/tst-strtod-round-skeleton.c:
7667         Refactored from tst-strtod-round.c.
7669         (L_): New macro to apply literal modifier.
7670         (FNPFX): New macro to select str or wcs prefix.
7671         (CHAR): New macro to choose wchar_t or char.
7672         (STRM): New macro to choose printf for tested character type.
7674         (STRTO): New macro to choose appropriate string -> real function.
7675         (FNPFXS): Stringitized version of FNPFX.
7676         (STR): Support for above macro.
7677         (STRX): Likewise.
7679         (TEST): Update with above macros.
7680         (test): Likewise.
7681         (GEN_ONE_TEST): Likewise.
7682         (test_in_one_mode): Likewise.
7684         * stdlib/tst-strtod-round.c: New file.
7685         * wcsmbs/tst-wcstod-round.c: New file.
7687         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7688         (tst-wcstod-round): Add libm depencency for fesetround.
7690 2016-08-19  Zack Weinberg  <zackw@panix.com>
7692         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7694 2016-08-18  Torvald Riegel  <triegel@redhat.com>
7696         [BZ #20477]
7697         * resolv/res_hconf.c (do_init): Use atomic access.
7698         * resolv/res_hconf.h: Add comments.
7699         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7700         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7701         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7703 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7705         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7706         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7707         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7708         Likewise.
7710 2016-08-18  Florian Weimer  <fweimer@redhat.com>
7712         [BZ #16907]
7713         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7714         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7715         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7716         (__attribute__): Remove definition.
7718 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7720         * sysdeps/ieee754/ldbl-128/e_asinl.c:
7721         Remove unused sqrtl declaration.
7723 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7725         * math/Makefile: (gen-libm-templates.stmp): New rule.
7726         (libm-calls): Move carg conj cimag and cabs into ...
7727         (gen-libm-calls): New variable.
7728         (generated): Inform Make objects from gen-libm-calls
7729         may be generated.
7731         * sysdeps/generic/math-type-macros.h: New file.
7732         * sysdeps/generic/math-type-macros-float.h: Likewise.
7733         * sysdeps/generic/math-type-macros-double.h: Likewise.
7734         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7735         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7736         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7738         * math/cabs.c: Refactor into
7739         * math/cabs_template.c: new file.
7740         * math/cabsf.c: Removed.
7741         * math/cabsl.c: Removed.
7742         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7743         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7745         * math/carg.c: Refactor into
7746         * math/carg_template.c: new file.
7747         * math/cargf.c: Removed.
7748         * math/cargl.c: Removed.
7749         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7750         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7752         * math/conj.c: Refactor into
7753         * math/conj_template.c: new file.
7754         * math/conjf.c: Removed.
7755         * math/conjl.c: Removed.
7756         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7757         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7759         * math/cimag.c: Refactor into
7760         * math/cimag_template.c: new file.
7761         * math/cimagf.c: Removed.
7762         * math/cimagl.c: Removed.
7763         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7764         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7766         * math/cimag.c: Refactor into
7767         * math/cimag_template.c: new file.
7768         * math/cimagf.c: Removed.
7769         * math/cimagl.c: Removed.
7770         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7771         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7773 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7775         Reduce time to expected nptl/tst-once5 failure.
7776         * nptl/tst-once5.cc (TIMEOUT): Define.
7778 2016-08-17  Florian Weimer  <fweimer@redhat.com>
7780         [BZ #20452]
7781         Avoid additional copies of objects in libc.a in static libraries.
7782         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
7783         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
7784         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
7785         rt-sysdep.
7786         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
7787         Add nptl-sysdep.
7788         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
7789         Add ptw-sysdep.
7790         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
7791         rt-sysdep.
7792         * sysdeps/unix/sysv/linux/alpha/Makefile
7793         (libpthread-shared-only-routines): Add ptw-sysdep,
7794         ptw-sigprocmask, ptw-rt_sigaction.
7795         * sysdeps/unix/sysv/linux/ia64/Makefile
7796         (librt-shared-only-routines): Add rt-sysdep.
7797         * sysdeps/unix/sysv/linux/i386/Makefile
7798         (libpthread-shared-only-routines): Add libc-do-syscall.
7799         * sysdeps/unix/sysv/linux/microblaze/Makefile
7800         (libpthread-shared-only-routines): Add sysdep.
7801         * sysdeps/unix/sysv/linux/powerpc/Makefile
7802         (librt-shared-only-routines): Add rt-sysdep.
7803         (libpthread-shared-only-routines): Add sysdep.
7804         * sysdeps/unix/sysv/linux/s390/Makefile
7805         (librt-shared-only-routines): Add rt-sysdep.
7806         * sysdeps/unix/sysv/linux/sparc/Makefile
7807         (librt-shared-only-routines): Add rt-sysdep.
7808         (libpthread-shared-only-routines): Add sysdep.
7809         * sysdeps/unix/sysv/linux/tile/Makefile
7810         (libpthread-shared-only-routines): Likewise.
7812 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
7814         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
7815         Mask implicit bit out of unpacked value.
7816         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
7817         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
7818         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
7820         * sysdeps/sparc/fpu/fesetexcept.c: New file.
7822         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
7824         * sysdeps/s390/fpu/fesetexcept.c: New file.
7826         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
7827         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
7828         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
7830         * sysdeps/mips/fpu/fesetexcept.c: New file.
7832         * sysdeps/m68k/fpu/fesetexcept.c: New file.
7834         * sysdeps/ia64/fpu/fesetexcept.c: New file.
7836         * sysdeps/hppa/fpu/fesetexcept.c: New file.
7838         * sysdeps/arm/fesetexcept.c: New file.
7840         * sysdeps/alpha/fpu/fesetexcept.c: New file.
7842         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
7844         * math/fesetexcept.c: New file.
7845         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
7846         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
7847         * math/fenv.h: Define
7848         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
7849         <bits/libc-header-start.h> instead of including <features.h>.
7850         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
7851         declaration.
7852         * manual/arith.texi (fesetexcept): Document function.
7853         * math/Versions (fesetexcept): New libm symbol at version
7854         GLIBC_2.25.
7855         * math/Makefile (libm-support): Add fesetexcept.
7856         (tests): Add test-fesetexcept and test-fesetexcept-traps.
7857         * math/test-fesetexcept.c: New file.
7858         * math/test-fesetexcept-traps.c: Likewise.
7859         * sysdeps/nacl/libm.abilist: Update.
7860         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7861         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7862         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7863         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7864         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7865         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7866         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7867         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7868         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7869         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7870         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7871         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7873         Likewise.
7874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7875         Likewise.
7876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7877         Likewise.
7878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7879         Likewise.
7880         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7881         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7882         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7883         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7884         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7886         Likewise.
7887         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7888         Likewise.
7889         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7890         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7891         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7893 2016-08-16  Florian Weimer  <fweimer@redhat.com>
7895         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
7896         New.
7897         (do_test): Apply default_stack_size_in_mb if not set.
7898         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
7900 2016-08-15  Andreas Schwab  <schwab@suse.de>
7902         [BZ #20435]
7903         CVE-2016-6323
7904         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
7905         as .cantunwind.
7907 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
7909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
7910         comment from fraiseexcpt.c.
7912         * math/test-fexcept.c (feraiseexcept_exact): New function.
7913         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
7914         (test_except): Likewise.
7916 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
7918         [BZ #20455]
7919         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
7920         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
7921         to be restored.
7923         * math/test-fexcept-traps.c: New file.
7924         * math/test-fexcept.c: Likewise.
7925         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
7926         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
7927         macro.
7928         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
7929         (EXCEPTION_SET_FORCES_TRAP): Likewise.
7931 2016-08-09  Torvald Riegel  <triegel@redhat.com>
7933         * include/atomic.h (atomic_fetch_and_relaxed,
7934         atomic_fetch_and_release, atomic_fetch_or_release,
7935         atomic_fetch_xor_release): New.
7937 2016-08-06  Christian Seiler  <christian@iwakd.de>
7939         [BZ #20444]
7940         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
7941         MACH_PORT_NULL.
7943 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7945         * math/s_fdim.c: Avoid alias renamed.
7946         * math/s_fdimf.c: Likewise.
7947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7948         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7949         Add s_fdimf-vis3, s_fdim-vis3.
7950         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
7951         (CFLAGS-s_fdim-vis3.c): Likewise.
7952         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
7953         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
7955 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7958         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
7959         Remove s_fdimf-vis3, s_fdim-vis3.
7960         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
7961         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
7962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
7963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
7964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
7965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
7966         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
7967         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
7968         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
7969         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
7971 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
7973         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
7974         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
7975         -Wa,-Av9a -mvis.
7977 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7979         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
7980         LIT() to individual constants in simple expressions
7981         after splitting on spaces.
7982         (_apply_lit): Rename replaced version, and use it to
7983         apply to what appears to be a token.
7985         * math/libm-test.inc: Fix many, many issues with
7986         spacing.
7988 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
7990         * math/math.h: Move comment about <bits/mathdef.h> definitions
7991         above inclusion of <bits/mathdef.h>.  Do not mention
7992         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
7994 2016-08-05  Torvald Riegel  <triegel@redhat.com>
7996         * include/atomic.h (atomic_exchange_relaxed): New.
7998 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
8000         * math/e_scalb.c: Do not include <fenv.h>.
8001         (invalid_fn): Do calculation resulting in NaN instead of raising
8002         FE_INVALID and returning a NaN explicitly.
8003         * math/e_scalbf.c: Do not include <fenv.h>.
8004         (invalid_fn): Do calculation resulting in NaN instead of raising
8005         FE_INVALID and returning a NaN explicitly.
8006         * math/e_scalbl.c: Do not include <fenv.h>.
8007         (invalid_fn): Do calculation resulting in NaN instead of raising
8008         FE_INVALID and returning a NaN explicitly.
8010 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
8012         * po/de.po: Updated from Translation Project.
8013         * po/fi.po: Likewise.
8014         * po/sv.po: Likewise.
8016 2016-08-04  Florian Weimer  <fweimer@redhat.com>
8018         [BZ #20452]
8019         Use sysdep.o from libc.a in static libraries.
8020         * sysdeps/unix/sysv/linux/i386/Makefile
8021         (libpthread-shared-only-routines): Add sysdep.
8022         (librt-shared-only-routines): Likewise.
8024 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8026         * math/tgmath.h (nextdown): Define if
8027         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8028         (nextup): Likewise.
8030         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8031         macro.
8032         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8033         Document.
8034         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8035         Document macro.
8036         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8037         (exp10f): Likewise.
8038         (exp10l): Likewise.
8039         * math/bits/mathcalls.h (exp10): Declare if
8040         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8042         * manual/arith.texi (nextup): Fix typo in last change.
8044 2016-08-03  Zack Weinberg  <zackw@panix.com>
8046         [BZ #19239]
8047         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8048         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8049         define major, minor, and makedev to issue deprecation warnings on use.
8050         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8051         previously-activated deprecation warnings for these macros and prevent
8052         subsequent inclusions of this header from having any effect.
8053         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8054         including <sys/sysmacros.h>, and undefine it again afterward.
8056 2016-08-03  Zack Weinberg  <zackw@panix.com>
8058         * sysdeps/generic/sys/sysmacros.h: Delete file.
8059         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8060         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8061         * bits/sysmacros.h: ... here; this encoding is now the generic
8062         encoding.  Now defines only the following macros:
8063         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8064         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8065         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8067         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8068         bits/sysmacros.h and the above new macros to generate the
8069         public implementations of major, minor, and makedev.
8070         * misc/tst-makedev.c: New test.
8071         * include/sys/sysmacros.h: New wrapper.
8073         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8074         (routines): Add makedev.
8075         (tests): Add tst-makedev.
8076         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8077         gnu_dev_makedev.
8078         * posix/Makefile (headers): Remove sys/sysmacros.h.
8079         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8081         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8082         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8083         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8084         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8085         * sysdeps/unix/sysv/linux/arm/libc.abilist
8086         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8087         * sysdeps/unix/sysv/linux/i386/libc.abilist
8088         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8089         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8090         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8091         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8092         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8093         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8094         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8095         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8096         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8101         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8102         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8103         * sysdeps/unix/sysv/linux/sh/libc.abilist
8104         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8108         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8109         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8110         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8111         Add GLIBC_2.25.
8113         * include/features.h (__glibc_clang_prereq): New macro.
8114         * misc/sys/cdefs.h (__glibc_clang_has_extension)
8115         (__attribute_deprecated_msg__): New macros.
8117 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8119         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8120         macro.
8121         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8122         * manual/arith.texi (issignaling): Document as ISO from TS
8123         18661-1:2014.
8124         (nextup): Likewise.
8125         (nextupf): Likewise.
8126         (nextupl): Likewise.
8127         (nextdown): Likewise.
8128         (nextdownf): Likewise.
8129         (nextdownl): Likewise.
8130         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8131         macro.
8132         * math/math.h: Define
8133         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8134         <bits/libc-header-start.h> instead of including <features.h>.
8135         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8136         [__USE_GNU].
8137         * math/bits/mathcalls.h (nextdown): Declare if
8138         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8139         (nextup): Likewise.
8140         (__issignaling): Likewise.
8142 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8144         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8145         check, and remove __glibc_likely hint
8146         from FP_INFINITE check.
8147         * s_csinhf.c (__csinhf): Likewise.
8149         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8150         hint from FP_INFINITE check.
8151         * s_csinhl.c (__csinhl): Likewise.
8153 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8155         * math/Makefile (libm-calls): Insert F placeholder into
8156         object names.  Move w_lgamma_compat* routines into
8157         (libm-compat-calls): New variable.
8158         (libm-compat-calls-ldouble-yes): New variable.
8159         (calls): Insert F placeholder.
8160         (generated): Redefine using new type-foreach macro call.
8161         (routines): Likewise.
8163         (types): New variable to hold a list of symbolic names
8164         for each type supported by the target machine.
8165         (libm-routines): Redefine using new types variable.
8166         (type-foreach): macro to replace fooF with the
8167         appropriately suffixed foo for each types.
8169         (type-ldouble-suffix): New variable.
8170         (type-ldouble-routines): Likewise.
8171         (type-ldouble-yes): Likewise.
8172         (type-double-suffix): Likewise.
8173         (type-double-routines): Likewise.
8174         (type-float-suffix): Likewise.
8175         (type-float-routines): Likewise.
8177         (dbl-only-routines): Remove.
8178         (long-c-yes): Likewise.
8179         (long-m-routines): Likewise.
8180         (long-m-support): Likewise.
8181         (long-m-yes): Likewise.
8182         (test-longdouble-yes): Likewise.
8184         (test-float.o): Simplify by increasing the scope of the
8185         recipe which adds libm-test.stmp to the vector types.
8186         (test-ifloat.o): Likewise.
8187         (test-float-finite.o): Likewise.
8188         (test-double.o): Likewise
8189         (test-idouble.o): Likewise.
8190         (test-double-finite.o): Likewise.
8191         (test-ldouble.o): Likewise
8192         (test-ildoubl.o): Likewise.
8193         (test-ldouble-finite.o): Likewise.
8195         (libm-tests): Redefine type tests using foreach and the
8196         list of types in types.
8198         (CPPFLAGS-test-ildoubl.c): Rename to
8199         (CPPFLAGS-test-ildouble.c): New variable
8201         * math/test-ildoubl.c: Rename to
8202         * math/test-ildouble.c: New file.
8204 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8206         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8207         Use fabsl instead of fabs.
8208         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8209         Likewise.
8210         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8211         Add long double suffix to constant to ensure proper
8212         promotion to long double.
8214 2016-08-03  Tom Tromey  <tom@tromey.com>
8216         [BZ #20311]
8217         * nptl_db/Makefile (headers): Add proc_service.h.
8218         * nptl_db/proc_service.h: Add include guard.  Use
8219         __BEGIN/__END_DECLS.
8220         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8221         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8222         arguments.
8225 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8227         [BZ #17730]
8228         Avoid using memalign for TCB allocations.
8229         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8230         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8231         Avoid alignment gap in the TLS_DTV_AT_TP case.
8232         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8233         determine the pointer to free.
8234         * nptl/tst-tls3-malloc.c: New test.
8235         * nptl/Makefile (tests): Add it.
8236         (tst-tls3-malloc): Link with libdl, libpthread.
8237         (LDFLAGS-tst-tls3-malloc): Set.
8238         (tst-tls3-malloc.out): Depend on DSO used in test.
8240 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8242         [BZ #17730]
8243         Avoid using memalign for TLS allocations.
8244         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8245         is_static member with to_free member.
8246         (union dtv): Use struct dtv_pointer.
8247         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8248         dtv_pointer instead of is_static.
8249         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8250         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8251         instead of val.
8252         (allocate_dtv_entry): New function.
8253         (allocate_and_init): Return struct dtv_pointer.  Call
8254         allocate_dtv_entry instead of __libc_memalign.
8255         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8256         instead of val.
8257         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8258         instead of is_static.  Adjust call to allocate_and_init.
8259         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8260         struct dtv_pointer instead of val.
8262 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8264         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8265         (MALLOC_ALIGN_MASK): Move ...
8266         * malloc/malloc-internal.h: ... to here.
8267         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8269 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8271         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8272         (UDP_ENCAP_GTP1U): Likewise.
8274         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8275         (PF_MAX): Update value.
8276         (AF_QIPCRTR): New macro.
8278 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8280         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8281         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8282         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8283         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8284         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8285         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8286         s_truncf-vis3, s_trunc-vis3.
8287         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8288         (CFLAGS-s_ceil-vis3.c): Likewise.
8289         (CFLAGS-s_floorf-vis3.c): Likewise.
8290         (CFLAGS-s_floor-vis3.c): Likewise.
8291         (CFLAGS-s_truncf-vis3.c): Likewise.
8292         (CFLAGS-s_trunc-vis3.c): Likewise.
8293         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8297         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8298         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8299         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8301         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8302         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8303         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8304         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8306 2016-08-02  David S. Miller  <davem@davemloft.net>
8308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8309         (__nearbyint_vis3): Don't check for sNaN before float register is
8310         loaded with the incoming argument.
8311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8312         (__nearbyintf_vis3): Likewise.
8313         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8314         Likewise.
8315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8316         Likewise.
8318         * string/test-strncmp.c (do_test_limit): Make sure the test data
8319         stream is aligned as required for the type "CHAR".
8320         (do_test): Likewise.
8322 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8324         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8325         by beq instructions jumping to the end of the function.
8326         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8327         clobber list. Use "i" constraint instead of "X".
8328         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8329         of "X".
8331 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8333         * bits/libc-header-start.h: New file.
8334         * Makefile (headers): Add bits/libc-header-start.h.
8335         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8336         (__GLIBC_USE): New macro.
8337         * libio/stdio.h: Define
8338         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8339         <bits/libc-header-start.h> instead of including <features.h>.
8340         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8341         (open_memstream): Likewise.
8342         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8343         (__asprintf): Likewise.
8344         (asprintf): Likewise.
8345         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8346         (getdelim): Likewise.
8347         (getline): Likewise.
8348         * string/string.h: Define
8349         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8350         <bits/libc-header-start.h> instead of including <features.h>.
8351         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8352         (strndup): Likewise.
8353         * wcsmbs/wchar.h: Define
8354         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8355         <bits/libc-header-start.h> instead of including <features.h>.
8356         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8357         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8359 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8361         Support linking against compatibility symbols, for use in tests.
8362         * include/libc-symbols.h (symbol_version_reference): New macro.
8363         (symbol_version): Use it.
8364         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8365         (compat_symbol): Use compat_symbol_reference.
8366         (compat_symbol_1, compat_symbol_2): Remove.
8367         (compat_symbol_reference, compat_symbol_reference_1)
8368         (compat_symbol_reference_2): New macro.  Use
8369         symbol_version_reference.
8371 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8373         [BZ #19469]
8374         * malloc/Makefile (CPPFLAGS): Compile tests with
8375         -DTEST_NO_MALLOPT.
8376         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8378 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8380         [BZ #20033]
8381         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8382         finite version.
8383         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8384         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8385         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8386         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8387         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8388         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8389         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8390         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8391         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8392         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8393         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8394         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8395         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8396         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8397         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8398         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8399         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8400         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8401         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8402         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8403         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8404         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8405         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8406         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8407         in zero power.
8409 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8411         [BZ #20370]
8412         * malloc/arena.c (get_free_list): Update comment.  Assert that
8413         arenas on the free list have no attached threads.
8414         (remove_from_free_list): New function.
8415         (reused_arena): Call it.
8417 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8419         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8420         when it is a NaN.
8421         [_IEEE_FP_INEXACT] Remove.
8422         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8423         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8424         when it is a NaN.
8425         [_IEEE_FP_INEXACT] Remove.
8426         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8427         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8428         when it is a NaN.
8429         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8430         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8431         when its absolute value is greater than 0x1.0p52.
8432         [_IEEE_FP_INEXACT] Remove.
8433         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8434         when its absolute value is greater than 0x1.0p23.
8435         [_IEEE_FP_INEXACT] Remove.
8437 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8439         * version.h (RELEASE): Set to "development"
8440         (VERSION): Set to 2.24.90.
8441         * NEWS: Add 2.25 section.
8443         * version.h (RELEASE): Set to "stable"
8444         (VERSION): Set to 2.24.
8445         * include/features.h (__GLIBC_MINOR__): Set to 24.
8447         * NEWS: Add 2.24 fixed bugs.
8448         * po/libc.pot: Regenerate.
8450 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8453         [$(subdir) = math] (libm-sysdep_routines): Remove.
8454         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8455         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8456         s_truncf-vis3, s_trunc-vis3.
8457         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8459         file.
8460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8475         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8481         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8482         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8483         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8484         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8485         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8486         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8489         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8492         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8493         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8494         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8495         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8496         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8497         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8498         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8499         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8500         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8501         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8502         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8504 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8506         [BZ #20384]
8507         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8508         test-double-libmvec-sincos-avx-main.o,
8509         test-double-libmvec-sincos-avx2-main.o,
8510         test-double-libmvec-sincos-main.o,
8511         test-float-libmvec-sincosf-avx-main.o,
8512         test-float-libmvec-sincosf-avx2-main.o and
8513         test-float-libmvec-sincosf-main.o.
8514         test-float-libmvec-sincosf-avx512-main.o.
8515         ($(objpfx)test-double-libmvec-sincos): Also link with
8516         $(objpfx)test-double-libmvec-sincos-main.o.
8517         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8518         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8519         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8520         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8521         ($(objpfx)test-float-libmvec-sincosf): Also link with
8522         $(objpfx)test-float-libmvec-sincosf-main.o.
8523         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8524         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8525         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8526         test-double-libmvec-sincos-avx512-main.o and
8527         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8528         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8529         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8530         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8531         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8532         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8533         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8534         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8535         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8536         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8537         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8538         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8539         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8540         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8541         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8542         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8543         -DREQUIRE_AVX2.
8544         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8545         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8546         -DREQUIRE_AVX512F.
8547         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8548         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8549         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8550         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8551         file.
8552         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8553         Likewise.
8554         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8555         Likewise.
8556         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8557         Likewise.
8558         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8559         Likewise.
8560         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8561         Likewise.
8562         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8563         Likewise.
8564         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8565         Likewise.
8567 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8569         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8571 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8573         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8574         and typo in a comment about AT_HWCAP entry.
8576 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8578         * sysdeps/aarch64/libm-test-ulps: Updated.
8580 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8582         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8583         of r13 as it is not restored in mvcle case.
8585 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8587         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8588         Rename "ret" to "__ret".
8589         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8590         inline_syscall5, inline_syscall6): Likewise.
8592 2016-07-19   Will Newton  <will.newton@gmail.com>
8594         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8595         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8596         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8597         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8598         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8600 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8602         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8603         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8604         -mfpmath=387 with $(rtld-CFLAGS).
8605         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8606         $(rtld-CFLAGS).
8608 2016-07-18   Ross Burton  <ross.burton@intel.com>
8609              Khem Raj  <raj.khem@gmail.com>
8611         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8612         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8613         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8614         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8615         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8616         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8617         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8618         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8619         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8620         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8621         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8622         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8623         R_METAG_TLS_DTPOFF): New.
8625 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8626             Matt Clay  <mclay@lycos.com>
8628         [BZ #20357]
8629         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8630         to call __mpsin/__mpcos and to negate values.
8631         * math/auto-libm-test-in: Add test.
8632         * math/auto-libm-test-out: Regenerate.
8634 2016-07-18  Zack Weinberg  <zackw@panix.com>
8636         * grp/Makefile: Don't install the internal header grp-merge.h.
8638 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8640         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8642 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8644         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8646 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8648         [BZ #15368]
8649         * sysdeps/unix/sysv/linux/nptl-signals.h
8650         (__nptl_clear_internal_signals): New function.
8651         (__libc_signal_block_all): Likewise.
8652         (__libc_signal_block_app): Likewise.
8653         (__libc_signal_restore_set): Likewise.
8654         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8655         implementation.
8656         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8657         the cached pid/tid value in pthread structure.
8659 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8661         [BZ #20347]
8662         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8664 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8666         [BZ #20348]
8667         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8668         preadv64, pwrite64 and pwritev64.
8670 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8672         [BZ #20350]
8673         * posix/tst-preadwrite.c: Renamed to ...
8674         * posix/tst-preadwrite-common.c: This.
8675         (PREAD): Removed.
8676         (PWRITE): Likewise.
8677         (STRINGIFY): Likewise.
8678         (STRINGIFY2): Likewise.
8679         (do_prepare): Make it static and remove function arguments.
8680         (do_test): Likewise.
8681         (PREPARE): Updated.
8682         (TEST_FUNCTION): New.
8683         (name): Make it static.
8684         (fd): Likewise.
8685         (do_prepare): Use create_temp_file.
8686         (do_test): Renamed to ...
8687         (do_test_with_offset): This.  Make it static and accept offset.
8688         Properly check return value of PWRITE and PREAD.  Return bytes
8689         read.  Don't close fd nor unlink name.
8690         * posix/tst-preadwrite.c: Rewrite.
8691         * posix/tst-preadwrite64.c: Likewise.
8693 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8695         [BZ #20309]
8696         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8697         -mtls-dialect=gnu2 works.
8698         * configure: Regenerated.
8699         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8700         (tests): Add tst-gnu2-tls1.
8701         (modules-names): Add tst-gnu2-tls1mod.
8702         ($(objpfx)tst-gnu2-tls1): New.
8703         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8704         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8705         * elf/tst-gnu2-tls1.c: New file.
8706         * elf/tst-gnu2-tls1mod.c: Likewise.
8707         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8708         bytes for push in the PLT entry to align the stack.
8710 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
8712         [BZ #20349]
8713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8715 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8717         [BZ #18707]
8718         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8719         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8721 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8723         * sysdeps/unix/sysv/linux/sysdep.h
8724         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8725         guards.
8726         * misc/tst-preadvwritev-common.c: New file.
8727         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8728         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8729         a check for files larger than 2GB.
8731         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8732         (__ASSUME_OFF_DIFF_OFF64): Remove define.
8733         * sysdeps/unix/sysv/linux/pread.c
8734         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8735         __OFF_T_MATCHES_OFF64_T.
8736         * sysdeps/unix/sysv/linux/pread64.c
8737         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8738         * sysdeps/unix/sysv/linux/preadv.c
8739         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8740         * sysdeps/unix/sysv/linux/preadv64.c
8741         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8742         * sysdeps/unix/sysv/linux/pwrite.c
8743         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8744         * sysdeps/unix/sysv/linux/pwrite64.c
8745         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8746         * sysdeps/unix/sysv/linux/pwritev.c
8747         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8748         * sysdeps/unix/sysv/linux/pwritev64.c
8749         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8751 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
8753         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8754         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8756 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8758         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8760 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
8762         [BZ #20240]
8763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8764         (CFLAGS-s_modf-ppc32.c): New variable.
8765         (CFLAGS-s_modff-ppc32.c): Likewise.
8766         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8767         (CFLAGS-s_modf-ppc64.c): Likewise.
8768         (CFLAGS-s_modff-ppc64.c): Likewise.
8770 2016-07-07  Andreas Schwab  <schwab@suse.de>
8772         [BZ #20263]
8773         * nptl/tst-robust10.c: New test.
8774         * nptl/Makefile (tests): Add tst-robust10.
8776 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
8778         [BZ #20263]
8779         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
8781 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
8783         * sysdeps/s390/linkmap.h (struct link_map_machine):
8784         Remove member gotplt and add member jmprel.
8785         * sysdeps/s390/s390-32/dl-machine.h
8786         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
8787         instead of gotplt with &got[3].
8788         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
8789         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8791 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
8793         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
8795 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8797         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
8798         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
8799         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8800         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
8801         * libio/vtables.c (_IO_vtable_check)
8802         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
8803         * libio/libioP.h (IO_set_accept_foreign_vtables)
8804         [!PTR_MANGLE]: Do not call PTR_MANGLE.
8806 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
8808         [BZ #20314]
8809         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
8810         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
8811         $(common-objpfx)cmath.
8812         ($(common-objpfx)cstdlib): New target.
8813         ($(common-objpfx)cmath): Likewise.
8815 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
8817         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
8819 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8821         [BZ #20327]
8822         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
8823         are not part of the string.
8825 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8827         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
8828         * nptl/tst-cancel4-common.h (fifoname): New variable.
8829         (fifofd): Likewise.
8830         (cl_fifo): New function.
8831         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
8832         SIGINT.
8833         (tf_open): Add early cancel test.
8835 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
8837         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
8839 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
8841         * sysdeps/generic/ldsodefs.h
8842         (dl_symbol_visibility_binds_local_p): New inline function.
8843         * elf/dl-addr.c (determine_info): Treat hidden and internal
8844         symbols as local.
8845         * elf/dl-lookup.c (do_lookup_x): Likewise.
8846         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
8848 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
8850         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
8851         invalid exception for a sNaN input.
8852         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8853         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8854         (__nearbyint_vis3): Likewise
8855         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8856         (__nearbyintf_vis3): Likewise
8857         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
8858         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
8859         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
8860         Likewise.
8861         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
8862         Likewise.
8864 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
8866         [BZ #20139]
8867         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
8868         (HAVE_AVX512DQ_ASM_SUPPORT): This.
8869         * sysdeps/x86_64/configure.ac: Require assembler from binutils
8870         2.24 or above.
8871         (HAVE_AVX512_ASM_SUPPORT): Removed.
8872         (HAVE_AVX512DQ_ASM_SUPPORT): New.
8873         * sysdeps/x86_64/configure: Regenerated.
8874         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
8875         check unconditional.
8876         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
8877         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
8878         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
8879         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
8880         Likewise.
8881         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8882         Likewise.
8883         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
8884         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
8885         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
8886         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
8887         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
8888         Likewise.
8889         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8890         Likewise.
8891         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8892         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8893         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
8894         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
8895         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
8896         Likewise.
8897         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
8898         Likewise.
8899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
8900         Likewise.
8901         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
8902         Likewise.
8903         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
8904         Likewise.
8905         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
8906         Likewise.
8907         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
8908         Likewise.
8909         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
8910         Likewise.
8911         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
8912         Likewise.
8913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
8914         Likewise.
8915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
8916         Likewise.
8918 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
8920         [BZ #20024]
8921         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
8922         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
8923         of this implementation of vector function.
8924         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
8925         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
8926         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
8927         Likewise.
8928         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
8929         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
8930         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
8931         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
8932         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
8933         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
8934         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
8935         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
8936         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
8937         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
8938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
8939         for testing vector sincos with fixed ABI.
8940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
8941         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
8942         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
8943         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
8944         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
8945         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
8946         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
8947         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
8948         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
8949         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
8950         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
8951         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
8952         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
8953         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
8954         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8955         * sysdeps/x86_64/fpu/Makefile: Added new tests.
8957 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
8959         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
8961 2016-06-30  Anton Blanchard  <anton@samba.org>
8963         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8964         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
8965         s_sinf-ppc64.
8966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
8967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
8968         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
8969         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
8971 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8975         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
8976         e_expf-ppc64.
8977         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
8978         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
8979         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
8980         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
8982 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
8984         [BZ #20277]
8985         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
8986         when SHARED is defined.
8988 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
8990         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
8991         (index_arch_Prefer_ERMS): Likewise.
8992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
8993         __memcpy_erms for Prefer_ERMS.
8994         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8995         (__memmove_erms): Enabled for libc.a.
8996         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
8997         __memmove_erms or Prefer_ERMS.
8998         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
8999         __mempcpy_erms for Prefer_ERMS.
9000         * sysdeps/x86_64/multiarch/memset.S (memset): Return
9001         __memset_erms for Prefer_ERMS.
9003 2016-06-30  Andreas Schwab  <schwab@suse.de>
9005         [BZ #20262]
9006         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9007         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
9008         of memory.
9010 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
9012         [BZ #18645]
9013         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9014         (test-extras): Add tst-cleanupx4aux.
9015         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
9016         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9017         tst-cleanupx4aux.o.
9018         * nptl/tst-cleanupx4aux.c: New file.
9020 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9022         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9024 2016-06-29  Andreas Schwab  <schwab@suse.de>
9026         [BZ #20260]
9027         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9028         address before the beginning of the string as an integer to avoid
9029         array-bounds warning.
9031 2016-06-28  Richard Henderson  <rth@redhat.com>
9033         * elf/elf.h (EM_BPF): New.
9034         (EM_NUM): Update.
9035         (R_BPF_NONE, R_BPF_MAP_FD): New.
9037         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9038         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9039         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9040         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9041         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9042         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9043         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9044         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9045         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9046         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9047         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9048         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9049         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9050         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9051         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9052         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9053         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9054         (EM_NUM): Update.
9056 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
9058         [BZ #18960]
9059         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9060         Set _nl_current_LC_CATEGORY_used to two instead of one.
9062 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
9064         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9065         (do_test): ... this.
9066         (TEST_FUNCTION): New macro.
9067          Include test-skeleton.c.
9068         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9069         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9071 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
9073         [BZ #15479]
9074         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9075         floating-point environment rather than just control word.
9076         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9077         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9078         floating-point environment, with "invalid" exceptions merged in,
9079         rather than just control word.
9080         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9081         * math/libm-test.inc (trunc_test_data): Do not allow spurious
9082         "inexact" exceptions.
9084         [BZ #15479]
9085         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9086         floating-point environment rather than just control word.
9087         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9088         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9089         floating-point environment, with "invalid" exceptions merged in,
9090         rather than just control word.
9091         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9092         * math/libm-test.inc (floor_test_data): Do not allow spurious
9093         "inexact" exceptions.
9095         [BZ #15479]
9096         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9097         floating-point environment rather than just control word.
9098         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9099         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9100         floating-point environment, with "invalid" exceptions merged in,
9101         rather than just control word.
9102         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9103         * math/libm-test.inc (ceil_test_data): Do not allow spurious
9104         "inexact" exceptions.
9106 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
9108         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9109         __libc_vfork.
9110         (__vfork) [IS_IN (libc)]: Remove alias.
9111         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9112         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9113         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9115 2016-06-24  Torvald Riegel  <triegel@redhat.com>
9117         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9118         of atomic_compare_and_exchange_bool_rel.
9119         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9120         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9121         catomic_compare_and_exchange_bool_rel): Remove.
9122         * sysdeps/aarch64/atomic-machine.h
9123         (atomic_compare_and_exchange_bool_rel): Likewise.
9124         * sysdeps/alpha/atomic-machine.h
9125         (atomic_compare_and_exchange_bool_rel): Likewise.
9126         * sysdeps/arm/atomic-machine.h
9127         (atomic_compare_and_exchange_bool_rel): Likewise.
9128         * sysdeps/mips/atomic-machine.h
9129         (atomic_compare_and_exchange_bool_rel): Likewise.
9130         * sysdeps/microblaze/atomic-machine.h
9131         ( __arch_compare_and_exchange_bool_8_rel,
9132         __arch_compare_and_exchange_bool_16_rel): Likewise.
9133         * sysdeps/powerpc/atomic-machine.h
9134         ( __arch_compare_and_exchange_bool_8_rel,
9135         __arch_compare_and_exchange_bool_16_rel): Likewise.
9136         * sysdeps/powerpc/powerpc32/atomic-machine.h
9137         ( __arch_compare_and_exchange_bool_32_rel,
9138         __arch_compare_and_exchange_bool_64_rel): Likewise.
9139         * sysdeps/powerpc/powerpc64/atomic-machine.h
9140         ( __arch_compare_and_exchange_bool_32_rel,
9141         __arch_compare_and_exchange_bool_64_rel): Likewise.
9142         * sysdeps/tile/atomic-machine.h
9143         (atomic_compare_and_exchange_bool_rel): Likewise.
9145 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
9147         [BZ #20296]
9148         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9149         when either argument is a NaN.
9150         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9151         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9153         * math/libm-test.inc (snan_value_ld): New macro.
9154         (isgreater_test_data): Add sNaN tests.
9155         (isgreaterequal_test_data): Likewise.
9156         (isless_test_data): Likewise.
9157         (islessequal_test_data): Likewise.
9158         (islessgreater_test_data): Likewise.
9159         (isunordered_test_data): Likewise.
9160         (nextafter_test_data): Likewise.
9161         (nexttoward_test_data): Likewise.
9162         (remainder_test_data): Likewise.
9163         (remquo_test_data): Likewise.
9164         (significand_test_data): Likewise.
9165         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9167 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9169         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9170         environment macros are defined.
9171         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9173 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9175         [BZ #20191]
9176         Implement vtable verification in libio.
9177         * Makerules (shlib.lds): Place __libc_IO_vtables section.
9178         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9179         * debug/vdprintf_chk.c (__vdprintf_chk): Call
9180         _IO_new_file_init_internal instead of _IO_file_init.
9181         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9182         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9183         * libio/Makefile (routines): Add vtables.
9184         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9185         (_IO_init): Remove, not for internal use.
9186         (_IO_init_internal): Declare, internal replacement for _IO_init.
9187         (_IO_file_init): Remove, not for internal use.
9188         (_IO_new_file_init): Remove, not for internal use.
9189         (_IO_new_file_init_internal): Declare, internal replacement for
9190         _IO_new_file_init.
9191         (_IO_old_file_init): Remove, not for internal use.
9192         (_IO_old_file_init_internal): Declare, internal replacement for
9193         _IO_old_file_init.
9194         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9195         internal use.
9196         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9197         Declare.
9198         (libio_vtable): New macro.
9199         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9200         functions.
9201         * libio/fileops.c (_IO_new_file_init_internal): Rename from
9202         _IO_new_file_init.
9203         (_IO_new_file_init): New externally visible wrapper which disables
9204         vtable verification.
9205         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9206         Define as vtables.
9207         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9208         (_IO_init): New externally visible wrapper which disables
9209         vtable verification.
9210         * libio/iofdopen.c (_IO_new_fdopen): Call
9211         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
9212         comment.
9213         * libio/iofopen.c (__fopen_internal): Call
9214         _IO_new_file_init_internal instead of _IO_file_init.
9215         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9216         Define as vtables.
9217         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9218         _IO_new_file_init_internal instead of _IO_file_init.
9219         * libio/iopopen.c (_IO_new_popen): Likewise.
9220         (_IO_proc_jumps): Define as vtable.
9221         * libio/iovdprintf.c (_IO_vdprintf): Call
9222         _IO_new_file_init_internal instead of _IO_file_init.
9223         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9224         (__open_memstream): Call _IO_init_internal instead of _IO_init.
9225         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9226         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9227         _IO_old_file_init.
9228         (_IO_old_file_init): New externally visible wrapper which disables
9229         vtable verification.
9230         (_IO_old_file_jumps): Define as vtable.
9231         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9232         _IO_old_file_init_internal instead of _IO_old_file_init.
9233         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9234         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9235         (_IO_old_proc_jumps): Define as vtable.
9236         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9237         Define as vtables.
9238         * libio/vtables.c: New file.
9239         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9240         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9241         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9242         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9243         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9244         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9245         instead of _IO_init.
9247 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9249         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9251 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9253         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9254         potentially unused.
9256 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9258         * test-skeleton.c (write_message): New function.
9259         * malloc/tst-mallocfork2.c (write_message): Remove.
9260         * debug/tst-longjmp_chk2.c (write_indented): New function.
9261         (write_message): Remove.
9262         (stackoverflow_handler): Call write_indented.
9264 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9266         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9267         "inexact" exceptions after fnstenv.
9268         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9269         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9270         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9272 2015-06-22  Zack Weinberg  <zackw@panix.com>
9274         * sysdeps/generic/bits/hwcap.h: Moved to ...
9275         * bits/hwcap.h: Here.
9277 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9279         * sysdeps/aarch64/memcpy.S (memcpy):
9280         Further tuning for performance.
9282 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9284         [BZ #20284]
9285         * malloc/arena.c (reused_arena): Do not return NULL if we start
9286         out with a non-corrupted arena.
9288 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9290         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9291         * misc/tst-preadvwritev.c: New file.
9292         * misc/tst-preadvwritev64.c: Likewise.
9293         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9294         usage.
9295         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9296         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9297         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9298         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9300 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9302         [BZ #19654]
9303         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9304         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9305         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9306         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9307         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9308         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9309         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9310         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9311         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9312         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9313         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9314         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9315         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9316         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9317         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9318         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9319         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9320         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9321         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9322         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9323         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9324         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9325         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9326         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9327         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9328         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9330 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9332         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9333         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9335 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9337         * sysdeps/aarch64/memcpy.S (memcpy):
9338         Rewrite of optimized memcpy and memmove.
9339         * sysdeps/aarch64/memmove.S (memmove): Remove
9340         memmove code (merged into memcpy.S).
9342 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9344         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9345         * sysdeps/generic/dl-dtv.h: New file.
9346         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9347         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9348         (dtv_t): Remove.
9349         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9350         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9351         (dtv_t): Remove.
9352         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9353         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9354         (dtv_t): Remove.
9355         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9356         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9357         (dtv_t): Remove.
9358         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9359         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9360         (dtv_t): Remove.
9361         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9362         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9363         (dtv_t): Remove.
9364         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9365         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9366         (dtv_t): Remove.
9367         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9368         (dtv_t): Remove.
9369         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9370         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9371         (dtv_t): Remove.
9372         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9373         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9374         (dtv_t): Remove.
9375         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9376         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9377         (dtv_t): Remove.
9378         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9379         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9380         (dtv_t): Remove.
9381         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9382         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9383         (dtv_t): Remove.
9384         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9385         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9386         (dtv_t): Remove.
9387         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9388         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9389         (dtv_t): Remove.
9390         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9391         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9392         (dtv_t): Remove.
9394 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9396         Revert symbol poisoning of  __malloc_initialize_hook.
9397         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9398         poisoning.
9399         * malloc/Makefile: Remove un-poisoning.
9400         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9401         instead of old__malloc_initialize_hook.
9402         * malloc/malloc-hooks.h: Likewise.
9403         * malloc/malloc.c: Likewise.
9404         * malloc/mcheck-init.c: Likewise.
9406 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9408         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9410 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9412         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9413         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9414         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9415         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9417 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9419         * NEWS: Mention addition of nextup and nextdown.
9420         * manual/arith.texi: Document nextup and nextdown.
9421         * manual/libm-err-tab.pl: Add nextup and nextdown.
9422         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9423         * math/Versions (libm): Add GLIBC_2.24.
9424         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9425         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9426         Add new test.
9427         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9428         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9429         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9430         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9431         (nextup_test_data): Likewise.
9432         (nextdown_test_data): Likewise.
9433         * math/s_nextdown.c: New file.
9434         * math/s_nextdownf.c: Likewise.
9435         * math/s_nextdownl.c: Likewise.
9436         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9437         F(nextup): New function.
9438         F(nextdown): Likewise.
9439         * math/tgmath.h: Add nextup and nextdown.
9440         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9441         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9442         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9443         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9444         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9445         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9446         Add nextup and nextdown.
9447         (CFLAGS-nldbl-nextup.c): New variable.
9448         (CFLAGS-nldbl-nextdown.c): Likewise.
9449         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9450         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9451         * sysdeps/nacl/libm.abilist: Update.
9452         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9453         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9454         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9455         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9456         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9457         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9458         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9459         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9460         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9461         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9462         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9463         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9466         Likewise.
9467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9469         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9470         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9471         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9472         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9473         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9474         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9475         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9476         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9477         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9478         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9479         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9481 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9483         * manual/pattern.texi: Fix typos & grammar errors.
9485 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9487         * manual/search.texi: Fix typos & grammar errors.
9489 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9491         * manual/message.texi: Fix typos & grammar errors.
9493 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9495         * manual/contrib.texi: Fix spelling typos.
9496         * manual/crypt.texi: Likewise.
9497         * manual/filesys.texi: Likewise.
9498         * manual/locale.texi: Likewise.
9499         * manual/message.texi: Likewise.
9500         * manual/nss.texi: Likewise.
9501         * manual/string.texi: Likewise.
9503 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9505         * manual/locale.texi: Fix typos & grammar errors.
9507 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9509         * manual/charset.texi: Fix typos & grammar errors.
9511 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9513         * manual/string.texi: Fix typos.
9515 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9517         * manual/ctype.texi: Fix typos.
9519 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9521         * manual/memory.texi: Fix various typos & grammar errors.
9523 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9525         [BZ #20255]
9526         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9527         * math/libm-test.inc (fdim_test_data): Add another test.
9529         [BZ #6796]
9530         [BZ #20255]
9531         [BZ #20256]
9532         * math/s_fdim.c: Include <math_private.h>.
9533         (__fdim): Use math_narrow_eval on result.
9534         * math/s_fdimf.c: Include <math_private.h>.
9535         (__fdimf): Use math_narrow_eval on result.
9536         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9537         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9538         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9539         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9540         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9541         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9542         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9543         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9544         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9545         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9546         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9547         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9548         overflow.  Add sNaN tests.
9550         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9551         fpclassify.
9552         * math/s_fdimf.c (__fdimf): Likewise.
9553         * math/s_fdiml.c (__fdiml): Likewise.
9555 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9557         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9558         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9560         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9561         ifunc'ed strcasecmp/strncasecmp.
9562         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9563         [EALIGN]: Removed.
9564         [END]: Likewise.
9565         [__strcasecmp]: Define instead of the above to control symbol name.
9566         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9567         for __strcasecmp_power8.
9568         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9569         for __strncasecmp_power8.
9570         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9571         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9572         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9573         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9574         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9575         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9577 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9579         [BZ #20252]
9580         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9581         arguments when second argument is a NaN.
9582         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9583         qNaN tests.
9585         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9586         (conj_test_data): Likewise.
9587         (copysign_test_data): Likewise.
9588         (creal_test_data): Likewise.
9589         (fma_test_data): Likewise.
9590         (fmod_test_data): Likewise.
9592         [BZ #20250]
9593         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9594         itself.
9595         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9596         zero input to itself.
9597         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9598         Likewise.
9599         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9600         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9601         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9602         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9603         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9605 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9607         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9608         * nptl/tst-cancel4-common.c: New file.
9609         * nptl/tst-cancel4-common.h: Likewise.
9610         * nptl/tst-cancel4.c: Move common definitions to
9611         tst-cancel4-common.{c,h} file.
9612         * nptl/tst-cancel4_1.c: New test.
9613         * nptl/tst-cancel4_2.c: New test.
9615 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9617         [BZ #20248]
9618         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9619         (write_message): New function.
9620         (stackoverflow_handler): Call it instead of printf, to avoid
9621         excessive stack usage by printf.
9622         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9624 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9626         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9627         (prio_inherit_missing): Remove define.
9628         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9629         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9630         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9631         Likewise.
9632         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9633         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9634         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9635         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9636         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9637         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9639 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9641         [BZ #19670]
9642         [BZ #19672]
9644         * io/test-lfs.c (do_prepare): Use xmalloc.
9645         * io/tst-fcntl.c (do_prepare): Likewise.
9646         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9647         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9648         * login/tst-utmp.c (do_prepare): Likewise.
9649         * posix/tst-exec.c (do_prepare): Likewise.
9650         * posix/tst-pathconf.c (prepare): Likewise.
9651         * posix/tst-spawn.c (do_prepare): Likewise.
9652         * posix/tst-truncate.c (do_prepare): Likewise.
9653         * rt/tst-aio.c (do_prepare): Likewise.
9654         * rt/tst-aio64.c (do_prepare): Likewise.
9656 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9658         [BZ #20237]
9659         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9660         (get*ent): Set entidx to NULL during initialization.  If entidx is
9661         NULL, start iteration from the beginning.
9663 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9665         * malloc/malloc.c (musable): Return correct size for dumped fake
9666         mmapped chunk.
9668 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9670         [BZ #20222]
9671         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9672         (_IO_cookie_write): Likewise.
9673         (_IO_cookie_seek): Likewise.
9674         (_IO_cookie_close): Likewise.
9675         (_IO_old_cookie_seek): Likewise.
9676         (set_callbacks): New function.
9677         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9679 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9681         * locale/programs/localedef.c (oldstyle_tables): Remove.
9682         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9684 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9686         [BZ #20240]
9687         * math/Makefile (CFLAGS-s_modf.c): New variable.
9688         (CFLAGS-s_modff.c): Likewise.
9689         (CFLAGS-s_modfl.c): Likewise.
9690         * math/libm-test.inc (modf_test_data): Add sNaN tests.
9692 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
9694         [BZ #20215]
9695         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9696         [!__GNUC_PREREQ (3,2)]: Likewise.
9698 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
9700         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9701         (msghdr.msg_controllen): Likewise.
9702         (cmsghdr.cmsg_len): Likewise.
9703         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9704         ptw-oldsendmsg.
9705         (CFLAGS-oldrecvmsg.c): Remove rule.
9706         (CFLAGS-oldsendmsg.c): Likewise.
9707         (CFLAGS-recvmsg.c): Add rule.
9708         (CFLAGS-sendmsg.c): Likewise.
9709         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9710         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9711         (CFLAGS-recvmsg.c): Remove rule.
9712         (CFLAGS-sendmsg.c): Likewise.
9713         (CFLAGS-oldrecvmsg.c): Likewise.
9714         (CFLAGS-oldsendmsg.c): Likewise.
9715         (CFLAGS-recvmmsg.c): Likewise.
9716         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9717         to kernel defined interfaces.
9718         (msghdr.msg_controllen): Likewise.
9719         (cmsghdr.cmsg_len): Likewise.
9720         (msghdr.__glibc_reserved1): Remove member.
9721         (msghdr.__glibc_reserved2): Likewise.
9722         (cmsghdr.__glibc_reserved1): Likewise.
9723         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9724         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9725         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9726         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9727         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9728         version.
9729         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9730         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9731         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9732         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9733         Remove recvmsg and sendmsg.
9734         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9735         Likewise.
9736         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9737         Likewise.
9738         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9739         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9740         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9741         Likewise.
9742         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9743         Likewise.
9744         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9745         [libc] (GLIBC_2.24): Likewise.
9746         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9749         Likewise.
9750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9751         [libc] (GLIBC_2.24): Likewise.
9752         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9753         Likewise.
9754         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9755         Likewise.
9756         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9757         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9758         Likewise.
9759         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9760         Likewise.
9761         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9762         Likewise.
9763         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9764         Likewise.
9765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9766         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9767         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9768         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
9769         version for {recv,send,recm,sendm}msg.
9770         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9771         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9774         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9775         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9776         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9777         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9778         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9780         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9783         Likewise.
9784         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9785         Likewise.
9786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9789         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9790         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9791         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9792         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9800 2016-06-10  Florian Weimer  <fweimer@redhat.com>
9802         [BZ #19564]
9803         Remove __malloc_initialize_hook from the API.
9804         * malloc/malloc.h (__malloc_initialize_hook): Remove.
9805         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
9806         #pragma GCC poison.
9807         * malloc/malloc-hooks.h: New file.
9808         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
9809         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
9810         (old__malloc_initialize_hook): Rename from
9811         __malloc_initialize_hook to evade poisoning.  Turn into compat
9812         symbol.
9813         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
9814         __malloc_initialize_hook.
9815         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
9816         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
9817         * manual/memory.texi (Hooks for Malloc): Remove
9818         __malloc_initialize_hook.  Adjust hook example.
9820 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
9822         [BZ #20235]
9823         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
9824         itself.
9825         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9826         * math/libm-test.inc (log2_test_data): Add sNaN tests.
9828         [BZ #20234]
9829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
9830         infinity or NaN input to itself.
9832         [BZ #20233]
9833         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
9834         to itself.
9836         [BZ #20232]
9837         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
9838         itself.
9840 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9842         * sysdeps/x86_64/start.S (_start): Always indirect branch to
9843         __libc_start_main via GOT.
9845 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
9847         * sysdeps/x86_64/memcopy.h: New file.
9848         * sysdeps/x86_64/wordcopy.c: Likewise.
9850 2016-06-09  Florian Weimer  <fweimer@redhat.com>
9852         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
9853         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
9854         <cstdlib>.
9855         (optimization_barrier): New.
9856         (do_test): Use it.  Call quick_exit in the global namespace.
9857         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
9858         instead of <cstdlib>, <thread>.
9859         (optimization_barrier): New.
9860         (non_main_thread): Adjust declaration.  Call optimization_barrier.
9861         Call quick_exit in the global namespace.
9862         (do_test): Call optimization_barrier.  Use pthread_create,
9863         pthread_join instead of std::thread.
9865 2016-06-09  Andreas Schwab  <schwab@suse.de>
9867         [BZ #19755]
9868         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
9869         new entries in auto-propagate mode.
9870         * nscd/grpcache.c (cache_addgr): Likewise.
9872 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
9874         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
9875         New functions.
9876         (add_temp_file): Use them.
9878 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
9880         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
9882 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
9884         [BZ #20229]
9885         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
9886         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
9887         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
9889         [BZ #20228]
9890         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
9891         itself.
9892         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
9893         * math/libm-test.inc (log10_test_data): Add sNaN tests.
9895         [BZ #20227]
9896         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
9897         itself.
9898         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
9899         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
9900         * math/libm-test.inc (log_test_data): Add sNaN tests.
9902         [BZ #20226]
9903         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
9904         itself.
9905         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9906         * math/libm-test.inc (exp_test_data): Add sNaN tests.
9907         (exp10_test_data): Likewise.
9908         (expm1_test_data): Likewise.
9910         [BZ #20225]
9911         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
9912         itself.
9913         * math/s_ldexpf.c (__ldexpf): Likewise.
9914         * math/s_ldexpl.c (__ldexpl): Likewise.
9915         * math/w_scalbln.c (__w_scalbln): Likewise.
9916         * math/w_scalblnf.c (__w_scalblnf): Likewise.
9917         * math/w_scalblnl.c (__w_scalblnl): Likewise.
9918         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
9919         (scalbln_test_data): Likewise.
9921         [BZ #20224]
9922         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
9923         argument to itself.
9924         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
9926 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
9928         [BZ #19776]
9929         * sysdeps/x86_64/memcpy.S: Make it dummy.
9930         * sysdeps/x86_64/mempcpy.S: Likewise.
9931         * sysdeps/x86_64/memmove.S: New file.
9932         * sysdeps/x86_64/memmove_chk.S: Likewise.
9933         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9934         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9935         * sysdeps/x86_64/memmove.c: Removed.
9936         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
9937         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9938         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
9939         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
9940         Likewise.
9941         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
9942         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
9943         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9944         memcpy-sse2-unaligned, memmove-avx-unaligned,
9945         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
9946         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
9947         (__libc_ifunc_impl_list): Replace
9948         __memmove_chk_avx512_unaligned_2 with
9949         __memmove_chk_avx512_unaligned.  Remove
9950         __memmove_chk_avx_unaligned_2.  Replace
9951         __memmove_chk_sse2_unaligned_2 with
9952         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
9953         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
9954         with __memmove_avx512_unaligned.  Replace
9955         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
9956         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
9957         with __memcpy_chk_avx512_unaligned.  Remove
9958         __memcpy_chk_avx_unaligned_2.  Replace
9959         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
9960         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
9961         Replace __memcpy_avx512_unaligned_2 with
9962         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
9963         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
9964         with __mempcpy_chk_avx512_unaligned.  Remove
9965         __mempcpy_chk_avx_unaligned_2.  Replace
9966         __mempcpy_chk_sse2_unaligned_2 with
9967         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
9968         Replace __mempcpy_avx512_unaligned_2 with
9969         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
9970         Replace __mempcpy_sse2_unaligned_2 with
9971         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
9972         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
9973         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
9974         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
9975         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
9976         (ENTRY): Removed.
9977         (END): Likewise.
9978         (ENTRY_CHK): Likewise.
9979         (libc_hidden_builtin_def): Likewise.
9980         Don't include ../memcpy.S.
9981         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
9982         __memcpy_chk_avx512_unaligned_erms and
9983         __memcpy_chk_avx512_unaligned.  Use
9984         __memcpy_chk_avx_unaligned_erms and
9985         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
9986         Default to __memcpy_chk_sse2_unaligned.
9987         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9988         Change function suffix from unaligned_2 to unaligned.
9989         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
9990         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
9991         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
9992         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
9993         (ENTRY): Removed.
9994         (END): Likewise.
9995         (ENTRY_CHK): Likewise.
9996         (libc_hidden_builtin_def): Likewise.
9997         Don't include ../mempcpy.S.
9998         (mempcpy): New.  Add a weak alias.
9999         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10000         __mempcpy_chk_avx512_unaligned_erms and
10001         __mempcpy_chk_avx512_unaligned.  Use
10002         __mempcpy_chk_avx_unaligned_erms and
10003         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10004         Default to __mempcpy_chk_sse2_unaligned.
10006 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
10008         [BZ #19881]
10009         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10010         into ...
10011         * sysdeps/x86_64/memset.S: This.
10012         (__bzero): Removed.
10013         (__memset_tail): Likewise.
10014         (__memset_chk): Likewise.
10015         (memset): Likewise.
10016         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10017         defined.
10018         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10019         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10020         (__memset_zero_constant_len_parameter): Check SHARED instead of
10021         PIC.
10022         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10023         memset-avx2 and memset-sse2-unaligned-erms.
10024         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10025         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10026         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10027         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10028         (__bzero): Enabled.
10029         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10030         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10031         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
10032         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
10033         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10034         (memset): Removed.
10035         (__memset_chk): Likewise.
10036         (MEMSET_SYMBOL): New.
10037         (libc_hidden_builtin_def): Replace __memset_sse2 with
10038         __memset_sse2_unaligned.
10039         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10040         __memset_chk_sse2 and __memset_chk_avx2 with
10041         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10042         Use __memset_chk_sse2_unaligned_erms or
10043         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
10044         __memset_chk_avx512_unaligned_erms and
10045         __memset_chk_avx512_unaligned.
10047 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10049         * math/gen-auto-libm-test.c (fp_format_desc): remove
10050         suffix member.
10051         (output_generic_value): Remove usage of suffix member,
10052         and the resulting unuse of the fp_format argument.
10053         (output_for_one_input_case): Remove unused fp_format
10054         parameter.
10056         * math/auto-libm-test-out: Regenerate.
10058         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10059         usage with TEST_COND_ibm128.
10060         (TEST_COND_flt_32): Remove.
10061         (TEST_COND_dbl_64): Remove.
10062         (TEST_COND_ldbl_96_intel): Remove.
10063         (TEST_COND_ldbl_96_m68k): Remove.
10064         (TEST_COND_ldbl_128): Remove.
10066 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10068         * auto-libm-test-in:
10069         Replace flt-32 usage with binary32.
10070         Replace dbl-64 usage with binary64.
10071         Replace ldbl-intel-96 usage with intel96.
10072         Replace ldbl-m68k-96 usage with m68k96.
10073         Replace ldbl-128ibm usage with ibm128.
10074         Replace ldbl-128 usage with binary128.
10076         * auto-libm-test-out: Regenerate.
10078 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10080         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10081         (parse_ulps): Dynamically generate type name matching
10082         string from all_floats.
10083         (get_ulps): Generate the ulps as an array instead.
10084         (output_ulps): Dynamically compose the type based
10085         on the number of supported formats, and print
10086         the indices as type specific helper macros.
10088         * math/libm-test.inc: Remove comment about CHOOSE.
10089         (ulp_data): Generate the type in libm-test-ulps.h.
10090         (ULP_IDX): New macro.
10091         (find_ulps): Update usage of max_ulp.
10093         * math/test-double-vlen2.h (CHOOSE): Remove.
10094         * math/test-double-vlen4.h (CHOOSE): Likewise.
10095         * math/test-double-vlen8.h (CHOOSE): Likewise.
10096         * math/test-float.c (CHOOSE): Likewise.
10097         * math/test-float-finite.c (CHOOSE): Likewise.
10098         * math/test-double.c (CHOOSE): Likewise.
10099         * math/test-double-finite.c (CHOOSE): Likewise.
10100         * math/test-idouble.c (CHOOSE): Likewise.
10101         * math/test-ifloat.c (CHOOSE): Likewise.
10102         * math/test-ildoubl.c (CHOOSE): Likewise.
10103         * math/test-ldouble-finite.c (CHOOSE): Likewise.
10104         * math/test-ldouble.c (CHOOSE): Likewise.
10106         * math/test-float.h (TEST_FLOAT): Remove.
10107         * math/test-double.h (TEST_DOUBLE): Likewise.
10108         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10110 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10112         * math/gen-libm-test.pl: (apply_lit): New subroutine.
10113         (parse_args): Strip C suffix from floating point literals
10114         typed with 'f' and wrap them with LIT().
10116         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10117         (test_ff_f_data_nexttoward): Rename to
10118         (test_fj_f_data): New struct.
10119         (nexttoward_test_data): Relabel tests as
10120         TEST_fj_f instead of TEST_ff_f.
10122 2016-06-08  Florian Weimer  <fweimer@redhat.com>
10124         Emacs bug 23726.
10125         * malloc/malloc.c (dumped_main_arena_start): Update comment.
10126         (__libc_realloc): Correct size computation for dumped fake mmapped
10127         chunks.
10129 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
10131         [BZ #20219]
10132         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10133         to itself.
10134         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10136         [BZ #20218]
10137         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10138         to itself.
10139         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10141 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
10143         [BZ #20195]
10144         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10145         check to ...
10146         (init_cpu_features): Here.
10148 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
10150         [BZ #20214]
10151         * sysdeps/unix/sysv/linux/bits/in.h
10152         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10153          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10154         Define to 1.
10155         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10156          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10157         Define to 0.
10158         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10159         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10161 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
10163         [BZ #20198]
10164         * stdlib/Makefile (tests): Add tst-quick_exit, and
10165         tst-thread-quick_exit.
10166         [ifeq ($(have-cxx-thread_local),yes)]
10167         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10168         (CFLAGS-tst-thread-quick_exit.o): Likewise.
10169         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10170         (LDLIBS-tst-thread-quick_exit): Likewise.
10171         [ifneq ($(have-cxx-thread_local),yes)]
10172         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10173         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10174         If run_dtors is true call __call_tls_dtors.
10175         (exit): Call __run_exit_handlers with run_dtors set to true.
10176         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10177         definition.
10178         * stdlib/quick_exit.c (quick_exit): Remove function.
10179         (__new_quick_exit): New function.
10180         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10181         function.
10182         * stdlib/tst-quick_exit.cc: New file.
10183         * stdlib/tst-thread-quick_exit.cc: New file.
10184         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10185         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10186         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10187         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10188         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10189         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10190         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10191         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10193         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10194         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10195         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10197         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10198         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10199         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10204         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10206         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10207         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10213         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10215 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10217         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10218         a typo in comments.
10220 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10222         [BZ #20213]
10223         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10224         argument to itself.
10225         * math/libm-test.inc (asin_test_data): Add sNaN tests.
10227 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10229         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10230         required flags.
10231         (CFLAGS-pwritev64.c): Likewise.
10232         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10234         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10235         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10236         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10237         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10238         syscall from auto-generation.
10239         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10240         [WORDSIZE == 64] (pwritev64): Remove macro.
10241         [!PWRITEV] (PWRITEV): Likewise.
10242         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10243         [!PWRITEV] (PWRITE): Likewise.
10244         [!PWRITEV] (OFF_T): Likewise.
10245         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10246         (LO_HI_LONG): Remove macro.
10247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10248         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10249         (PWRITEV): Remove macro.
10250         (PWRITEV_REPLACEMENTE): Likewise.
10251         (PWRITE): Likewise.
10252         (OFF_T): Likewise.
10253         (pwritev64): New function.
10254         * nptl/tst-cancel4.c (tf_writev): Add test.
10256         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10257         required flags.
10258         (CFLAGS-preadv64.c): Likewise.
10259         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10260         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10261         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10262         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10263         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10264         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10265         syscall from auto-generation.
10266         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10267         [WORDSIZE == 64] (preadv64): Remove macro.
10268         [!PREADV] (PREADV): Likewise.
10269         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10270         [!PREADV] (PREAD): Likewise.
10271         [!PREADV] (OFF_T): Likewise.
10272         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10273         (LO_HI_LONG): Remove macro.
10274         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10275         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10276         (PREADV): Remove macro.
10277         (PREADV_REPLACEMENTE): Likewise.
10278         (PREAD): Likewise.
10279         (OFF_T): Likewise.
10280         (preadv64): New function.
10281         * nptl/tst-cancel4.c (tf_preadv): Add test.
10283 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10285         [BZ #20212]
10286         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10287         argument to itself.
10288         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10290 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10292         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10293         New symbol defined as libc_hidden_def.
10294         (strcasestr): Became a weak alias to __strcasestr.
10295         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10296         according to multi-arch support.  Move __stpncpy hidden
10297         definition from here to...
10298         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10299         symbol stpncpy.
10300         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10301         libc_hidden_builtin_def.
10302         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10303         memset symbol to use when multi-arch support is available.
10305 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10307         * dlfcn/tst-rec-dlopen.c: Include string.h.
10309 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10311         * manual/install.texi: Remove mention of --without-tls
10312         * INSTALL: Regenerate.
10314 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10316         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10317         Remove.
10318         (call_function, interposed_malloc_called): New variables.
10319         (malloc): New function.
10320         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10321         and clear call_function as needed.
10323 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10325         * include/wchar.h (__wmemset): Use __typeof.
10327 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10329         * include/wchar.h (__wmemset): Declare function without typeof.
10331 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10333         [BZ #20205]
10334         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10335         exponent when incrementing negative subnormal with low mantissa
10336         word zero.
10337         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10338         Add another test.
10340 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10342         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10343         __wmemset instead of wmemset.
10345 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10347         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10348         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10349         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10350         __USE_KERNEL_IPV6_DEFS to 0.
10351         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10352         Update comment.
10354 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10356         [BZ #19861]
10357         Do not use IFUNC resolver with potentially unrelocated symbol.
10358         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10359         (DEFINE_FORK): Remove macro and inline definition.
10360         (fork_alias): Renamed from fork_ifunc.
10361         (__fork_alias): Renamed from __fork_ifunc.
10363 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10365         [BZ 19653]
10366         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10367         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10369 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10371         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10372         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10373         i386-linux-gnu).
10374         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10375         Set to no.
10376         * sysdeps/mach/hurd/configure: Refresh.
10378 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10380         [BZ #20178]
10381         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10382         on failure instead of exit.
10384 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10386         [BZ #3629]
10387         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10388         of POSIX.1-2008.
10390 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10392         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10393           Use PLT entry for calling _hurd_self_sigstate.
10395 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10397         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10398         available logical processors with SMT level type sharing L2
10399         cache for Intel processors.
10401 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10403         [BZ #20160]
10404         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10405         argument to itself before returning the result.
10406         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10407         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10408         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10410         Likewise.
10411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10412         Likewise.
10413         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10414         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10415         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10416         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10417         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10418         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10420         [BZ #20160]
10421         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10422         argument to itself before returning the result.
10423         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10424         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10425         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10426         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10427         Likewise.
10428         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10429         Likewise.
10430         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10431         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10432         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10433         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10434         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10435         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10437 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10439         * libm-test.inc: Replace usage of M_El with
10440         (lit_e): New macro.
10442 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10444         * libm-test.inc: Replace usage of M_PI_4l with
10445         (lit_pi_4_d): New macro.
10447 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10449         * libm-test.inc: Replace usage of M_PIl with
10450         (lit_pi): New macro.
10452 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10454         * libm-test.inc: Replace usage of M_PI2l with
10455         (lit_pi_2_d): New macro.
10457         * math/test-double.h (LITM): New macro.
10458         * math/test-float.h (LITM): Likewise.
10459         * math/test-ldouble.h (LITM): Likewise.
10461 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10463         * libm-test.inc (M_PI_34l): Rename to
10464         (lit_pi_3_m_4_d): New Macro.
10465         (M_PI_34_LOG10El): Rename to
10466         (lit_pi_3_m_4_ln10_m_d): New Macro.
10467         (M_PI2_LOG10El): Rename to
10468         (lit_pi_2_ln10_m_d):  New Macro.
10469         (M_PI4_LOG10El): Rename to
10470         (lit_pi_4_ln10_m_d):  New Macro.
10471         (M_PI_LOG10El): Rename to
10472         (lit_pi_ln10_d):  New Macro.
10474 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10476         [BZ #20157]
10477         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10478         determine whether to negate low half if [_ARCH_PPCGR], and integer
10479         comparison otherwise.
10480         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10481         determine whether to negate low half.
10483         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10484         (NO_TEST_INLINE_DOUBLE): Likewise.
10485         (TEST_COND_x86_64): Likewise.
10486         (TEST_COND_x86): Likewise.
10487         (M_PI_6l): Likewise.
10489 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10491         * math/libm-test.inc:
10492         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10493         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10494         (TEST_LDOUBLE): Update usage to evaluate as true if
10495         the guarded tests match the property being tested.
10496         (LDBL_MAX_EXP): Change to MAX_EXP.
10497         (LDBL_MIN_EXP): Change to MIN_EXP.
10498         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10499         nexttoward tests.
10501 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10503         * math/libm-test.inc:
10504         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10505         (TYPE_MIN): Likewise.
10506         (TYPE_TRUE_MIN): Likewise.
10507         (TYPE_MAX): Likewise.
10508         (MIN_EXP): Likewise.
10509         (MAX_EXP): Likewise.
10510         (MANT_DIG): Likewise.
10512         (FSTR_MAX): New macro.
10513         (__CONCATX): Likewise.
10514         (QTYPE_STR): Likewise.
10515         (TEST_COND_binary32): Likewise.
10516         (TEST_COND_binary64): Likewise.
10517         (TEST_COND_binary128): Likewise.
10518         (TEST_COND_ibm128): Likewise.
10519         (TEST_COND_intel96): Likewise.
10520         (TEST_COND_m68k96): Likewise.
10522         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10523         (TEST_COND_dbl_64): Likewise.
10524         (TEST_COND_ldbl_96_intel): Likewise.
10525         (TEST_COND_ldbl_96_m68k): Likewise.
10526         (TEST_COND_ldbl_128): Likewise.
10527         (TEST_COND_ldbl_128ibm): Likewise.
10529         (plus_zero): Redefine using LIT macro.
10530         (minus_zero): Likewise.
10531         (plus_infty): Redefine as (INF).
10532         (minux_infty): Redefine as (-INF).
10533         (max_value): Redefine as TYPE_MAX.
10534         (min_value): Redefine as TYPE_MIN.
10535         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10537         (print_float): Refactor to use snprintf to convert FLOAT values
10538         to string. This brings it closer to dropin replacement of strtof
10539         for the TS 18661 defined types.
10540         (update_stats): Likewise.
10541         (print_complex_function_ulps): Likewise.
10542         (print_max_error): Likewise.
10543         (print_complex_max_error): Likewise.
10544         (check_float_internal): Likewise.
10546         * math/test-float.h (PREFIX): New macro.
10547         (LIT): Likewise.
10548         (TYPE_STR): Likewise.
10549         (FTOSTR): Likewise.
10551         * math/test-double.h (PREFIX): New macro.
10552         (LIT): Likewise.
10553         (TYPE_STR): Likewise.
10554         (FTOSTR): Likewise.
10556         * math/test-ldouble.h (PREFIX): New macro.
10557         (LIT): Likewise.
10558         (TYPE_STR): Likewise.
10559         (FTOSTR): Likewise.
10561 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10563         [BZ #20156]
10564         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10565         to itself when zero or not finite.
10566         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10567         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10568         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10569         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10571 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10573         [BZ #20153]
10574         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10575         x * x + x for infinities and NaNs.
10577         [BZ #20151]
10578         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10579         argument to itself before returning result.
10580         (__ieee754_y0l): Likewise.
10581         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10582         (__ieee754_y1l).
10584         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10585         (atan_test_data): Likewise.
10586         (ceil_test_data): Likewise.
10587         (cos_test_data): Likewise.
10588         (cosh_test_data): Likewise.
10589         (erf_test_data): Likewise.
10590         (exp2_test_data): Likewise.
10591         (fabs_test_data): Likewise.
10592         (floor_test_data): Likewise.
10593         (ilogb_test_data): Likewise.
10594         (j0_test_data): Likewise.
10595         (j1_test_data): Likewise.
10596         (jn_test_data): Likewise.
10597         (lgamma_test_data): Likewise.
10598         (lrint_test_data): Likewise.
10599         (llrint_test_data): Likewise.
10600         (logb_test_data): Likewise.
10601         (lround_test_data): Likewise.
10602         (llround_test_data): Likewise.
10603         (nearbyint_test_data): Likewise.
10604         (rint_test_data): Likewise.
10605         (round_test_data): Likewise.
10606         (sin_test_data): Likewise.
10607         (sincos_test_data): Likewise.
10608         (sinh_test_data): Likewise.
10609         (sqrt_test_data): Likewise.
10610         (tan_test_data): Likewise.
10611         (tanh_test_data): Likewise.
10612         (tgamma_test_data): Likewise.
10613         (trunc_test_data): Likewise.
10614         (y0_test_data): Likewise.
10615         (y1_test_data): Likewise.
10616         (yn_test_data): Likewise.
10618         * math/libm-test.inc: Update comment about NaN testing.
10619         (TEST_SNAN): New macro.
10620         (snan_value): Likewise.
10621         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10622         (fpclassify_test_data): Add sNaN tests.
10623         (isfinite_test_data): Likewise.
10624         (isinf_test_data): Likewise.
10625         (isnan_test_data): Likewise.
10626         (isnormal_test_data): Likewise.
10627         (issignaling_test_data): Likewise.
10628         (signbit_test_data): Likewise.
10629         * math/gen-libm-test.pl (%beautify): Add snan_value.
10630         (show_exceptions): Add argument $test_snan.
10631         (parse_args): Handle snan_value as non-finite.  Update call to
10632         show_exceptions.
10633         * math/Makefile (libm-test-no-inline-cflags): Add
10634         -fsignaling-nans.
10636 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10638         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10639         (CFLAGS-oldsendmsg.c): Add rule.
10640         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10641         Correct recvmsg symbol name.
10642         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10643         Likewise.
10645 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10647         * sysdeps/unix/sysv/linux/Makefile
10648         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10649         oldsendmmsg.
10650         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10651         sendmmsg.
10652         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10653         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10655         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10657         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10658         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10660         Likewise.
10661         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10662         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10663         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10664         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10665         iovlen and controllen fields to adjust to POSIX specification.
10666         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10668         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10669         and change to correct expected type.
10670         (msghdr.msg_controllen): Likewise.
10671         (cmsghdr.cmsg_len): Likewise.
10672         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10673         expected POSIX assumption about the size.
10674         (msghdr.msg_controllen): Likewise.
10675         (msghdr.__glibc_reserved1): Likewise.
10676         (msghdr.__glibc_reserved2): Likewise.
10677         (cmsghdr.cmsg_len): Likewise.
10678         (cmsghdr.__glibc_reserved1): Likewise.
10679         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10680         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10681         (CFLAGS-sendmsg.c): Remove rule.
10682         (CFLAGS-recvmsg.c): Likewise.
10683         (CFLAGS-oldsendmsg.c): Add rule.
10684         (CFLAGS-oldrecvmsg.c): Likewise.
10685         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10686         recvmsg and sendmsg.
10687         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10688         Likewise.
10689         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10690         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10691         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10692         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10693         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10694         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10695         Likewise.
10696         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10697         Likewise.
10698         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10699         Likewise.
10700         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10701         Likewise.
10702         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10703         Likewise.
10704         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10705         Likewise.
10706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10707         (GLIBC_2.24): Likewise.
10708         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10709         Likewise.
10710         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10711         Likewise.
10712         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10713         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10714         Likewise.
10715         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10716         Likewise.
10717         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10718         Likewise.
10719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10720         (GLIBC_2.24): Likewise.
10721         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10722         Likewise.
10723         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10724         Likewise.
10725         * sysdeps/unix/sysv/linux/Makefile
10726         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10727         (CFLAGS-sendmsg.c): Add rule.
10728         (CFLAGS-recvmsg.c): Likewise.
10729         (CFLAGS-oldsendmsg.c): Likewise.
10730         (CFLAGS-oldrecvmsg.c): Likewise.
10731         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10732         initialization.
10733         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10734         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10735         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10736         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10737         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10738         iovlen and controllen fields to adjust to POSIX specification.
10739         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10740         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10741         added recvmsg and sendmsg.
10742         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10743         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10744         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10745         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10746         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10747         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10748         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10749         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10750         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10751         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10752         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10753         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10755         Likewise.
10756         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10758         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10759         Likewise.
10760         Likewise.
10761         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10762         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10763         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10764         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10765         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10766         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10768         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10770         Likewise.
10771         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10772         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10774         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
10775         from auto-generation.
10776         (sendmsg): Likewise.
10777         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
10778         (sendmsg): Likewise.
10779         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
10780         (sendmsg): Likewise.
10781         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
10782         (sendmsg): Likewise.
10783         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
10784         (sendmsg): Likewise.
10785         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
10786         (sendmsg): Likewise.
10787         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
10788         Likewise.
10789         (sendmsg): Likewise.
10790         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
10791         (sendmsg): Likewise.
10792         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10793         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10794         Remove.
10795         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10796         Likewise.
10797         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10798         Undefine.
10799         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10800         Likewise.
10801         * sysdeps/unix/sysv/linux/kernel-features.h
10802         (__ASSUME_SENDMSG_SYSCALL): Define.
10803         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10804         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10805         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10806         Remove.
10807         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10808         Likewise.
10809         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10810         Undefine.
10811         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10812         Likewise.
10813         * sysdeps/unix/sysv/linux/s390/kernel-features.h
10814         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10815         Remove.
10816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10817         Likewise.
10818         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10819         Undefine.
10820         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10821         Likewise.
10822         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10823         (__ASSUME_SENDMSG_SYSCALL): Undefine.
10824         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10825         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
10826         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10827         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10828         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10829         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10830         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10832 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10834         * stdlib/gen-tst-strtod-round.c: Add backslash to
10835         compile command in comment.
10836         (printfp): Remove the literal suffix, and define an infinite
10837         value as INF to avoid expansion clash with INFINITY.
10838         (round_str): Remove the literal suffix.
10839         (round_for_all): Likewise, remove the now duplicate ldbl-64
10840         entry, and remove some magic constants.
10842         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
10843         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
10844         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
10845         (_CONCAT): New macro.
10846         (CONCAT): Likewise.
10847         (CHOOSE_ld): Likewise.
10848         (CHOOSE_f): Likewise.
10849         (CHOOSE_d): Likewise.
10850         (FTYPE_MEMBER): Likewise.
10851         (BOOL_MEMBER): Likewise.
10852         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
10853         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
10854         (_XNTRY): Likewise.
10855         (XNTRY): Likewise.
10856         (_ENTRY): Likewise.
10857         (ENTRY): Likewise.
10858         (test_exactness): Generate members via macro.
10859         (test_results): Likewise.
10860         (test): Update members.
10861         (TEST): Redefine using new macros.
10862         (INF): New macro.
10863         (fetestmodes): New structure.
10864         (do_test): Refactor to be type generic.
10865         (test_in_one_mode): Refactor duplicate code into
10866         (GEN_ONE_TEST): New macro.
10868         * stdlib/tst-strtod-round-data.h: Regenerate.
10870         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
10871         Extend to pass additional arbitrary parameters to
10872         generators.
10874 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
10876         [BZ #15479]
10877         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
10878         floating-point state after first floating-point operation on
10879         input.  Restore full floating-point state instead of just rounding
10880         mode.
10881         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10882         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10883         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10884         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10885         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10887         [BZ #15479]
10888         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
10889         floating-point state after first floating-point operation on
10890         input.  Restore full floating-point state instead of just rounding
10891         mode.
10892         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10893         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10894         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10895         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10896         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10898 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10900         [BZ #19727]
10901         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
10902         valid high surrogate.
10903         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
10904         of an utf16 surrogate.
10905         * iconv/gconv_simple.c (BODY): Likewise.
10906         * iconvdata/bug-iconv12.c: New file.
10907         * iconvdata/Makefile (tests): Add bug-iconv12.
10909 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10911         [BZ #19726]
10912         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
10913         outptrp in case of an illegal input.
10914         * iconv/tst-iconv6.c: New file.
10915         * iconv/Makefile (tests): Add tst-iconv6.
10917 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10919         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
10920         an error in case of a value in range of an utf16 low surrogate.
10922 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10924         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
10925         an error in case of a value in range of an utf16 low surrogate.
10927 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10929         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
10930         Move to ...
10931         * sysdeps/s390/Makefile: ... here.
10932         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
10933         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
10934         (BRANCH_ON_COUNT): New define.
10935         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
10936         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
10937         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
10938         run on s390-32, too.
10939         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
10940         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
10941         run on s390-32, too.
10942         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
10943         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
10944         run on s390-32, too.
10946 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10948         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
10949         etf3eh or new vector loop-variant.
10951 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10953         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
10954         etf3eh or new vector loop-variant.
10956 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10958         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
10959         or new vector loop-variant.
10961 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10963         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
10964         Rename to TR_LOOP and usage of tr instead of troo instruction.
10966 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10968         * sysdeps/s390/multiarch/gconv_simple.c: New File.
10969         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
10971 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10973         * sysdeps/s390/multiarch/8bit-generic.c: New File.
10974         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
10975         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
10976         New override define.
10977         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
10979 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10981         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
10982         * sysdeps/s390/configure.ac: Add test for S390 vector register
10983         support in gcc.
10984         * sysdeps/s390/configure: Regenerated.
10986 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
10988         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
10989         Install file from $(objpfx)gconv-modules.
10990         ($(objpfx)gconv-modules): Concatenate architecture specific file
10991         in variable sysdeps-gconv-modules and gconv-modules in src dir.
10992         * sysdeps/s390/gconv-modules: New file.
10993         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
10994         Deleted.
10995         ($(objpfx)gconv-modules-s390): Deleted.
10996         (sysdeps-gconv-modules): New variable.
10998 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11000         [BZ #15479]
11001         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11002         of immediate operand to rounding instruction.
11003         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11004         Likewise.
11005         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11006         Likewise.
11007         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11008         Likewise.
11010 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11012         * math/libm-test.inc (MIN_EXP): Directly define as
11013         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11015 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11017         * math/libm-test.inc (MANT_DIG): Directly define as
11018         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11020 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11022         * stdlib/gen-tst-strtod-round.c (main):
11023           Change usage to more closely match the generated
11024           output.  Add usage and compilation instructions.
11025           (string_to_fp): Add and use FILE* parameter as
11026           output target.
11027           (print_fp): Likewise.
11028           (round_str): Likewise.
11029           (round_for_all): Likewise.
11030         * stdlib/tst-strtod-round.c (tests): Move into
11031         * stdlib/tst-strtod-round-data.h: New file.
11033 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11035         [BZ #15479]
11036         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11037         (__round): Do not force "inexact" exception.
11038         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11039         variable.
11040         (__round): Do not force "inexact" exception.
11041         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11042         (__roundf): Do not force "inexact" exception.
11043         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11044         (__roundl): Do not force "inexact" exception.
11045         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11046         (__roundl): Do not force "inexact" exception.
11047         * math/libm-test.inc (round_test_data): Do not allow spurious
11048         "inexact" exceptions.
11050         [BZ #15479]
11051         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11052         exception in comment.
11053         (huge): Remove variable.
11054         (__floor): Do not force "inexact" exception.
11055         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11056         "inexact" exception in comment.
11057         (huge): Remove variable.
11058         (__floor): Do not force "inexact" exception.
11059         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11060         exception in comment.
11061         (huge): Remove variable.
11062         (__floorf): Do not force "inexact" exception.
11063         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11064         exception in comment.
11065         (huge): Remove variable.
11066         (__floorl): Do not force "inexact" exception.
11068         [BZ #15479]
11069         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11070         exception in comment.
11071         (huge): Remove variable.
11072         (__ceil): Do not force "inexact" exception.
11073         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11074         "inexact" exception in comment.
11075         (huge): Remove variable.
11076         (__ceil): Do not force "inexact" exception.
11077         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11078         (__ceilf): Do not force "inexact" exception.
11079         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11080         exception in comment.
11081         (huge): Remove variable.
11082         (__ceill): Do not force "inexact" exception.
11084 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11086         * config.h.in (BIND_NOW): New.
11087         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
11088         * configure: Regenerated.
11089         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11090         indirect branch via the GOT slot.
11092 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11094         [BZ #19765]
11095         * sysdeps/s390/mempcpy.S: New File.
11096         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11097         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11098         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11099         Add mempcpy variants.
11100         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11101         (memcpy): Adjust to be usable from mempcpy entry point.
11102         (__memcpy_mvcle): Likewise.
11103         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11104         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11105         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11106         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11107         (__memcpy_z10): Likewise.
11108         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11110 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11112         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11113         Remove __GI_ symbol.
11114         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11115         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11116         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11117         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11118         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11119         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11121 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11123         * sysdeps/s390/s390-64/memcpy.S (memcpy):
11124         Use cghi instead of chi to compare 64bit value.
11126 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11128         * sysdeps/s390/s390-32/memcpy.S (memcpy):
11129         Jump to 1MB check before executing mvc-loop.
11131 2016-05-24  Florian Weimer  <fweimer@redhat.com>
11133         [BZ #6527]
11134         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11135         unconditionally.
11136         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11138 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11140         * stdlib/tst-strtod6.c (do_test): Use new type generic
11141         invocation of the test function.
11142         (test): Refactor into ...
11143         (TEST_STRTOD): New macro base function.
11145 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11147         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11148         (TEST_STRTOD): New macro.
11149         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11151 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11153         * stdlib/tst-strtod6.c (do_test): Use new type generic
11154         invocation of the test function.
11155         (test): Refactor into ...
11156         (TEST_STRTOD): New macro base function.
11158 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11160         CVE-2016-4429
11161         [BZ #20112]
11162         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11163         payload.
11165 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11167         [BZ #20111]
11168         * bits/sockaddr.h (_SS_SIZE): Define.
11169         * bits/socket.h (_SS_SIZE): Remove.
11170         (_SS_PADSIZE): Adjust to account for all padding.
11171         (struct sockaddr_storage): Update comment.  Avoid implicit
11172         padding.
11173         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11174         (_SS_PADSIZE): Adjust to account for all padding.
11175         (struct sockaddr_storage): Update comment.  Avoid implicit
11176         padding.
11177         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11178         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11179         (_SS_PADSIZE): Adjust to account for all padding.
11180         (struct sockaddr_storage): Update comment.  Avoid implicit
11181         padding.
11182         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11183         __SS_SIZE is 126 in this version.
11184         * inet/tst-sockaddr.c: New file.
11185         * inet/Makefile (tests): Add tst-sockaddr.c
11186         (tst-sockaddr.c): Compile with non-strict aliasing.
11188 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
11190         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11191         [XPG3 || XPG4].
11192         (NL_ARGMAX): Also expect for [XPG3].
11193         (NL_LANGMAX): Likewise.
11194         (NL_MSGMAX): Likewise.
11195         (NL_NMAX): Likewise.
11196         (NL_SETMAX): Likewise.
11197         (NL_TEXTMAX): Likewise.
11198         (NZERO): Likewise.
11199         (TMP_MAX): Likewise.
11200         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11201         variable.
11203         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11204         (PF_MAX): Update value.
11205         (AF_KCM): New macro.
11206         (SOL_NETBEUI): Likewise.
11207         (SOL_LLC): Likewise.
11208         (SOL_DCCP): Likewise.
11209         (SOL_NETLINK): Likewise.
11210         (SOL_TIPC): Likewise.
11211         (SOL_RXRPC): Likewise.
11212         (SOL_PPPOL2TP): Likewise.
11213         (SOL_BLUETOOTH): Likewise.
11214         (SOL_PNPIPE): Likewise.
11215         (SOL_RDS): Likewise.
11216         (SOL_IUCV): Likewise.
11217         (SOL_CAIF): Likewise.
11218         (SOL_ALG): Likewise.
11219         (SOL_NFC): Likewise.
11220         (SOL_KCM): Likewise.
11221         (MSG_BATCH): New enum value and macro.
11223 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
11225         [BZ #18185]
11226         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11227         sharing L2 cache to 2 for Knights Landing.
11229 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11231         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11232         (FTW_DP): Do not expect for [XPG3 || XPG4].
11233         (FTW_SL): Do not expect for [XPG3].
11234         (FTW_SLN): Likewise.
11235         (FTW_PHYS): Likewise.
11236         (FTW_MOUNT): Likewise.
11237         (FTW_DEPTH): Likewise.
11238         (FTW_CHDIR): Likewise.
11239         (nftw): Likewise.
11240         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11241         variable.
11243 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11245         * manual/errno.texi: Fix various typos & grammar errors.
11247 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11249         * manual/intro.texi: Fix duplicated typo.
11251 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11253         [BZ #13304]
11254         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11255         <float.h>, <math_private.h> and <stdlib.h>.
11256         (add_split): New function.
11257         (mul_split): Likewise.
11258         (ext_val): New typedef.
11259         (store_ext_val): New function.
11260         (mul_ext_val): New function.
11261         (compare): New function.
11262         (add_split_ext): New function.
11263         (__fmal): After checking for Inf, NaN and zero, compute result as
11264         an exact sum of scaled double values in round-to-nearest before
11265         adding those up and adjusting for other rounding modes.
11266         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11267         tests of fma.
11268         * math/auto-libm-test-out: Regenerated.
11270 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11272         [BZ #20119]
11273         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11274         processor level type mask for CPUID with EAX == 11.
11276 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11278         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11279         logical threads if the HTT bit is 0.
11280         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11281         (index_cpu_HTT): Likewise.
11282         (reg_HTT): Likewise.
11284 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11286         [BZ #20115]
11287         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11288         Remove alignments on jump targets.
11290 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11292         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11293         (getpwent): Likewise.
11294         (setpwent): Likewise.
11295         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11296         variable.
11298         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11299         (remque): Likewise.
11300         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11301         variable.
11303 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11305         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11306         not being tested.
11308 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11310         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11311         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11312         call.
11313         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11314         (__condvar_cleanup1): Likewise.
11316 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11318         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11319         New
11320         (__pthread_unwind): Renamed to ...
11321         (PTHREAD_UNWIND): This.
11322         (__pthread_enable_asynccancel): Replace
11323         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11325 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11327         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11328         (CLONE_NEWCGROUP): New macro.
11330         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11331         (Q_GETNEXTQUOTA): New macro.
11333 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11335         [BZ #19907]
11336         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11337         buffer updated by the previous run.
11338         * string/test-memcpy.c (do_one_test): Likewise.
11339         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11340         * string/test-memmove.c (do_one_test): Likewise.
11342 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11344         [BZ #20094]
11345         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11346         not [__USE_XOPEN].
11347         (unlockpt): Likewise.
11348         (ptsname): Likewise.
11349         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11350         variable.
11352         [BZ #20076]
11353         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11354         instead of [__USE_UNIX98].
11355         (S_ISSOCK): Likewise.
11356         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11357         variable.
11359         [BZ #20074]
11360         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11361         [__USE_POSIX].
11362         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11363         variable.
11365         [BZ #20051]
11366         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11367         (ttyslot): Do not declare.
11368         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11369         (ttyslot): New prototype.
11370         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11371         variable.
11372         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11374 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11376         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11378 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11380         Fix race condition in tst-mallocfork2, use fewer resources.
11381         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11382         to current process group.
11383         (signal_sender): Yield in the non-sleeping case.
11385 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11387         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11388         (ecvt): Likewise.
11389         (fcvt): Likewise.
11390         (gcvt): Likewise.
11391         (getsubopt): Likewise.
11392         (grantpt): Likewise.
11393         (initstate): Likewise.
11394         (l64a): Likewise.
11395         (mktemp): Likewise.
11396         (mkstemp): Likewise.
11397         (ptsname): Likewise.
11398         (random): Likewise.
11399         (realpath): Likewise.
11400         (setstate): Likewise.
11401         (srandom): Likewise.
11402         (ttyslot): Likewise.
11403         (unlockpt): Likewise.
11404         (valloc): Likewise.
11406         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11407         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11408         variable.
11410 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11412         [BZ #20072]
11413         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11414         init_cpu_features only if SHARED is defined.
11415         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11417 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11419         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11420         non-inclusive caches on Intel processors.
11422 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11424         * malloc/malloc.c (dumped_main_arena_start)
11425         (dumped_main_arena_end): New variables.
11426         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11427         (do_check_chunk): Skip dumped fake mmapped chunks.
11428         (munmap_chunk): Likewise.
11429         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11430         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11431         mmapped chunks.
11432         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11433         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11434         and dumped_main_arena_end to cover the dumped heap.
11436 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11438         * conform/data/time.h-data (getdate_err): Do not expect for
11439         [XPG3].
11440         (getdate): Likewise.
11441         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11442         variable.
11444         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11445         (F_ULOCK): Likewise.
11446         (F_TEST): Likewise.
11447         (F_TLOCK): Likewise.
11448         (useconds_t): Likewise.
11449         (intptr_t): Do not expect for [XPG3] or [XPG4].
11450         (brk): Do not expect for [XPG3]
11451         (fchown): Likewise.
11452         (fchdir): Likewise.
11453         (ftruncate): Likewise.
11454         (getdtablesize): Likewise.
11455         (gethostid): Likewise.
11456         (getpagesize): Likewise.
11457         (getpgid): Likewise.
11458         (getsid): Likewise.
11459         (getwd): Likewise.
11460         (lchown): Likewise.
11461         (lockf): Likewise.
11462         (readlink): Likewise.
11463         (sbrk): Likewise.
11464         (setpgrp): Likewise.
11465         (setregid): Likewise.
11466         (setreuid): Likewise.
11467         (symlink): Likewise.
11468         (sync): Likewise.
11469         (truncate): Likewise.
11470         (ualarm): Likewise.
11471         (usleep): Likewise.
11472         (vfork): Likewise.
11473         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11474         variable.
11476         [BZ #20054]
11477         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11478         not [__USE_UNIX98].
11479         * conform/data/unistd.h-data (gethostname): Do not expect for
11480         [XPG3].
11482         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11483         [!POSIX] (S_IFBLK): Likewise.
11484         [!POSIX] (S_IFCHR): Likewise.
11485         [!POSIX] (S_IFIFO): Likewise.
11486         [!POSIX] (S_IFREG): Likewise.
11487         [!POSIX] (S_IFDIR): Likewise.
11488         [!POSIX] (S_IFLNK): Likewise.
11489         [!POSIX] (S_IFSOCK): Likewise.
11490         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11491         variable.
11492         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11494 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11496         * sysdeps/aarch64/memset.S (__memset):
11497         Rewrite of optimized memset.
11499 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11501         [BZ #19703]
11502         Partially async-signal-safe fork for single-threaded processes.
11503         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11504         variable.  Do not acquire and reset/release malloc and libio locks
11505         in single-threaded processes.
11506         * malloc/tst-mallocfork2.c: New file.
11507         * malloc/Makefile (tests): Add it.
11509 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11511         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11512         argument.  Use scratch buffer instead of extend_alloca.
11513         (gethosts): Use scratch buffer instead of extend_alloca.
11514         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11515         extend_alloca.
11516         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11518 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11520         [BZ #20055]
11521         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11522         instead of [__USE_UNIX98].
11523         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11524         [__USE_UNIX98].
11525         * conform/data/termios.h-data (tcgetsid): Do not expect for
11526         [XPG3].
11527         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11528         variable.
11529         (test-xfail-XPG4/termios.h/conform): Likewise.
11531 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11533         Do not use mcheck in localedef.
11534         * locale/programs/localedef.c (turn_on_mcheck)
11535         (__malloc_initialize_hook): Remove.
11537 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11539         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11540         * sysdeps/s390/s390-64/Makefile: Likewise.
11542 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11544         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11545         Remove ifunc-defines.sym.
11546         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11547         Likewise.
11548         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11549         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11550         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11551         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11552         rtld-global-offsets.sym.
11553         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11554         * sysdeps/x86/cpu-features-offsets.sym: This.
11555         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11556         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11558 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11560         [BZ #20073]
11561         * io/sys/stat.h (fchmod): Declare for
11562         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11563         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11564         variable.
11566         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11567         [XPG3] (S_IFSOCK): Likewise.
11568         [XPG3] (S_ISVTX): Likewise.
11569         [XPG3] (S_ISLNK): Likewise.
11570         [XPG3] (S_ISSOCK): Likewise.
11571         [XPG3] (fchmod): Likewise.
11572         [XPG3] (lstat): Likewise.
11573         [XPG3] (mknod): Likewise.
11575         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11576         [XPG3].  Expect type long and XFAIL for [XPG4].
11577         (st_blocks): Likewise.
11579         [BZ #20044]
11580         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11581         (pthread_atfork): New prototype.
11582         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11583         variable.
11585         [BZ #20043]
11586         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11587         prototype.
11589 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11591         [BZ #20017]
11592         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11593         gmtime.
11595 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11597         [BZ #19994]
11598         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11599         flag in _res.options.
11601 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11603         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11604         [XPG3 || XPG4].
11605         (blksize_t): Likewise.
11606         (clockid_t): Likewise.
11607         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11608         variable.
11609         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11611 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11613         * sysdeps/unix/sysv/linux/s390/init-first.c:
11614         Add VDSO_SYMBOL(getcpu).
11615         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11616         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11617         Add VDSO_SYMBOL(getcpu).
11618         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11619         New define HAVE_GETCPU_VSYSCALL.
11620         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11622 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11624         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11625         instead of <sysdeps/x86_64/cacheinfo.c>.
11626         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11627         * sysdeps/x86/cacheinfo.c: Here.
11629 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11631         * malloc/malloc-internal.h: Adjust header file guard.
11633 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11635         [BZ #19787]
11636         * inet/getnameinfo.c (check_sprintf_result): New function.
11637         (CHECKED_SNPRINTF): New macro.
11638         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11639         to the host buffer.
11640         (gni_host_local): Use checked_copy to copy the host name.
11641         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11642         (gni_serv_local): Use checked_copy to copy the service name.
11643         (getnameinfo): Remove unnecessary truncation of result buffers.
11645 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11647         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11648         in case of inet_ntop failure.
11650 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11652         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11653         avoid long lines.
11654         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11655         variables.
11656         (gni_host_inet, gni_host_local): Add comment.
11657         (gni_host): Add comment.  Use temporary to avoid long lines.
11659 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11661         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11662         registers specifiers where general purpose registers specifiers should
11663         have been used.
11665 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11667         [BZ #19779]
11668         CVE-2016-1234
11669         Avoid copying names of directory entries.
11670         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11671         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11672         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11673         (struct readdir_result): New type.
11674         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11675         (GL_READDIR): New macros.
11676         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11677         (convert_dirent, convert_dirent64): New functions.
11678         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11679         convert_dirent64.  Adjust references to the readdir result.
11680         * sysdeps/unix/sysv/linux/i386/glob64.c:
11681         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11682         * posix/bug-glob2.c (LONG_NAME): Define.
11683         (filesystem): Add LONG_NAME.
11684         (my_DIR): Increase the size of room_for_dirent.
11686 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11688         [BZ #20041]
11689         * misc/sys/select.h (__need_timespec): Only define if
11690         [__USE_XOPEN2K].
11691         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11692         variable.
11693         (test-xfail-XPG4/utmpx.h/conform): Likewise.
11694         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11695         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11697 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11698             Segher Boessenkool  <segher@gcc.gnu.org>
11700         [BZ #20004]
11701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11702         (__novec_swapcontext): Add missing load.
11704 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
11706         [BZ #20023]
11707         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11708         <time.h>.
11709         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11710         variable.
11711         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11713 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11716         flags CLONE_VM compare.
11718 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11720         [BZ #20031]
11721         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11722         completely empty.
11724 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11726         [BZ #19573]
11727         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11728         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11729         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11730         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11731         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11732         (hesiod_free_list): Mark as hidden.
11733         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11734         res_set, res_get.
11735         * hesiod/hesiod.c: Remove unnecessary forward declarations.
11736         (init, __hesiod_res_get, __hesiod_res_set): Remove.
11737         (hesiod_init): Remove obsolete res_ninit call.
11738         (hesiod_end): Do not free resolver state.  Do not invoke callback.
11739         (hesiod_bind): Do not call init.
11740         (get_txt_records): Use res_mkquery, res_send instead of
11741         res_nmkquery, res_nsend.
11742         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11743         instead of _nss_hesiod_init.
11744         (_nss_hesiod_initgroups_dyn): Likewise.
11745         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11746         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11747         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11749 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11751         * hesiod/hesiod_p.h (DEF_RHS): Remove.
11752         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11754 2016-05-02  Florian Weimer  <fweimer@redhat.com>
11756         * hesiod/hesiod.h: Remove RCS keyword.
11757         * hesiod/hesiod_p.h: Likewise.
11759         * hesiod/hesiod.c: Likewise.
11761 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
11763         [BZ #12450]
11764         * locale/iso-639.def: Add Samogitian/sgs.
11766 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
11768         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
11770         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
11772 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
11773             Carlos O'Donell  <carlos@redhat.com>
11775         [BZ #19072]
11776         * grp/Makefile (headers): Add grp-merge.h
11777         (routines): Add grp-merge.
11778         * grp/getgrgid_r.c: Include grp-merge.h.
11779         (DEEPCOPY_FN): Define.
11780         (MERGE_FN): Define.
11781         * grp/getgrname_r.c: Include grp-merge.h.
11782         (DEEPCOPY_FN): Define.
11783         (MERGE_FN): Define.
11784         * grp/grp-merge.c: New file.
11785         * grp/grp-merge.h: New file.
11786         * include/grp-merge.h: New file.
11787         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
11788         __copy_grp@GLIBC_PRIVATE.
11789         * manual/nss.texi (Actions in the NSS configuration): Describe
11790         return, continue, and merge.
11791         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
11792         (DEEPCOPY_FN): Define.
11793         (MERGE_FN): Define.
11794         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
11795         (DEEPCOPY_FN): Define.
11796         (MERGE_FN): Define.
11797         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
11798         [!MERGE_FN]: Define __merge_einval.
11799         (CHECK_MERGE): Define.
11800         (REENTRANT_NAME): Process merge if do_merge is true.
11801         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
11802         (__nss_getent_r): Likewise.
11803         * nss/nsswitch.c (nss_parse_service_list): Likewise.
11804         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
11806 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11808         [BZ #20012]
11809         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
11810         length to calculate the buffer to read.
11811         (fmemopen_write): Set the buffer position based on bytes written.
11812         (fmemopen_seek): Return EINVAL for invalid whence modes.
11814         [BZ #19957]
11815         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
11816         tst-getpid2.
11817         (test): Add tst-clone2.
11818         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
11819         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
11820         pid/tid fields for CLONE_VM.
11821         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
11822         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
11823         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
11824         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
11825         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
11826         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
11827         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
11828         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
11829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
11830         Likewise.
11831         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
11832         Likewise.
11833         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
11834         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
11835         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
11836         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
11837         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
11838         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
11839         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
11840         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
11842 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11844         [BZ #19642]
11845         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
11846         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
11847         (gni_serv_local, gni_serv): New functions extracted from
11848         getnameinfo.
11849         (getnameinfo): Call gni_host and gni_serv to perform the
11850         processing.  Always free scratch buffer.
11852 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11854         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
11855         remaining bytes in the dest string, with zeros.
11857 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11859         [BZ #20010]
11860         CVE-2016-3706
11861         * sysdeps/posix/getaddrinfo.c
11862         (convert_hostent_to_gaih_addrtuple): New function.
11863         (gethosts): Call convert_hostent_to_gaih_addrtuple.
11864         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
11865         AF_INET data.
11867 2016-04-29  Florian Weimer  <fweimer@redhat.com>
11869         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
11870         callback function gl_readdir.
11871         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
11872         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
11873         (glob_in_dir): Remove len.  Use strdup instead of malloc and
11874         memcpy to copy the name.
11875         * manual/pattern.texi (Calling Glob): Document requirements for
11876         implementations of the gl_readdir callback function.
11877         * manual/examples/mkdirent.c: New example.
11878         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
11879         per the manual guidance.
11880         * posix/tst-gnuglob.c (my_readdir): Likewise.
11882 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
11884         [BZ #20014]
11885         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
11886         not [__USE_POSIX].
11887         (getchar_unlocked): Likewise.
11888         (putc_unlocked): Likewise.
11889         (putchar_unlocked): Likewise.
11890         (flockfile): Likewise.
11891         (ftrylockfile): Likewise.
11892         (funlockfile): Likewise.
11893         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
11894         variable.
11895         (test-xfail-XPG4/stdio.h/conform): Likewise.
11897         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
11898         Expect constant.
11899         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
11900         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
11901         variable.
11902         (test-xfail-XPG4/langinfo.h/conform): Likewise.
11903         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
11905         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
11906         [__USE_LARGEFILE64] (off64_t): Likewise.
11907         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
11908         variable.
11910 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11912         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
11914 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11916         * resolv/inet_addr.c: Reindent preprocessor conditionals.
11917         * resolv/res_init.c: Likewise.
11918         * resolv/res_mkquery.c: Likewise.
11920 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11922         * resolv/res_init.c (isascii): Do not define.  Use definition in
11923         <ctype.h>.
11924         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
11925         (LOG_AUTH): Remove.
11926         (SPRINTF): Remove, adjust caller.
11927         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
11929 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11931         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
11932         SUNSECURITY conditional.
11933         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
11935 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11937         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
11938         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
11939         Remove BSD-related preprocessor conditionals.
11940         * conf/portability.h: Remove.
11942 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11944         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
11945         * resolv/res_data.c: Likewise.
11947 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11949         * resolv/res_comp.c: Remove code conditional on __ultrix__.
11950         * resolv/res_data.c: Remove code conditional on ultrix.
11952 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11954         * resolv/res_init.c (RFC1535): Do not define.  Remove
11955         RFC1535 preprocessor conditionals.
11956         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
11957         because there configuration options which make the resolver
11958         behavior different.
11960 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11962         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
11963         RESOLVSORT preprocessor conditionals.
11964         * resolv/nss_dns/dns-host.c: Likewise.
11965         * resolv/res_init.c: Likewise.
11967 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11969         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
11970         is never defined.
11972 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11974         * inet/inet_lnaof.c: Remove SCSS keyword.
11975         * inet/inet_mkadr.c: Likewise.
11976         * inet/inet_net.c: Likewise.
11977         * inet/inet_netof.c: Likewise.
11978         * inet/rcmd.c: Likewise.
11979         * inet/rexec.c: Likewise.
11980         * inet/ruserpass.c: Likewise.
11982 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11984         * resolv/inet_addr.c: Remove _LIBC conditionals.
11985         * resolv/res_data.c: Likewise.
11986         * resolv/res_init.c: Likewise.
11987         * resolv/res_mkquery.c: Likewise.
11988         * resolv/res_libc.c: Update comment.
11989         * resolv/README: Update.
11991 2016-04-28  Florian Weimer  <fweimer@redhat.com>
11993         * resolv/gethnamaddr.c: Remove SCSS keyword.
11994         * resolv/herror.c: Likewise.
11995         * resolv/inet_addr.c: Likewise.
11996         * resolv/inet_net_ntop.c: Likewise.
11997         * resolv/inet_net_pton.c: Likewise.
11998         * resolv/inet_neta.c: Likewise.
11999         * resolv/inet_ntop.c: Likewise.
12000         * resolv/inet_pton.c: Likewise.
12001         * resolv/ns_date.c: Remove RCS keyword.
12002         * resolv/ns_name.c: Likewise.
12003         * resolv/ns_netint.c: Likewise.
12004         * resolv/ns_parse.c: Likewise.
12005         * resolv/ns_print.c: Likewise.
12006         * resolv/ns_samedomain.c: Likewise.
12007         * resolv/ns_ttl.c: Likewise.
12008         * resolv/nsap_addr.c: Likewise.
12009         * resolv/res_comp.c: Remove SCSS and RCS keyword.
12010         * resolv/res_data.c: Remove RCS keyword.
12011         * resolv/res_debug.c: Remove SCSS and RCS keyword.
12012         * resolv/res_init.c: Likewise.
12013         * resolv/res_mkquery.c: Likewise.
12014         * resolv/res_query.c: Likewise.
12015         * resolv/res_send.c: Likewise.
12017 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12019         * conform/data/stdio.h-data (fdopen): Expect also for
12020         [XPG3 || XPG4].
12022         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12023         (fseeko): Likewise.
12024         (ftello): Likewise.
12025         (ftrylockfile): Likewise.
12026         (funlockfile): Likewise.
12027         (getc_unlocked): Likewise.
12028         (getchar_unlocked): Likewise.
12029         (putc_unlocked): Likewise.
12030         (putchar_unlocked): Likewise.
12032 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12034         [BZ #19868]
12035         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12036         DNS packet syntax checks (which were not needed before).  Skip
12037         over non-PTR records.
12039 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12041         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12042         definition.  Include <stddef.h> instead.
12044 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12046         [BZ #19831]
12047         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12048         function.
12049         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12050         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12052 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12054         [BZ #19862]
12055         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12056         (getanswer_r): Do not call syslog.
12057         (gaih_getanswer_slice): Likewise.
12058         * resolv/gethnamaddr.c (AskedForGot): Remove.
12059         (getanswer): Do not call syslog.
12060         (gethostbyaddr): Likewise.
12062 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12064         * conform/data/signal.h-data (union sigval): Expect also if
12065         [XOPEN2K].
12066         (struct sigevent): Likewise.
12067         (SIGEV_NONE): Likewise.
12068         (SIGEV_SIGNAL): Likewise.
12069         (SIGEV_THREAD): Likewise.
12070         (SIGRTMIN): Likewise.
12071         (SIGRTMAX): Likewise.
12072         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12073         variable.
12074         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12076 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12078         [BZ #19830]
12079         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12080         (gaih_getanswer_slice): Likewise.
12081         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12082         Also check for availability of RR metadata.
12084 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12086         [BZ #19825]
12087         * resolv/res_send.c (send_vc): Remove early *resplen2
12088         initialization.  Set *resplen2 on socket error.  Call
12089         close_and_return_error for other errors.
12091 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12093         * sysdeps/unix/sysv/linux/netiucv/iucv.h
12094         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12095         (SCM_IUCV_TRGCLS): New define.
12097 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12099         [BZ #20005]
12100         * libio/fmemopen.c (fmemopen_write): Update internal position after
12101         write.
12102         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12103         * stdio-common/tst-fmemopen4.c: New file..
12105 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
12107         [BZ #19996]
12108         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12109         not [__USE_XOPEN2K].
12110         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12111         variable.
12113         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12114         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12115         variable.
12117         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12118         [__USE_XOPEN2K8].
12119         [__USE_LARGEFILE64] (off64_t): Likewise.
12120         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12121         variable.
12123 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
12125         [BZ #19989]
12126         * libio/stdio.h (cuserid): Do not declare if
12127         [__USE_XOPEN2K && !__USE_GNU].
12128         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12129         variable.
12131 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12133         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12134         (sysdep_routines): Add P8 and PPC64 strcspn targets.
12135         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12136         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12137         ifunc'ed strcspn.
12138         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12139         [EALIGN]: Removed.
12140         [END]: Likewise
12141         [STRSPN]: Define instead of the above to control symbol name.
12142         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12143         New file.
12144         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12145         Likewise.
12146         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12147         Likewise.
12148         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12149         Likewise.
12150         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12151         [INITIAL_MASK]: New macro.
12152         [STRCSPN]: Likewise.
12153         [UPDATE_MASK]: Likewise.
12154         [USE_AS_STRCSPN]: Likewise.
12156 2016-04-25  Florian Weimer  <fweimer@redhat.com>
12158         [BZ #19931]
12159         * stdio-common/tst-vfprintf-width-prec.c: New file.
12160         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12161         (tests-special): Add tst-vfprintf-width-prec-mem.out.
12162         (generated): Add mtrace-related files.
12163         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12164         (tst-%-mem.out): New pattern rule, replaces
12165         tst-printf-bz18872-mem.out.
12166         * stdio-common/vfprintf.c (vfprintf): When handling a precision
12167         specifier, deallocate any previously allocated work buffer.
12169 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12171         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12172         Add nop before __startcontext, add explaining comments.
12174 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
12176         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12177         any more. Notably since IPV6_PKTINFO has been reintroduced with a
12178         completely different API.
12180         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12181         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12182         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12183         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12184         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12185         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12186         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12187         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12188         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12189         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12191 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
12193         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12195 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
12197         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12198         when it is the default of 0.
12200 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12202         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
12203         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12204         (sysdep_routines): Add new strcasestr targets.
12205         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12206         (__libc_ifunc_impl_list): Likewise.
12207         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12208         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12209         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12210         * sysdeps/powerpc/powerpc64/power8/Makefile:
12211         New file to add strcasestr-ppc64 to sysdep_routines.
12212         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12213         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12215 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
12217         * benchtests/Makefile (wcsmbs-benchset): Include only for
12218         native builds and runs.
12219         (LOCALES): Likewise.
12220         (bench-build): Build timing-type here instead of the bench
12221         target.  Generate locale only for native builds.
12222         * benchtests/README: Add note for cross-building.
12224         * benchtests/Makefile (bench-clean): Clean up extra-objs.
12226         * benchtests/README: Update README to include instructions on
12227         using bench-build.
12229         * Makefile.in (bench-build): New target.
12230         * Rules (PHONY): Add bench-build target.
12231         * benchtests/Makefile (bench): Depend on bench-build.
12232         (bench-build): New target.
12234 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12236         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12237         profil_reply_port.
12238         (profile_waiter): Do not initialize profil_reply_port.
12239         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12240         frequency instead of tick length in us.
12242 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12244         [BZ #18712]
12245         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12246         (__old_mempcpy_small): Likewise.
12247         (__old_strcpy_small): Likewise.
12248         (__old_stpcpy_small): Likewise.
12249         (__old_strpbrk_c2): Fix compat symbol name.
12250         (__old_strpbrk_c3): Likewise.
12251         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12252         (__mempcpy_small): Remove.
12253         (__strcpy_small): Remove.
12254         (__stpcpy_small): Remove.
12256 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12258         [BZ #19400]
12259         * locale/iso-639.def: Add the Talossan/tzl language.
12261 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12263         [BZ #16983]
12264         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12265         comment.  Add "ln" to strchr check on postal_fmt.
12267 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12269         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12270         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12271         tel_dom_fmt.
12273 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12275         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12276         (sysdep_routines): Added __strlen_power8.
12277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12278         __strlen_power8 entry.
12279         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12280         Implementation for POWER8.
12281         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12282         for __strlen_power8.
12283         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12284         Implementation for POWER8.
12286 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12288         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12290 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12292         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12293         Goldmont and Airmont processors.
12295 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12297         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12298         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12299         (__STRING2_SMALL_GET32): Remove.
12300         (memset): Remove.
12301         (__memset_1): Remove.
12302         (__memset_gc): Remove.
12303         (__mempcpy): Remove.
12304         (mempcpy): Remove.
12305         (__mempcpy_args): Remove.
12306         (strchr): Remove.
12307         (strcpy): Remove.
12308         (strcpy_args): Remove.
12309         (__stpcpy_args): Remove.
12310         (__strcmp_cc): Remove.
12311         (__strcmp_gc): Remove.
12312         (strstr): Remove.
12314 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12316         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12317         * nis/nis_call.c (nis_server_cache_add): Likewise.
12319 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12321         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12323 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12325         * malloc/arena.c (__malloc_fork_lock_parent)
12326         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12327         internal_function attribute.
12329 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12331         * stdio-common/printf_fp.c (__printf_fp_l):
12332         Rename ___printf_fp_l to __printf_fp_l and
12333         remove strong alias. Use libc_hidden_def instead
12334         of ldbl_hidden_def macro.
12336 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12338         Remove malloc hooks from fork handler.  They are no longer needed
12339         because malloc runs right before fork, and no malloc calls from
12340         other fork handlers are not possible anymore.
12341         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12342         declarations.
12343         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12344         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12345         (atfork_recursive_cntr): Remove.
12346         (__malloc_fork_lock_parent): Do not override malloc hooks and
12347         thread_arena.
12348         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12349         thread_arena.
12350         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12351         thread_arena instead of save_arena.
12353 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12355         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12356         (thread_atfork, thread_atfork_static): Remove.
12357         * sysdeps/mach/hurd/malloc-machine.h:
12358         (thread_atfork, thread_atfork_static): Remove.
12360 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12362         [BZ #19431]
12363         Run the malloc fork handler as late as possible to avoid deadlocks.
12364         * malloc/malloc-internal.h: New file.
12365         * malloc/malloc.c: Include it.
12366         * malloc/arena.c (ATFORK_MEM): Remove.
12367         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12368         Update comment.
12369         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12370         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12371         Remove outdated comment.
12372         (ptmalloc_init): Do not call thread_atfork.  Remove
12373         thread_atfork_static.
12374         * malloc/tst-malloc-fork-deadlock.c: New file.
12375         * Makefile (tests): Add tst-malloc-fork-deadlock.
12376         (tst-malloc-fork-deadlock): Link against libpthread.
12377         * manual/memory.texi (Aligned Memory Blocks): Update safety
12378         annotation comments.
12379         * sysdeps/nptl/fork.c (__libc_fork): Call
12380         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12381         __malloc_fork_unlock_child.
12382         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12384 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12386         [BZ #19613]
12387         Remove union wait.
12388         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12389         (w_stopsig, w_stopval): Remove.
12390         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12391         stat_loc argument.
12392         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12393         (__WAIT_STATUS_DEFN): Remove.
12394         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12395         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12396         (wait, wait3, wait4): Use int * for the stat_loc argument.
12397         * posix/wait.c (__wait): Likewise.
12398         * posix/wait3.c (__wait3): Likewise.
12399         * posix/wait4.c (__wait4): Likewise.
12400         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12401         (__WAIT_STATUS_DEFN): Remove.
12402         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12403         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12404         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12405         argument.
12406         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12407         * sysdeps/posix/wait3.c (__wait3): Likewise.
12408         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12409         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12410         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12411         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12412         stat_loc argument.
12413         * manual/process.texi (BSD Wait Functions): Remove union wait.
12415 2016-04-13  Andreas Schwab  <schwab@suse.de>
12417         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12418         (test-extras): Add tst-tlsalign-vars.
12419         * math/Makefile: Wrap long lines.
12420         (libm-vec-test-wrappers): Define.
12421         (test-extras): Add $(libm-vec-test-wrappers).
12422         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12423         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12424         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12425         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12426         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12427         (extra-test-objs): Add corresponding objects.
12429 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12431         [BZ #19928]
12432         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12433         New.
12434         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12435         times of shared cache size.
12436         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12437         (VMOVNT): New.
12438         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12439         (VMOVNT): Likewise.
12440         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12441         (VMOVNT): Likewise.
12442         (VMOVU): Changed to movups for smaller code sizes.
12443         (VMOVA): Changed to movaps for smaller code sizes.
12444         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12445         comments.
12446         (PREFETCH): New.
12447         (PREFETCH_SIZE): Likewise.
12448         (PREFETCHED_LOAD_SIZE): Likewise.
12449         (PREFETCH_ONE_SET): Likewise.
12450         Rewrite to use forward and backward loops, which move 4 vector
12451         registers at a time, to support overlapping addresses and use
12452         non temporal store if size is above the threshold and there is
12453         no overlap between destination and source.
12455 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12457         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12458         Include dl-vdso.
12459         * sysdeps/unix/sysv/linux/mips/Versions: Add
12460         __vdso_clock_gettime.
12461         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12462         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12463         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12464         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12465         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12466         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12467         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12468         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12469         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12471 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12473         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12474         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12475         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12476         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12477         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12478         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12481         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12483         syscalls generation.
12484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12485         [__NR_pwrite64] (__NR_write): Remove define.
12486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12487         [__NR_pwrite64] (__NR_write): Remove define.
12488         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12489         Remove define.
12490         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12491         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12492         Remove define.
12493         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12494         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12495         Linux implementation as base.
12496         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12498         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12499         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12501         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12504         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12505         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12506         syscall generation.
12507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12508         [__NR_pread64] (__NR_pread): Remove define.
12509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12510         [__NR_pread64] (__NR_pread): Likewise.
12511         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12512         define.
12513         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12514         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12515         Remove define.
12516         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12517         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12518         Linux implementation as base.
12519         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12520         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12521         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12523         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12524         definition.
12525         (__ALIGNMENT_COUNT): Likewise.
12526         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12527         (__ALIGNMENT_COUNT): Likewise.
12528         (SYSCALL_LL): New define.
12529         (SYSCALL_LL64): Likewise.
12530         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12531         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12532         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12533         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12535         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12536         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12537         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12538         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12539         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12540         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12542 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12544         [BZ #19865]
12545         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12546         original buffer before retry.
12548 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12550         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12551         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12552         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12553         GLRO(dl_auxv) list.
12554         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12555         including <ldsodefs.h>.
12556         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12558 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12560         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12561         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12562         $(CPPFLAGS).
12564 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12566         [BZ #17950]
12567         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12568         Add -mfpmath=387.
12570 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12572         * sysdeps/i386/configure.ac: Change == to = when calling test.
12573         * sysdeps/x86_64/configure.ac: Likewise.
12574         * sysdeps/i386/configure: Regenerated.
12575         * sysdeps/x86_64/configure: Likewise.
12577 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12579         [BZ #16137]
12580         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12581         * benchtests/bench-strcoll.c (input_files): Likewise.
12582         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12583         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12584         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12586 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12588         [BZ #19929]
12589         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12590         [__USE_XOPEN2K8 && !__USE_GNU].
12591         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12592         variable.
12594         [BZ #19925]
12595         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12596         define if [!__USE_MISC && __USE_XOPEN2K].
12597         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12598         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12599         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12600         Likewise.
12601         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12602         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12603         variable.
12604         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12606 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12608         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12609         (sysdep_routines): Add new strspn targets.
12610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12611         (__libc_ifunc_impl_list): Add strspn.
12612         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12613         New file.
12614         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12615         Likewise.
12616         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12617         Likewise.
12618         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12619         Likewise.
12621 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12623         * misc/hsearch_r.c: Include <limits.h>.
12625 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12627         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12629 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12631         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12632         (MEMCPY_SYMBOL): New.
12633         (MEMPCPY_SYMBOL): Likewise.
12634         (MEMMOVE_CHK_SYMBOL): Likewise.
12635         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12636         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12637         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12638         Provide alias for memcpy in libc.a and ld.so.
12640 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12642         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12643         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12644         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12645         Disabled fro now.
12646         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12647         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12649 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12651         * benchtests/Makefile (string-benchset): Add memcpy-large,
12652         memmove-large and memset-large.
12653         * benchtests/bench-memcpy-large.c: New file.
12654         * benchtests/bench-memmove-large.c: Likewise.
12655         * benchtests/bench-memmove-large.c: Likewise.
12656         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12658 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12660         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12661         32-bit displacement to avoid long nop between instructions.
12663 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12665         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12666         a comment on VMOVU and VMOVA.
12668 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12670         [BZ #19633]
12671         Use specified locale for number formatting in strfmon_l.
12672         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12673         (__nl_lookup_word): New inline functions.
12674         * include/printf.h (__print_fp_l): Declare.
12675         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12676         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12677         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12678         (___printf_fp): New function.
12679         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12680         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12681         * stdlib/tst-strfmon_l.c (do_test): New test.
12682         * stdlib/Makefile (tests): Add kt.
12683         (LOCALES): Build additional locales.
12684         (tst-strfmon_l.out): Require locales.
12686 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12688         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12689         if not in libc.
12690         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12691         Likewise.
12692         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12693         Likewise.
12694         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12695         Likewise.
12697 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12699         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12700         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12701         with unaligned_erms.
12702         (__memmove_erms): Skip if source == destination.
12703         (__memmove_unaligned_erms): Don't check source == destination
12704         first.
12706 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12708         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12709         bit_arch_Fast_Copy_Backward for Intel Core proessors.
12711 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12713         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12714         * string/strspn.c (strspn): Likewise.
12716 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12718         * benchtests/bench-memset.c (do_test): Support 64-byte
12719         alignment.
12720         (test_main): Test 64-byte alignment.
12722 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12724         * benchtests/bench-memmove.c (test_main): Test 64-byte
12725         alignment.
12727 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
12729         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12731 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12733         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12734         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12735         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12737         * string/strpbrk.c (strpbrk): Rewrite function.
12738         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12739         (__strpbrk_c2): Likewise.
12740         (__strpbrk_c3): Likewise.
12741         * string/string-inlines.c
12742         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12743         Likewise.
12744         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12745         Likewise.
12747         * string/strspn.c (strcspn): Rewrite function.
12748         * string/bits/string2.h (strspn): Use __builtin_strcspn.
12749         (__strspn_c1): Remove inline function.
12750         (__strspn_c2): Likewise.
12751         (__strspn_c3): Likewise.
12752         * string/string-inlines.c
12753         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12754         compatibility symbol.
12755         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12756         Likewise.
12757         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12758         Likewise.
12759         * string/string-inlines.c: Include generic version.
12761 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
12762             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12764         * string/Version (libc): Add GLIBC_2.24.
12765         * string/strcspn.c (strcspn): Rewrite function.
12766         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12767         (__strcspn_c1): Remove inline function.
12768         (__strcspn_c2): Likewise.
12769         (__strcspn_c3): Likewise.
12770         * string/string-inline.c
12771         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
12772         compatibility symbol.
12773         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
12774         Likewise.
12775         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
12776         Likewise.
12777         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
12779 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
12781         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
12782         Use ahi instead of aghi to adjust stack pointer.
12784 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12786         [BZ #19853]
12787         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
12788         TEST to take significant digits as second parameter.
12789         [TEST]: Redefine in terms of TEST_N taking 30
12790         significant digits.
12791         (do_test): Add test case to demonstrate precision
12792         failure in the ldbl-128ibm printf.
12793         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
12794         (__mpn_extract_long_double): Carry 7 extra intermediate
12795         bits of precision to aide computing difference when
12796         signs differ.
12798 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12800         [BZ #19881]
12801         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12802         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
12803         memset-avx512-unaligned-erms.
12804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12805         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
12806         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
12807         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
12808         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
12809         __memset_sse2_unaligned_erms, __memset_erms,
12810         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
12811         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
12812         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
12813         file.
12814         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12815         Likewise.
12816         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
12817         Likewise.
12818         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
12819         Likewise.
12821 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
12823         [BZ #19776]
12824         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12825         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
12826         memmove-avx512-unaligned-erms.
12827         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12828         (__libc_ifunc_impl_list): Test
12829         __memmove_chk_avx512_unaligned_2,
12830         __memmove_chk_avx512_unaligned_erms,
12831         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
12832         __memmove_chk_sse2_unaligned_2,
12833         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
12834         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
12835         __memmove_avx512_unaligned_erms, __memmove_erms,
12836         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
12837         __memcpy_chk_avx512_unaligned_2,
12838         __memcpy_chk_avx512_unaligned_erms,
12839         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
12840         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
12841         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
12842         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
12843         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
12844         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
12845         __mempcpy_chk_avx512_unaligned_erms,
12846         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
12847         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
12848         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
12849         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
12850         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
12851         __mempcpy_erms.
12852         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
12853         file.
12854         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12855         Likewise.
12856         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
12857         Likewise.
12858         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12859         Likewise.
12861 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12863         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
12864         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
12865         (La_s390_64_regs): Likewise.
12866         (La_s390_32_retval): Append vector register lrv_v24.
12867         (La_s390_64_retval): Likeweise.
12868         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
12869         Handle extended structs La_s390_32_regs and La_s390_32_retval.
12870         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
12871         Handle extended structs La_s390_64_regs and La_s390_64_retval.
12873 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
12875         [BZ #19916]
12876         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
12877         to create a non-vector/vector version for _dl_runtime_resolve and
12878         _dl_runtime_profile. Move implementation to ...
12879         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
12880         (_dl_runtime_resolve) Save and restore fpr/vrs.
12881         (_dl_runtime_profile) Save and restore vrs and fix some issues
12882         if _dl_call_pltexit is called.
12883         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
12884         Choose the correct resolver function if running on a machine with vx.
12885         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
12886         to create a non-vector/vector version for _dl_runtime_resolve and
12887         _dl_runtime_profile. Move implementation to ...
12888         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
12889         (_dl_runtime_resolve) Save and restore fpr/vrs.
12890         (_dl_runtime_profile) Save and restore vrs and fix some issues
12891         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
12892         Choose the correct resolver function if running on a machine with vx.
12894 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12896         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
12898 2016-03-31  Florian Weimer  <fweimer@redhat.com>
12900         [BZ #19509]
12901         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
12902         skip_map != NULL.
12903         * elf/tst-dlsym-error.c: New file.
12904         * elf/Makefile (tests): Add tst-dlsym-error.
12905         (tst-dlsym-error): Link against libdl.
12907 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
12909         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12910         (__ASSUME_FUTIMESAT): Remove macro.
12911         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
12913 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12915         [BZ #19879]
12916         CVE-2016-3075
12917         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
12918         copy name.
12920 2016-03-29  Florian Weimer  <fweimer@redhat.com>
12922         [BZ #19837]
12923         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
12924         error if parse_line fails.
12926 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12928         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
12929         (index_cpu_ERMS): Likewise.
12930         (reg_ERMS): Likewise.
12932 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
12934         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
12935         PER_LINUX_FDPIC): Add.
12937 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12939         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12940         memcpy-avx512-no-vzeroupper.
12941         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
12942         to ...
12943         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
12944         (MEMCPY): Don't define.
12945         (MEMCPY_CHK): Likewise.
12946         (MEMPCPY): Likewise.
12947         (MEMPCPY_CHK): Likewise.
12948         (MEMPCPY_CHK): Renamed to ...
12949         (__mempcpy_chk_avx512_no_vzeroupper): This.
12950         (MEMPCPY_CHK): Renamed to ...
12951         (__mempcpy_chk_avx512_no_vzeroupper): This.
12952         (MEMCPY_CHK): Renamed to ...
12953         (__memmove_chk_avx512_no_vzeroupper): This.
12954         (MEMCPY): Renamed to ...
12955         (__memmove_avx512_no_vzeroupper): This.
12956         (__memcpy_avx512_no_vzeroupper): New alias.
12957         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
12959 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12961         [BZ #18858]
12962         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
12963         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
12964         and mempcpy-avx512-no-vzeroupper.
12965         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
12966         New.
12967         (MEMPCPY): Likewise.
12968         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
12969         (MEMPCPY_CHK): New.
12970         (MEMPCPY): Likewise.
12971         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
12972         (MEMPCPY): Likewise.
12973         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
12974         (MEMPCPY): Likewise.
12975         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
12976         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
12977         Likewise.
12978         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
12979         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
12981 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
12982              Amit Pawar  <Amit.Pawar@amd.com>
12984         [BZ #19583]
12985         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
12986         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
12987         processors.  Set Fast_Copy_Backward for AMD Excavator
12988         processors.
12989         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
12990         New.
12991         (index_arch_Fast_Unaligned_Copy): Likewise.
12992         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
12993         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
12995 2016-03-25  Florian Weimer  <fweimer@redhat.com>
12997         [BZ #19791]
12998         * resolv/res_send.c (close_and_return_error): New function.
12999         (send_dg): Initialize *resplen2 after reopen failure.  Call
13000         close_and_return_error for error returns.  On error paths without
13001         __res_iclose, initialze *resplen2 explicitly.  Update comment for
13002         successful return.
13004 2016-03-25  Florian Weimer  <fweimer@redhat.com>
13006         [BZ# 19860]
13007         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13008         zero if the compiler does not provide the AVX512F bit.
13010 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
13012         [BZ #19848]
13013         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13014         from 8 to 4.
13015         (__ieee754_powl): Compare integer exponent against 4 not 8.
13016         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13017         from 8 to 4.
13018         (__ieee754_powl): Compare integer exponent against 4 not 8.
13019         * math/auto-libm-test-in: Add more tests of pow.
13020         * math/auto-libm-test-out: Regenerated.
13021         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13022         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13024 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13026         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13027         Make code unconditional.
13028         [!__NR_utimensat]: Remove conditional code.
13029         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13030         Make code unconditional.
13031         [!__NR_utimensat]: Remove conditional code.
13032         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13033         Make code unconditional.
13034         [!__NR_utimensat]: Remove conditional code.
13036 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13038         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13039         Make code unconditional.
13041 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
13043         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13044         call-clobbered %eax on retry path.
13045         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13047 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13049         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13050         Don't set %rcx twice before "rep movsb".
13052 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13054         [BZ #19583]
13055         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13056         inline.  Check family before setting family, model and
13057         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
13058         bits here.
13059         (init_cpu_features): Replace HAS_CPU_FEATURE and
13060         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13061         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
13062         for Intel processors with usable AVX2.  Call get_common_indeces
13063         for other processors with family == NULL.
13064         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13065         (CPU_FEATURES_ARCH_P): Likewise.
13066         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13067         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13069 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13071         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13072         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13073         $(shared-thread-library) instead of hardcoding the path to libpthread.
13075 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
13077         * sysdeps/unix/sysv/linux/kernel-features.h
13078         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13079         * sysdeps/unix/sysv/linux/getdents.c
13080         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13081         [!have_no_getdents64_defined]: Likewise.
13082         (__GETDENTS): Remove __have_no_getdents64 conditional.
13084 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
13086         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13087         Remove macro.
13088         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13089         <kernel-features.h>.
13090         (signalfd) [__NR_signalfd4]: Make code unconditional.
13091         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13093 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13095         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13096         style.
13098 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13100         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13101         (__pthread_enable_asynccancel): Use JUMPTARGET to call
13102         __pthread_unwind.
13103         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13104         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13105         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13106         (__condvar_cleanup1): Likewise.
13108 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
13110         [BZ #19822]
13111         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13112         move it to the final $@ location.
13114 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13116         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13117         access where posix_spawn success and pid argument is null.
13118         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13119         success case.
13121 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
13123         * sysdeps/mach/hurd/i386/c++-types.data: New file.
13125         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13127         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13128         and __fcntl.
13129         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13130         __fcntl only.
13131         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13132         adding attribute_hidden to __open and __fcntl.
13134         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13135         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13136         depend on libc-modules.h,
13137         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13139 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
13141         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13142         Remove macro.
13143         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13144         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13145         entry.
13147         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13148         Remove macro.
13149         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13150         include <kernel-features.h>.
13151         [!__ASSUME_FALLOCATE]: Remove conditional code.
13152         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13154 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13156         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13157         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13159         (_ZGVdN4v_cos_avx2): Likewise.
13160         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13161         (_ZGVdN4v_cos): Likewise.
13162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13163         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13164         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13165         (_ZGVdN4v_exp_avx2): Likewise.
13166         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13167         (_ZGVdN4v_exp): Likewise.
13168         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13169         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13170         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13171         (_ZGVdN4v_log_avx2): Likewise.
13172         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13173         (_ZGVdN4v_log): Likewise.
13174         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13175         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13176         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13177         (_ZGVdN4vv_pow_avx2): Likewise.
13178         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13179         (_ZGVdN4vv_pow): Likewise.
13180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13181         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13182         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13183         (_ZGVdN4v_sin_avx2): Likewise.
13184         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13185         (_ZGVdN4v_sin): Likewise.
13186         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13187         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13188         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13189         (_ZGVdN4vvv_sincos_avx2): Likewise.
13190         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13191         (_ZGVdN4vvv_sincos): Likewise.
13192         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13193         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13194         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13195         (_ZGVbN4v_cosf_sse4): Likewise.
13196         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13197         (_ZGVdN8v_cosf_avx2): Likewise.
13198         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13199         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13200         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13201         (_ZGVbN4v_expf_sse4): Likewise.
13202         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13203         (_ZGVdN8v_expf_avx2): Likewise.
13204         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13205         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13206         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13207         (_ZGVbN4v_logf_sse4): Likewise.
13208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13209         (_ZGVdN8v_logf_avx2): Likewise.
13210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13211         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13213         (_ZGVbN4vv_powf_sse4): Likewise.
13214         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13215         (_ZGVdN8vv_powf_avx2): Likewise.
13216         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13217         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13218         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13219         (_ZGVbN4vvv_sincosf_sse4): Likewise.
13220         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13221         (_ZGVdN8vvv_sincosf_avx2): Likewise.
13222         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13223         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13224         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13225         (_ZGVbN4v_sinf_sse4): Likewise.
13226         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13227         (_ZGVdN8v_sinf_avx2): Likewise.
13228         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13229         Use JUMPTARGET to call callee.
13230         (WRAPPER_IMPL_SSE2_ff): Likewise.
13231         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13232         (WRAPPER_IMPL_AVX): Likewise.
13233         (WRAPPER_IMPL_AVX_ff): Likewise.
13234         (WRAPPER_IMPL_AVX_fFF): Likewise.
13235         (WRAPPER_IMPL_AVX512): Likewise.
13236         (WRAPPER_IMPL_AVX512_ff): Likewise.
13237         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13238         Likewise.
13239         (WRAPPER_IMPL_SSE2_ff): Likewise.
13240         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13241         (WRAPPER_IMPL_AVX): Likewise.
13242         (WRAPPER_IMPL_AVX_ff): Likewise.
13243         (WRAPPER_IMPL_AVX_fFF): Likewise.
13244         (WRAPPER_IMPL_AVX512): Likewise.
13245         (WRAPPER_IMPL_AVX512_ff): Likewise.
13246         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13248 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13250         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13251         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13252         qualifier.
13253         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13254         internal_function qualifiers.
13256 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13258         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13259         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13260         * math/atest-exp.c (exp_mpn): Mark chk unused.
13261         * math/atest-exp2.c (exp_mpn): Likewise.
13262         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13263         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13265 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13267         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13268         Remove macro.
13269         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13270         <kernel-features.h>.
13271         [__NR_ppoll]: Make code unconditional.
13272         [!__ASSUME_PPOLL]: Remove conditional code.
13274         * sysdeps/unix/sysv/linux/kernel-features.h
13275         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13276         (__ASSUME_ACCEPT4): Likewise.
13277         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13278         Define.
13279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13280         Likewise.
13281         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13282         Likewise.
13283         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13284         Likewise.
13285         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13286         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13287         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13288         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13289         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13290         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13291         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13292         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13293         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13294         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13295         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13296         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13297         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13298         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13299         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13300         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13301         Likewise.
13302         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13303         Likewise.
13304         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13305         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13306         0x040300].
13307         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13308         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13309         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13310         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13311         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13312         0x030300].
13313         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13314         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13315         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13316         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13317         0x040300].
13318         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13319         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13321         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13322         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13323         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13324         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13325         0x030300].
13326         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13327         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13328         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13329         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13330         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13331         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13332         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13333         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13334         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13335         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13336         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13337         0x040300].
13338         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13339         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13340         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13341         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13342         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13343         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13344         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13345         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13346         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13347         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13349         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13350         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13351         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13352         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13353         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13354         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13355         Likewise.
13356         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13357         Likewise.
13359 2016-03-15  Andreas Schwab  <schwab@suse.de>
13361         [BZ #19257]
13362         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13363         statp->_u._ext.nscount as loop count.
13365 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13367         * math/test-signgam-finite-c99.c: Also #undef
13368         __LIBC_INTERNAL_MATH_INLINES.
13369         * math/test-signgam-main.c: Likewise.
13371 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13373         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13374         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13375         (MADV_FREE): Likewise.
13376         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13377         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13378         EPOLLEXCLUSIVE.
13380 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13382         * timezone/README: Remove mention of checktab.awk. Mention wiki
13383         SharedSourceFiles.
13385 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13387         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13388         WUNTRACED.
13390 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13392         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13393         order to match the type of p when calling atomic_exchange_acq().
13395 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13397         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13398         cfi_offset calls.
13399         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13400         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13401         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13402         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13403         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13405 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13407         * timezone/checktab.awk: Removed.
13409 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13411         * manual/math.texi (Errors in Math Functions): Document relaxed
13412         accuracy goals for IBM long double.
13413         * math/libm-test.inc (test_exceptions): Always allow spurious
13414         "underflow" and "inexact" exceptions for IBM long double.
13416 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13418         [BZ #19762]
13419         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13420         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13421         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13422         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13423         (bit_arch_*): This for feature array.
13424         (bit_*): Renamed to ...
13425         (bit_cpu_*): This for cpu array.
13426         (index_*): Renamed to ...
13427         (index_arch_*): This for feature array.
13428         (index_*): Renamed to ...
13429         (index_cpu_*): This for cpu array.
13430         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13431         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13432         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13433         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13434         bit_##name with index_cpu_##name and bit_cpu_##name.
13435         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13436         bit_##name with index_arch_##name and bit_arch_##name.
13438 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13440         [BZ #19792]
13441         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13442         Terminate FDE before return label.
13444 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13446         [BZ #19790]
13447         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13448         (rintl): Define as macro.
13449         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13450         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13451         of fesetround.  Ensure results are evaluated before end of scope.
13452         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13453         USE_AS_NEARBYINTL and include s_rintl.c.
13454         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13455         Disable exception traps in new environment.
13456         (libc_feholdsetround_ppc_ctx): Likewise.
13458 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13460         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13461         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13462         (tst_audit10_aux) [__AVX512F__]: ... here.
13464 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13466         * include/sys/auxv.h: New file.
13468 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13470         [BZ #19759]
13471         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13473 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13475         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13476         operand modifier.
13477         (feclearexcept): Likewise.
13479 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13481         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13482         to reflect the entire 32-bit HWCAP.
13483         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13484         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13486 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13488         [BZ #19783]
13489         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13490         $(test-via-rtld-prefix).
13491         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13493 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13495         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13496         union wait.  Report any non-zero exit status as error.
13498 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13500         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13501         configured with --enable-hardcoded-path-in-tests.
13503 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13505         [BZ #19677]
13506         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13507         (__ieee754_remainderl): Put zero low parts in canonical form.
13508         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13509         file.  Based on
13510         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13511         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13512         with wrapper round test-fmodrem-ldbl-128ibm.c.
13513         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13514         file.
13515         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13516         Likewise.
13517         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13518         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13520 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13522         [BZ #19610]
13523         * elf/ldconfig.c (opt_link): Update comment.
13524         (options): Update help string for option -X.
13525         (search_dir): Unlink stale symbolic link only if updating symbolic
13526         links.
13527         * elf/tst-ldconfig-X.sh: New file.
13528         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13529         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13531 2016-03-07  Andreas Schwab  <schwab@suse.de>
13533         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13534         needed arguments.
13536 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13538         [BZ #15333]
13539         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13540         to lstat64.
13542 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13544         * libio/filedoalloc.c (isatty): Remove.
13545         (local_isatty): Add comment.  Call __isatty directly.
13546         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13547         * libio/wfiledoalloc.c (isatty): Remove.
13548         (_IO_wfile_doallocate): Update comment.
13550 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13552         [BZ #19269]
13553         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13554         tst-audit4-aux.o.
13555         (tst-audit10): Depend on tst-audit10-aux.o.
13556         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13557         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13558         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13559         instead of inline AVX code.
13560         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13561         instead of inline AVX512 code.
13562         * sysdeps/x86_64/tst-audit4-aux.c: New file
13563         * sysdeps/x86_64/tst-audit10-aux.c: New file
13565         [BZ #19648]
13566         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13568 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13570         [BZ #14750]
13571         [BZ #10354]
13572         [BZ #18433]
13573         * include/sched.h (__clone): Add hidden prototype.
13574         (__clone2): Likewise.
13575         * include/unistd.h (__dup): Likewise.
13576         * posix/Makefile (tests): Add tst-spawn2.
13577         * posix/tst-spawn2.c: New file.
13578         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13579         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13580         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13581         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13582         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13583         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13584         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13585         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13586         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13587         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13588         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13590         Likewise.
13591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13594         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13595         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13596         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13597         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13598         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13599         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13600         * sysdeps/unix/sysv/linux/nptl-signals.h
13601         (____nptl_is_internal_signal): New function.
13602         * sysdeps/unix/sysv/linux/spawni.c: New file.
13604         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13605         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13606         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13607         * posix/tst-execvp2.c (do_test): Likewise.
13608         * posix/tst-execvp3.c (do_test): Likewise.
13609         * posix/tst-execvp4.c (do_test): Likewise.
13610         * posix/tst-execvpe1.c: New file.
13611         * posix/tst-execvpe2.c: Likewise.
13612         * posix/tst-execvpe3.c: Likewise.
13613         * posix/tst-execvpe4.c: Likewise.
13614         * posix/tst-execvpe5.c: Likewise.
13615         * posix/tst-execvpe6.c: Likewise.
13617         [BZ #19534]
13618         * posix/execl.c (execl): Remove dynamic memory allocation.
13619         * posix/execle.c (execle): Likewise.
13620         * posix/execlp.c (execlp): Likewise.
13622 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13624         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13625         Replace .text with .text.avx512.
13626         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13627         Likewise.
13629 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13631         * sysdeps/generic/libnsl.abilist: New file.
13632         * sysdeps/generic/libutil.abilist: New file.
13634 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13636         [BZ #19762]
13637         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13638         HAS_ARCH_FEATURE with Fast_Rep_String.
13639         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13640         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13641         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13642         Likewise.
13643         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13644         Likewise.
13645         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13646         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13647         Likewise.
13648         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13649         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13650         Likewise.
13652 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13654         [BZ #19745]
13655         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13656         with *%rax in call.
13658 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13660         [BZ #19745]
13661         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13662         with *__libc_start_main@GOTPCREL(%rip) in call.
13664 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13666         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13667         inside conditional for nonempty $(CXX).
13669         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13670         nonempty.
13672         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13673         to test for empty $(CXX) rather than $(CXX) of "no".
13675 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13677         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13679 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13680             H.J. Lu  <hongjiu.lu@intel.com>
13682         [BZ #18880]
13683         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13684         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13685         enable __memcpy_ssse3_back.
13687 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13689         [BZ #19758]
13690         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13691         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13693 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13695         [BZ #19490]
13696         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13697         (__fentry__): Likewise.
13699 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13701         * gmon/Makefile (noprof): Add $(sysdep_noprof).
13702         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13704 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13706         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13707         __mcount_internal directly.
13708         (C_LABEL(__fentry__)): Likewise.
13709         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13710         directly.
13712 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
13714         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13715         (__start_context): Call __setcontext directly.
13717 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
13719         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13720         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13721         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13722         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13723         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13724         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13725         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13726         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13727         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13728         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13729         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13730         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13731         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13732         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13733         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13734         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13735         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13736         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13737         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13738         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13739         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13740         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13741         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13742         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13743         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13744         Remove conditional code.
13745         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13746         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13747         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13748         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13749         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13750         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13751         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13752         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13753         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13754         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13755         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13756         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13758 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
13760         * NEWS (2.23): Fix typo in bug 19048 text.
13762 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
13764         [BZ #14259]
13765         * Makeconfig: Rename msgcatdir to localedir.
13766         Rename inst_msgcatdir to inst_localedir.
13767         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13768         * config.make.in: Add localedir.
13769         * elf/Makefile ($(objpfx)sotruss): Use localedir.
13770         (ldd-rewrite): Likewise.
13771         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
13772         (install-others): Use inst_localedir.
13773         (CPPFLAGS): Use localedir.
13774         * locale/Makefile (locale-CPPFLAGS): Likewise.
13775         * po/Makefile (mo-installed): Use inst_localedir.
13777         [BZ #19575]
13778         * localedata/charmaps/GB18030: Update comments regarding PAU to
13779         non-PUA mappings.
13781 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
13783         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
13784         test for header.
13785         * sysdeps/unix/sysv/linux/configure: Regenerated.
13786         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
13787         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
13788         Remove conditional code.
13789         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
13791         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13792         Define to 3.2.0.
13793         (arch_minimum_kernel): Likewise.
13794         * sysdeps/unix/sysv/linux/configure: Regenerated.
13795         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
13796         Define to 2.6.32.
13797         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
13798         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
13799         (arch_minimum_kernel): Define to 2.6.32.
13800         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
13801         * README: Document Linux 3.2 requirement.
13802         * manual/install.texi (Linux): Document Linux 3.2 headers
13803         requirement.
13804         * INSTALL: Regenerated.
13806 2016-02-24  Andreas Schwab  <schwab@suse.de>
13808         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
13809         if !NO_LONG_DOUBLE.
13811 2016-02-22  Roland McGrath  <roland@hack.frob.com>
13813         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
13814         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
13816 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
13818         [BZ #19512]
13819         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
13821 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
13823         * posix/tst-dir.c: Include libc-internal.h.
13825 2016-02-20  Florian Weimer  <fweimer@redhat.com>
13827         [BZ #19056]
13828         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
13829         * manual/filesys.texi (Reading/Closing Directory): Mention
13830         deprecaion.
13831         * posix/tst-dir.c (main): Disable deprecation warning in test.
13833 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
13835         [BZ #19679]
13836         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
13837         Renamed to ...
13838         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
13839         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13840         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
13841         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13842         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13843         * sysdeps/x86_64/dl-trampoline.h
13844         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
13845         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
13847 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13849         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
13851 2016-02-19  Mark Wielaard  <mjw@redhat.com>
13853         * elf/elf.h (R_386_GOT32X): New.
13854         (R_386_NUM): Update.
13855         (R_X86_64_GOTPCRELX: New.
13856         (R_X86_64_REX_GOTPCRELX): New.
13857         (R_X86_64_NUM): Update.
13859 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
13861         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
13863 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
13865         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
13866         assign attr->stackaddr to it, and adjust it down when
13867         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
13868         [_STACK_GROWS_UP]: Delete assert.
13869         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
13870         Implement stack grows up logic.
13871         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
13872         stack grows up logic.
13874 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13876         * NEWS: Update with 2.24 template.
13878 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13880         [BZ #19678]
13881         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13882         Ensure +0.0 is returned when taking the next value below the least
13883         positive value.
13885 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13887         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
13888         available.  Do not define NO_THREADS.
13889         * malloc/malloc.c: Do not check NO_THREADS.
13890         * malloc/arena.c: Likewise.
13892 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13894         * malloc/malloc.c (__libc_mallinfo): Update comment.
13895         (struct malloc_par): Remove max_total_mem member, it was always 0.
13896         (int_mallinfo): Store 0 into usmblks (no functional change).
13897         * malloc/hooks.c (struct malloc_state): Document that
13898         max_total_mem is always 0.
13899         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
13900         always 0.
13901         * manual/memory.texi (Statistics of Malloc): Likewise.
13903 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13905         * malloc/malloc.c (sysmalloc): Do not update arena_max.
13906         * malloc/arena.c (arena_max): Remove.
13907         (heap_trim, _int_new_arena): Do not update arena_max.
13909 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13911         * resolv/res_init.c (res_ninit): Update comment.
13913 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13915         [BZ #19505]
13916         * posix/spawn_int.h: Add headers and include guard.
13917         (__spawn_valid_fd): New function.
13918         * posix/spawn_faction_addopen.c
13919         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
13920         * posix/spawn_faction_addclose.c
13921         (posix_spawn_file_actions_addclose): Likewise.
13922         * posix/spawn_faction_adddup2.c
13923         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
13924         second file descriptor.
13925         * posix/spawn_valid_fd.c: New file.
13926         * posix/tst-posix_spawn-fd.c: New file.
13927         * posix/Makefile (routines): Add spawn_valid_fd.
13928         (tests): Add tst-posix_spawn-fd.
13930 2016-02-19  Florian Weimer  <fweimer@redhat.com>
13932         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
13933         (do_test): Limit the number of arenas, so that we can use fewer
13934         outer threads.  Limit timeout to 3 seconds, in preparation for a
13935         larger TIMEOUT value.
13937 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
13939         [BZ #19674]
13940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
13941         sign in overflowing and underflowing results when overflow or
13942         underflow is detected early.  Include sign in result before rather
13943         than after scaling.
13945         [BZ #19603]
13946         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13947         (__ieee754_remainderl): Adjust sign of integer version of low part
13948         when taking absolute value of high part.
13949         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13950         * math/libm-test.inc (remainder_test_data): Add another test.
13951         (remquo_test_data): Likewise.
13953 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
13955         [BZ #19602]
13956         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
13957         equal high parts and both low parts zero specially.
13958         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
13959         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
13960         Add test-fmodl-ldbl-128ibm.
13962         [BZ #19595]
13963         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
13964         common logic for all cases of shifting subnormal results.  Do not
13965         insert sign bit in shifted mantissa.  Always pass -1023 as biased
13966         exponent to ldbl_insert_mantissa in subnormal case.
13968         [BZ #19594]
13969         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
13970         on high and low parts then adjust result and use
13971         ldbl_canonicalize_int if needed.
13973         [BZ #19593]
13974         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
13975         on high part and __floor or __ceil on low part then use
13976         ldbl_canonicalize_int if needed.
13978         [BZ #19592]
13979         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
13980         high and low parts then use ldbl_canonicalize_int if needed.
13982         [BZ #17899]
13983         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
13984         New function.
13985         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
13986         on high and low parts then use ldbl_canonicalize_int if needed.
13988 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13990         * configure: Regenerated.
13992         * po/libc.pot: Regenerated.
13994         * po/be.po: Updated translation.
13995         * po/bg.po: Likewise.
13996         * po/ca.po: Likewise.
13997         * po/cs.po: Likewise.
13998         * po/da.po: Likewise.
13999         * po/el.po: Likewise.
14000         * po/eo.po: Likewise.
14001         * po/es.po: Likewise.
14002         * po/fi.po: Likewise.
14003         * po/fr.po: Likewise.
14004         * po/gl.po: Likewise.
14005         * po/hr.po: Likewise.
14006         * po/hu.po: Likewise.
14007         * po/ia.po: Likewise.
14008         * po/id.po: Likewise.
14009         * po/it.po: Likewise.
14010         * po/ja.po: Likewise.
14011         * po/lt.po: Likewise.
14012         * po/nb.po: Likewise.
14013         * po/nl.po: Likewise.
14014         * po/pt_BR.po: Likewise.
14015         * po/rw.po: Likewise.
14016         * po/sk.po: Likewise.
14017         * po/sl.po: Likewise.
14018         * po/sv.po: Likewise.
14019         * po/tr.po: Likewise.
14020         * po/zh_CN.po: Likewise.
14021         * po/zh_TW.po: Likewise.
14023         * version.h (RELEAES): Set to "development".
14024         (VERSION): Set to 2.23.90.
14026         * version.h (RELEASE): Set to "stable".
14027         (VERSION): Set to 2.23.
14028         * include/feature.h (__GLIBC_MINOR__): Set to 23.
14030         * NEWS: Updated fixed bugs.
14032 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
14033             Wilco Dijkstra  <wdijkstr@arm.com>
14035         [BZ #19462]
14036         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14037         (_STRING_INLINE_unaligned): This.
14038         * include/string.h: Include <string_private.h>.
14039         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14040         _STRING_INLINE_unaligned.
14041         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14042         (_STRING_INLINE_unaligned): New.
14043         * sysdeps/aarch64/string_private.h: New file.
14044         * sysdeps/generic/string_private.h: Likewise.
14045         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14046         * sysdeps/s390/string_private.h: Likewise.
14047         * sysdeps/x86/string_private.h: Likewise.
14048         * sysdeps/m68k/m680x0/m68020/bits/string.h
14049         (_STRING_ARCH_unaligned): Renamed to ...
14050         (_STRING_INLINE_unaligned): This.
14051         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14052         to ...
14053         (_STRING_INLINE_unaligned): This.
14054         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14055         to ...
14056         (_STRING_INLINE_unaligned): This.
14057         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14058         to ...
14059         (_STRING_INLINE_unaligned): This.
14061 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14062             H.J. Lu  <hongjiu.lu@intel.com>
14064         [BZ #19590]
14065         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14066         relocation.
14068 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
14070         [BZ #18665]
14071         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14072         *herrno_p.
14073         (gaih_getanswer): Document functional behviour. Return tryagain
14074         if any result is tryagain.
14075         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14076         when freed.
14077         * resolv/res_send.c: Add copyright text.
14078         (__libc_res_nsend): Document that MAXPACKET is expected.
14079         (send_vc): Document. Remove buffer reuse.
14080         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14081         size of the buffer. Add Dprint for truncated UDP buffer.
14083 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
14085         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14086         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14087         * INSTALL: Regenerate.
14089 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
14090             Jonathan Wakely  <jwakely@redhat.com>
14091             Carlos O'Donell  <carlos@redhat.com>
14093         [BZ 19439]
14094         * math/Makefile (tests): Add test-math-isinff.
14095         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14096         * math/bits/mathcalls.h [__USE_MISC]: Use
14097         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14098         functions not in C++11 and which don't conflict e.g. isinff,
14099         isinfl etc.
14100         * math/test-math-isinff.cc: New file.
14102 2016-02-12  Florian Weimer  <fweimer@redhat.com>
14104         * misc/bug18240.c (do_test): Set RLIMIT_AS.
14106 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14108         [BZ #19529]
14109         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14111 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14113         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14115 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
14117         [BZ #19550]
14118         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14119         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14120         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14121         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14122         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14123         New syscall entry.
14124         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14125         New syscall entry.
14126         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14127         syscall entry.
14129 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
14131         [BZ #18240]
14132         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14133         unsigned int wraparound.
14135 2016-01-27  Florian Weimer  <fweimer@redhat.com>
14137         [BZ #18240]
14138         * misc/bug18240.c: New test.
14139         * misc/Makefile (tests): Add it.
14141 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
14142             Joseph Myers  <joseph@codesourcery.com>
14144         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14145         load in branch delay slot when less than a word of input left.
14147 2016-01-27  Andreas Schwab  <schwab@suse.de>
14149         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14150         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14151         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14152         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14154 2016-01-26  David S. Miller  <davem@davemloft.net>
14156         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14158 2016-01-25  David S. Miller  <davem@davemloft.net>
14160         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14161         __sqrtl_finite.
14162         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14163         instead using versioned_symbol.
14164         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14165         of entries.
14167         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14168         __sqrtl_finite to GLIBC_2.23
14170 2016-01-25  Ricchard Henderson  <rth@redhat.com>
14172         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14174 2016-01-25  Andreas Schwab  <schwab@suse.de>
14176         [BZ #17514]
14177         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14178         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14179         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14180         * nptl/tst-mutex-errorcheck.c: New file.
14182 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14184         [BZ #18560]
14185         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14186         (IPCOP_semop): Likewise.
14187         (IPCOP_semget): Likewise.
14188         (IPCOP_semctl): Likewise.
14189         (IPCOP_msgsnd): Likewise.
14190         (IPCOP_msgrcv): Likewise.
14191         (IPCOP_msgget): Likewise.
14192         (IPCOP_msgctl): Likewise.
14193         (IPCOP_shmat): Likewise.
14194         (IPCOP_shmdt): Likewise.
14195         (IPCOP_shmget): Likewise.
14196         (IPCOP_shmctl): Likewise.
14198 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14200         * string/tst-endian.c: Include <libc-internal.h>.
14201         (do_test): Ignore tautological-compare warnings around
14202         "htobeXX (beXXtoh (i)) != i" and
14203         "htoleXX (leXXtoh (i)) != i" if-statements.
14205 2016-01-24  David S. Miller  <davem@davemloft.net>
14207         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14208         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14209         alias.
14210         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14211         __sqrtl_finite.
14213         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14215 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
14217         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14218         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14219         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14221 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14223         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14224         (thread_func): Use new function to simplify barrier check.
14225         (do_test): Use new function to simplify checking barrier exit
14226         code, and actually join the child thread.
14228 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14230         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14231         semicolon.
14232         (__libc_tend): Likewise.
14233         (__libc_tabort): Likewise.
14235 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14237         * sysdeps/nios2/libm-test-ulps: Update.
14238         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14239         (__gtsf2): Likewise.
14240         (__unorddf2): Likewise.
14241         (__unordsf2): Likewise.
14242         (__ledf2): Likewise.
14244 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14246         * nis/nis_table.c (__follow_path): Disable diagnostic for
14247         uninitialized variable that is a false positive for gcc 4.7.
14248         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14250 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14252         * sysdeps/nacl/lowlevellock-futex.h
14253         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14254         Always evaluate PRIVATE argument.
14256 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14258         [BZ #19490]
14259         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14260         (pthread_cond_broadcast): Use ENTRY/END
14261         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14262         (pthread_cond_signal): Likewise.
14263         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14264         Likewise.
14265         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14266         Likewise.
14267         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14268         Likewise.
14270 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14272         * sysdeps/ieee754/dbl-64/s_finite.c
14273         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14274         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14275         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14276         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14277         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14280         (__gtsf2): Add as optional for libc.so.
14281         (__unordsf2): Likewise.
14282         (__signbit): Remove for libc.so.
14283         (__signbitl): Likewise.
14285 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14287         * iconvdata/bug-iconv11.c (test_ibm93x):
14288         Use %zu printf format specifier for size_t argument.
14290 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14292         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14293         already-recorded ulps.
14294         * sysdeps/arm/libm-test-ulps: Regenerated.
14295         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14296         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14297         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14299 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14300             Paul Pluzhnikov  <ppluzhnikov@google.com>
14302         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14303         assembler not supporting AVX-512.
14305 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14307         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14309 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14311         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14312         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14314         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14316         * sysdeps/arm/libm-test-ulps: Regenerated.
14318 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14320         [BZ #19451]
14321         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14323 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14325         [BZ #19486]
14326         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14327         * sysdeps/generic/fix-fp-int-convert-overflow.h
14328         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14329         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14330         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14331         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14332         Likewise.
14333         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14334         Avoid conversions to long int where inexact exceptions
14335         could be raised.
14336         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14337         Likewise.
14338         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14339         Avoid conversions to long long int where inexact exceptions
14340         could be raised.
14341         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14342         Likewise.
14344 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14346         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14347         * configure: Regenerated.
14349 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14351         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14353 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14355         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14356         outside of comment.
14358 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14360         * nptl/tst-barrier1.c: Add description on first line.
14361         * nptl/tst-barrier2.c: Likewise.
14362         * nptl/tst-barrier3.c: Likewise.
14363         * nptl/tst-barrier4.c: Likewise.
14364         * nptl/tst-barrier5.c: Likewise.
14366 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14368         [BZ #18868]
14369         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14371 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14374         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14375         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14376         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14377         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14378         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14379         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14380         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14381         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14382         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14383         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14385 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14387         [BZ #13065]
14388         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14389         new implementation.
14390         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14391         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14392         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14393         (BARRIER_IN_THRESHOLD): New macro.
14394         * nptl/pthread_barrierattr_setpshared.c
14395         (pthread_barrierattr_setpshared): Clean up.
14396         * nptl/tst-barrier4.c: Correct comment.
14397         * nptl/tst-barrier5.c: New file.
14398         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14399         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14400         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14401         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14402         * nptl/lowlevelbarrier.sym: Remove.
14403         * nptl/DESIGN-barrier.txt: Remove.
14404         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14405         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14406         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14407         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14408         error.
14409         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14410         implementation.
14412 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14414         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14415         (do_child): Mask SIGRTMIN while thr is running.
14417 2016-01-15  Martin Sebor  <msebor@redhat.com>
14419         [BZ #19432]
14420         * iconvdata/Makefile: Add bug-iconv11.
14421         * iconvdata/bug-iconv11.c: New test.
14422         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14423         * iconvdata/ibm933.c: Same.
14424         * iconvdata/ibm935.c: Same.
14425         * iconvdata/ibm937.c: Same.
14426         * iconvdata/ibm939.c: Same.
14428 2016-01-15  Martin Sebor  <msebor@redhat.com>
14430         [BZ #19443]
14431         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14432         [DEBUG] (_ufc_set_bits): Declare used.
14433         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14434         [DEBUG] (print_all): Declare used.
14435         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14436         operands of the ternary ?: expression to target type.
14437         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14438         calling the undeclared abort.
14439         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14441 2016-01-15  Martin Sebor  <msebor@redhat.com>
14443         [BZ #18755]
14444         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14445         warnings.
14446         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14447         (__gai_create_helper_thread): Same.
14448         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14449         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14450         to suppress -Wmaybe-uninitialized warnings.
14452 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14454         [BZ #19465]
14455         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14456         inside if.
14457         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14458         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14459         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14461 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14463         [BZ #19466]
14464         * time/tst-mktime2.c (time_t_max): Removed.
14465         (time_t_min): Likewise.
14466         (TYPE_SIGNED): New.
14467         (TYPE_MINIMUM): Likewise.
14468         (TYPE_MAXIMUM): Likewise.
14469         (TIME_T_MIN): Likewise.
14470         (TIME_T_MAX): Likewise.
14471         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14472         and TIME_T_MIN.
14473         (do_test): Likewise.
14475 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14477         [BZ #19467]
14478         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14479         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14481 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14483         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14485 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14487         * benchtests/Makefile (PYTHON): Define.
14488         (bench-func): Use $(PYTHON) to run python scripts.
14489         ($(objpfx)bench-%.c): Likewise.
14491 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14493         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14494         leading slash when `file_name' is "/".
14496 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14498         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14499         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14500         Likewise.
14501         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14502         Likewise.
14503         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14504         Likewise.
14505         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14506         enum constant and macro.
14507         (PTRACE_SETSIGMASK): Likewise.
14508         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14509         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14510         (PTRACE_GETSIGMASK): Likewise.
14511         (PTRACE_SETSIGMASK): Likewise.
14512         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14513         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14514         Likewise.
14515         (PTRACE_SETSIGMASK): Likewise.
14516         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14517         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14518         (PTRACE_GETSIGMASK): Likewise.
14519         (PTRACE_SETSIGMASK): Likewise.
14520         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14521         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14522         Likewise.
14523         (PTRACE_SETSIGMASK): Likewise.
14524         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14525         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14526         Likewise.
14527         (PTRACE_SETSIGMASK): Likewise.
14528         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14529         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14530         Likewise.
14531         (PTRACE_SETSIGMASK): Likewise.
14532         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14534 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14535             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14537         [BZ #19439]
14538         * math/bits/mathcalls.h
14539         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14540         prototype.
14541         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14543 2016-01-11  Andreas Schwab  <schwab@suse.de>
14545         [BZ #19253]
14546         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14547         cache when TZDEFRULES was used.
14548         * time/tst-tzname.c: New file.
14549         * time/Makefile (test): Add tst-tzname.
14550         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14551         * timezone/Makefile (test-zones): Add $(posixrules-file).
14552         ($(testdata)/$(posixrules-file)): New rule.
14554 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14556         Fix doc quoting problems with Texinfo 5
14557         Without this change, in the info file output, Texinfo 5 quotes code
14558         in text with undirected single quotes 'like this' and generates
14559         code examples that with many PDF readers cannot be cut out of PDFs
14560         and pasted into code.
14561         * manual/libc.texinfo: Configure the libc manual like the GNU
14562         Emacs manual, by using @documentencoding and setting
14563         txicodequoteundirected and txicodequotebacktick.  This way,
14564         Texinfo 5 quotes code in text with directed single quotes ‘like
14565         this’ and produces examples that can be cut out of PDFs.  This
14566         change causes Texinfo 5 to generate info files that contain UTF-8
14567         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14568         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14570 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14572         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14573         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14574         barriers to their respective compiler built-ins.
14575         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14576         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14577         * sysdeps/powerpc/sysdep.h: Likewise.
14578         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14579         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14582 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14584         * scripts/config.guess: Revert previous shebang change.
14585         * scripts/config.sub: Likewise.
14586         * scripts/mkinstalldirs: Likewise.
14588 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14590         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14591         PPC_FEATURE2_HAS_IEEE128.
14592         * sysdeps/powerpc/dl-procinfo.c:
14593         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14595 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14597         [BZ #19415]
14598         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14599         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14600         (_dl_lookup_address): Rewrite using function resolver trampoline.
14601         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14602         two bits in address.
14604 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14606         * longlong.h: Change !__SHMEDIA__ to
14607         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14608         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14610 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14611             Joseph Myers  <joseph@codesourcery.com>
14612             Mark Shinwell  <shinwell@codesourcery.com>
14613             Andrew Stubbs  <ams@codesourcery.com>
14614             Rich Felker <dalias@libc.org>
14616         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14618 2016-01-07  Richard Henderson  <rth@redhat.com>
14620         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14622 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14624         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14625         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14626         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14627         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14628         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14630 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14631             Joseph Myers  <joseph@codesourcery.com>
14633         * timezone/private.h: Update from tzcode 2015g.
14634         * timezone/tzfile.h: Likewise.
14635         * timezone/tzselect.ksh: Likewise.
14636         * timezone/zdump.c: Likewise.
14637         * timezone/zic.c: Likewise.
14638         * timezone/ialloc.c: Remove file.
14639         * timezone/scheck.c: Likewise.
14640         * timezone/Makefile (extra-objs): Remove variable.
14641         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14642         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14643         -Wno-maybe-uninitialized.
14644         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14645         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14646         (CFLAGS-ialloc.c): Remove variable.
14647         (CFLAGS-scheck.c): Likewise.
14648         * timezone/README: Update list of files from tzcode.
14650 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14652         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14653         instead of __fxprintf when _LIBC is undefined.
14655 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14657         * catgets/test-gencat.sh: Remove space after shebang.
14658         * conform/GlibcConform.pm: Likewise.
14659         * conform/check-header-lists.sh: Likewise.
14660         * conform/conformtest.pl: Likewise.
14661         * conform/linknamespace.pl: Likewise.
14662         * conform/list-header-symbols.pl: Likewise.
14663         * debug/catchsegv.sh: Likewise.
14664         * elf/genrtldtbl.awk: Likewise.
14665         * elf/tst-pathopt.sh: Likewise.
14666         * elf/tst-rtld-load-self.sh: Likewise.
14667         * grp/tst_fgetgrent.sh: Likewise.
14668         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14669         * iconvdata/gen-8bit-gap.sh: Likewise.
14670         * iconvdata/gen-8bit.sh: Likewise.
14671         * iconvdata/run-iconv-test.sh: Likewise.
14672         * intl/tst-gettext.sh: Likewise.
14673         * intl/tst-gettext2.sh: Likewise.
14674         * intl/tst-gettext4.sh: Likewise.
14675         * intl/tst-gettext6.sh: Likewise.
14676         * intl/tst-translit.sh: Likewise.
14677         * io/ftwtest-sh: Likewise.
14678         * libio/test-freopen.sh: Likewise.
14679         * locale/gen-translit.pl: Likewise.
14680         * malloc/tst-mtrace.sh: Likewise.
14681         * manual/check-safety.sh: Likewise.
14682         * manual/libc-texinfo.sh: Likewise.
14683         * manual/tsort.awk: Likewise.
14684         * manual/xtract-typefun.awk: Likewise.
14685         * nptl/tst-cancel-wrappers.sh: Likewise.
14686         * nptl/tst-tls6.sh: Likewise.
14687         * posix/globtest.sh: Likewise.
14688         * posix/tst-getconf.sh: Likewise.
14689         * posix/wordexp-tst.sh: Likewise.
14690         * scripts/check-c++-types.sh: Likewise.
14691         * scripts/check-local-headers.sh: Likewise.
14692         * scripts/config.guess: Likewise.
14693         * scripts/config.sub: Likewise.
14694         * scripts/cpp: Likewise.
14695         * scripts/cross-test-ssh.sh: Likewise.
14696         * scripts/documented.sh: Likewise.
14697         * scripts/evaluate-test.sh: Likewise.
14698         * scripts/gen-libc-abis: Likewise.
14699         * scripts/gen-sorted.awk: Likewise.
14700         * scripts/list-fixed-bugs.py: Likewise.
14701         * scripts/merge-test-results.sh: Likewise.
14702         * scripts/mkinstalldirs: Likewise.
14703         * scripts/rellns-sh: Likewise.
14704         * scripts/test-installation.pl: Likewise.
14705         * scripts/update-copyrights: Likewise.
14706         * stdio-common/tst-printf.sh: Likewise.
14707         * stdio-common/tst-unbputc.sh: Likewise.
14708         * stdlib/tst-fmtmsg.sh: Likewise.
14709         * stdlib/tst-setcontext3.sh: Likewise.
14710         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14711         * sysdeps/unix/make-syscalls.sh: Likewise.
14713 2016-01-06  John David Anglin  <dave.anglin@bell.net>
14715         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14716         asm stw with atomic_exchange_rel.  Add explanatory comment.
14717         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14718         Likewise.
14720 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14722         [BZ #19122]
14723         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14724         * sysdeps/generic/dl-unistd.h: New file.
14725         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14727 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
14729          [BZ #19122]
14730          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14731          * sysdeps/generic/dl-mman.h: New file.
14732          * sysdeps/mach/hurd/dl-mman.h: Likewise.
14734 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
14736         * manual/texinfo.tex: Update to version 2016-01-04.21 with
14737         trailing whitespace removed.
14738         * scripts/config.guess: Update to version 2016-01-01.
14739         * scripts/config.sub: Update to version 2016-01-01.
14740         * scripts/move-if-change: Update from gnulib.
14742 2016-01-04  Anton Blanchard  <anton@samba.org>
14744         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14745         for array indices.
14746         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14748 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
14750         * NEWS: Update copyright dates.
14751         * catgets/gencat.c (print_version): Likewise.
14752         * csu/version.c (banner): Likewise.
14753         * debug/catchsegv.sh: Likewise.
14754         * debug/pcprofiledump.c (print_version): Likewise.
14755         * debug/xtrace.sh (do_version): Likewise.
14756         * elf/ldconfig.c (print_version): Likewise.
14757         * elf/ldd.bash.in: Likewise.
14758         * elf/pldd.c (print_version): Likewise.
14759         * elf/sotruss.sh: Likewise.
14760         * elf/sprof.c (print_version): Likewise.
14761         * iconv/iconv_prog.c (print_version): Likewise.
14762         * iconv/iconvconfig.c (print_version): Likewise.
14763         * locale/programs/locale.c (print_version): Likewise.
14764         * locale/programs/localedef.c (print_version): Likewise.
14765         * login/programs/pt_chown.c (print_version): Likewise.
14766         * malloc/memusage.sh (do_version): Likewise.
14767         * malloc/memusagestat.c (print_version): Likewise.
14768         * malloc/mtrace.pl: Likewise.
14769         * manual/libc.texinfo: Likewise.
14770         * nptl/version.c (banner): Likewise.
14771         * nscd/nscd.c (print_version): Likewise.
14772         * nss/getent.c (print_version): Likewise.
14773         * nss/makedb.c (print_version): Likewise.
14774         * posix/getconf.c (main): Likewise.
14775         * scripts/test-installation.pl: Likewise.
14776         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
14778         * All files with FSF copyright notices: Update copyright dates
14779         using scripts/update-copyrights.
14780         * intl/plural.c: Regenerated.
14781         * locale/programs/charmap-kw.h: Likewise.
14782         * locale/programs/locfile-kw.h: Likewise.
14784 2016-01-02  Helge Deller  <deller@gmx.de>
14786         [BZ #19285]
14787         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
14788         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
14789         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
14790         (MADV_xxK_PAGES): Remove.
14792 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
14794         [BZ #15421]
14795         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
14796         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
14797         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
14798         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
14800 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
14802         [BZ #19408]
14803         * sysdeps/unix/sysv/linux/personality.c: New file.
14804         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
14805         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
14806         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
14807         (sysdep_routines): Add personality.
14808         (tests): Add tst-personality.
14809         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
14810         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
14811         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
14812         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
14813         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
14814         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
14815         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
14816         Likewise.
14817         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
14818         Likewise.
14819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
14820         Likewise.
14821         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
14822         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
14823         Likewise.
14825 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
14827         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
14828         (PATH_ARM_SYSTYPE): Remove.
14829         (PATH_CPUINFO): Likewise.
14830         (IO_BASE_FOOTBRIDGE): Likewise.
14831         (IO_SHIFT_FOOTBRIDGE): Likewise.
14832         (struct platform): Likewise.
14833         (init_iosys): Remove compatibility code for 2.4 kernels.
14834         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
14836 2015-12-29  Florian Weimer  <fweimer@redhat.com>
14838         * malloc/tst-malloc-thread-fail.c: New file.
14839         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
14840         (tst-malloc-thread-fail): Link against libpthread.
14842 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
14844         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
14845         (get_parser): New function.
14846         (main): New function.
14848 2015-12-29  Rob Wu  <rob@robwu.nl>
14850         [BZ #19369]
14851         * resolv/res_init.c (__res_vinit): Reset defdname before use.
14853 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
14855         [BZ #19270]
14856         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
14858 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
14860         [BZ #15421]
14861         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
14863 2015-12-23  Torvald Riegel  <triegel@redhat.com>
14865         [BZ #13690]
14866         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
14867         after releasing it.
14868         (__lll_robust_unlock): Likewise.
14869         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
14870         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
14871         (lll_robust_unlock): Likewise.
14872         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
14873         Prevent warnings in callers.
14875 2015-12-23  Florian Weimer  <fweimer@redhat.com>
14877         * malloc/arena.c (list_lock): Update comment.
14879 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14881         * sysdeps/powerpc/hwcapinfo.c: Export symbol
14882         __parse_hwcap_and_convert_at_platform to libc.a.
14884 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14886         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
14887         platform and feature support for POWER9.
14888         * sysdeps/powerpc/dl-procinfo.h: Likewise.
14889         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
14890         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
14891         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
14892         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
14893         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14894         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14895         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14897 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14899         Harmonize generic stdio-lock support with nptl
14901         This fixes build when _IO_funlockfile is a macro, fixes build where
14902         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
14903         stack unwind.
14905         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
14906         _IO_release_lock ): Use cleanup attribute on new
14907         _IO_acquire_lock_file variable instead of assuming that
14908         _IO_release_lock will be called.
14909         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
14910         _IO_acquire_lock_needs_exceptions_enabled.
14911         (_IO_acquire_lock_clear_flags2): New macro.
14913 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14915         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14917 2015-12-21  Florian Weimer  <fweimer@redhat.com>
14919         [BZ #19182]
14920         * malloc/arena.c (list_lock): Document lock ordering requirements.
14921         (free_list_lock): New lock.
14922         (ptmalloc_lock_all): Comment on free_list_lock.
14923         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
14924         (detach_arena): Update comment.  free_list_lock is now needed.
14925         (_int_new_arena): Use free_list_lock around detach_arena call.
14926         Acquire arena lock after list_lock.  Add comment, including FIXME
14927         about incorrect synchronization.
14928         (get_free_list): Switch to free_list_lock.
14929         (reused_arena): Acquire free_list_lock around detach_arena call
14930         and attached threads counter update.  Add two FIXMEs about
14931         incorrect synchronization.
14932         (arena_thread_freeres): Switch to free_list_lock.
14933         * malloc/malloc.c (struct malloc_state): Update comments to
14934         mention free_list_lock.
14936 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
14938         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
14939         Remove functions.
14940         (sloww, sloww1): Accept argument to offset quadrant.
14941         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
14942         quadrant.
14943         (__sin, __cos): Consolidate common code into new functions.
14944         (reduce_sincos_1, do_sincos_1): New functions.
14945         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14947         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
14948         code to new functions.
14949         (reduce_sincos_2, do_sincos_2): New functions.
14950         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
14952         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
14953         common code for sincos.
14954         (__cos) [!IN_SINCOS]: Likewise.
14955         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
14956         New function.
14957         (__sincos): Use it.
14959 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
14961         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
14962         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
14963         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
14965 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14967         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
14968         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
14969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14970         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
14971         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14972         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
14973         index_Prefer_No_VZEROUPPER): New feature.
14974         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
14975         Prefer_No_VZEROUPPER for Knights Landing.
14977 015-12-18  Torvald Riegel  <triegel@redhat.com>
14979         * math/atest-exp2.c (mp_exp_m1): Remove.
14981 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14983         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
14984         syscalls.
14985         (__SYSCALL0): New macro.
14986         (__SYSCALL1): Likewise.
14987         (__SYSCALL2): Likewise.
14988         (__SYSCALL3): Likewise.
14989         (__SYSCALL4): Likewise.
14990         (__SYSCALL5): Likewise.
14991         (__SYSCALL6): Likewise.
14992         (__SYSCALL_CONCAT_X): Likewise.
14993         (__SYSCALL_CONCAT): Likewise.
14994         (__SYSCALL_DIST): Likewise.
14995         (__SYSCALL_CALL): Likewise.
14997 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
14999         [BZ #19363]
15000         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15002 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15004         [BZ #19375]
15005         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15006         negative subnormals.
15008 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
15010         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15011         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15012         (INTERNAL_SYSCALL_NCS): Use it.
15013         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15015 2015-12-16  Florian Weimer  <fweimer@redhat.com>
15017         [BZ #19243]
15018         * malloc/arena.c (get_free_list): Remove assert and adjust
15019         reference count handling.  Add comment about reused_arena
15020         interaction.
15021         (reused_arena): Add comments abount get_free_list interaction.
15022         * malloc/tst-malloc-thread-exit.c: New file.
15023         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15024         (tst-malloc-thread-exit): Link against libpthread.
15026 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15028         [BZ #19367]
15029         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15030         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15031         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15032         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15033         (index_Prefer_MAP_32BIT_EXEC): Likewise.
15035 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15037         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15038         Silvermont optimizations for Knights Landing.
15040 2015-12-15  Andreas Schwab  <schwab@suse.de>
15042         [BZ #17197]
15043         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15044         immediately after emitting SI.
15045         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15046         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15047         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15048         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15049         * iconvdata/bug-iconv10.c: New file.
15050         * iconvdata/Makefile (tests): Add bug-iconv10.
15051         ($(objpfx)bug-iconv10.out): New rule.
15053 2015-12-15  Florian Weimer  <fweimer@redhat.com>
15055         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15056         aliasing violation.
15058 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
15060         [BZ #18472]
15061         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15062         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15063         conditionals for them.
15064         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15065         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15066         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15067         sys/kdaemon.h.
15068         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15069         compat-only syscall, obsoleted in glibc 2.23.
15070         (create_module): Likewise.
15071         (get_kernel_syms): Likewise.
15072         (query_module): Likewise.
15073         (uselib): Likewise.
15074         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15076 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
15078         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15079         <linux/version.h>.
15080         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15081         conditional code.
15082         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15083         and ioshift_name initialization.
15085 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15087         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15088         Fix indentation.
15090 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15092         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15094 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15096         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15098 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15099             Jakub Wilk  <jwilk@debian.org>
15101         [BZ #19347]
15102         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15103         to change the group of the device to the tty group.
15105 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
15107         Split large string section; add truncation advice
15108         * manual/examples/strncat.c: Remove.
15109         This example was misleading, as the code would have undefined
15110         behavior if "hello" was longer than SIZE.  Anyway, the manual
15111         shouldn't encourage strncpy+strncat for this sort of thing.
15112         * manual/string.texi (Copying Strings and Arrays): Split into
15113         three sections Copying Strings and Arrays, Concatenating Strings,
15114         and Truncating Strings, as this section was way too long.  All
15115         cross-referenced changed.  Add advice about string-truncation
15116         functions.  Remove misleading strncat example.
15118 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
15120         * manual/nss.texi (NSS Modules Interface): Document
15121         NSS_STATUS_NOTFOUND and SUCCESS.
15123 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15125         [BZ 18568]
15126         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15127         201505L, for Unicode 8.
15129 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
15131         * locale/C-translit.h: Regenerate.
15133 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15135         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15136         and U+0153.
15138 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
15140         [BZ #19351]
15141         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15142         expanding log(1+z), compare z rather than its square with epsilon
15143         to determine when to avoid evaluating the expansion.
15145         [BZ #19350]
15146         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15147         Increase overflow threshold.
15149         [BZ #19349]
15150         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15151         when small.
15153         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15154         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15155         New macro.
15156         [__LINUX_KERNEL_VERSION >= 0x040300]
15157         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15158         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15159         Likewise.
15160         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15161         Likewise.
15162         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15163         Likewise.
15164         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15165         Likewise.
15166         [__LINUX_KERNEL_VERSION >= 0x040300]
15167         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15168         [__LINUX_KERNEL_VERSION >= 0x040300]
15169         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15170         [__LINUX_KERNEL_VERSION >= 0x040300]
15171         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15172         [__LINUX_KERNEL_VERSION >= 0x040300]
15173         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15174         [__LINUX_KERNEL_VERSION >= 0x040300]
15175         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15176         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15177         Likewise.
15178         [__LINUX_KERNEL_VERSION >= 0x040300]
15179         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15180         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15181         Likewise.
15182         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15183         Likewise.
15184         [__LINUX_KERNEL_VERSION >= 0x040300]
15185         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15186         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15187         Likewise.
15188         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15189         Likewise.
15190         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15191         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15192         Likewise.
15193         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15194         Likewise.
15195         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15196         Likewise.
15197         [__LINUX_KERNEL_VERSION >= 0x040300]
15198         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15199         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15200         Likewise.
15201         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15202         Likewise.
15203         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15204         Likewise.
15205         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15206         Likewise.
15207         [__LINUX_KERNEL_VERSION >= 0x040300]
15208         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15209         [__LINUX_KERNEL_VERSION >= 0x040300]
15210         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15211         [__LINUX_KERNEL_VERSION >= 0x040300]
15212         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15213         [__LINUX_KERNEL_VERSION >= 0x040300]
15214         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15215         [__LINUX_KERNEL_VERSION >= 0x040300]
15216         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15217         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15218         Likewise.
15219         [__LINUX_KERNEL_VERSION >= 0x040300]
15220         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15221         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15222         Likewise.
15223         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15224         Likewise.
15225         [__LINUX_KERNEL_VERSION >= 0x040300]
15226         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15228         Likewise.
15229         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15230         Likewise.
15231         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15232         (__ASSUME_SOCKET_SYSCALL): Likewise.
15233         (__ASSUME_BIND_SYSCALL): Likewise.
15234         (__ASSUME_CONNECT_SYSCALL): Likewise.
15235         (__ASSUME_LISTEN_SYSCALL): Likewise.
15236         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15237         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15238         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15239         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15240         (__ASSUME_SEND_SYSCALL): Likewise.
15241         (__ASSUME_SENDTO_SYSCALL): Likewise.
15242         (__ASSUME_RECV_SYSCALL): Likewise.
15243         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15244         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15245         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15246         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15247         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15248         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15249         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15250         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15251         Likewise.
15252         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15253         Likewise.
15254         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15255         Likewise.
15256         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15257         Likewise.
15258         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15259         Likewise.
15260         [__LINUX_KERNEL_VERSION >= 0x020625]
15261         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15262         [__LINUX_KERNEL_VERSION >= 0x020625]
15263         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15264         [__LINUX_KERNEL_VERSION >= 0x020625]
15265         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15266         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15267         Likewise.
15268         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15269         Likewise.
15270         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15271         Likewise.
15272         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15273         Likewise.
15274         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15275         Likewise.
15276         [__LINUX_KERNEL_VERSION >= 0x020625]
15277         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15278         [__LINUX_KERNEL_VERSION >= 0x020625]
15279         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15280         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15281         Likewise.
15282         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15283         Likewise.
15285 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15287         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15288         record the current if the current ABI and CPU support the FP64
15289         extension.
15290         (has-modd-spreg): Define to record the current if the current ABI and
15291         CPU support 32-bit floating point values in odd FPU registers.
15292         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15293         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15294         $(has-modd-spreg) equals yes.
15295         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15296         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15297         $(has-modd-spreg) equal yes.
15299 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15301         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15302         basename.
15304 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15306         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15307         (bench-string): ... here.
15308         (bench): Add bench-string.
15309         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15310         to *-benchset to reflect what they are.
15311         (benchset): Adjust.
15313         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15314         cos-inputs.
15316 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15318         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15319         __attribute__ ((__simd__)) for vector math function declarations.
15321 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15323         Fix typo in strncat, wcsncat manual entries
15324         * manual/string.texi (Copying and Concatenation): Fix typos in
15325         sample implementations of strncat and wcsncat, by having them use
15326         the old value of the destination length, not the new one.
15328 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15330         [BZ #16961]
15331         [BZ #16962]
15332         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15333         string on the stack for strtod.
15334         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15335         a string on the stack for strtof.
15336         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15337         constructing a string on the stack for strtold.
15338         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15339         __strtold_nan to GLIBC_PRIVATE.
15340         * math/test-nan-overflow.c: New file.
15341         * math/test-nan-payload.c: Likewise.
15342         * math/Makefile (tests): Add test-nan-overflow and
15343         test-nan-payload.
15345 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15347         Consistency about byte vs character in string.texi
15348         * manual/string.texi (String and Array Utilities):
15349         Distinguish more carefully among bytes, multibyte characters,
15350         and wide characters.  Use "byte" when talking about C 'char',
15351         to distinguish it more clearly from multibyte characters.
15352         Say "wide character" or "multibyte character" instead of
15353         "character", when a wide or multibyte character is intended.
15354         Similarly for "multibyte string" versus "string".
15355         Define these terms more carefully.
15357 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15359         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15360         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15361         Likewise.
15362         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15363         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15364         * sysdeps/sh/math_private.h: New file.
15365         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15366         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15367         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15368         long double function name.
15369         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15370         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15371         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15372         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15373         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15375         Remove __finitel, __isinfl, and __isnanl.
15376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15377         Likewise.
15378         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15380         Remove __finitel.
15381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15382         Likewise.
15383         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15385 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15387         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15388         installed libmvec_nonshared.a.
15390 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15392         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15393         (sysdep_routines): Likewise.
15394         (sysdep-rtld-routines): Likewise.
15395         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15396         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15397         * sysdeps/powerpc/Versions: Added new
15398         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15399         * sysdeps/powerpc/hwcapinfo.c: New file.
15400         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15401         and parse hwcap, hwcap2 and platform number information.
15402         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15403         to store HWCAP+HWCAP2 and platform number.
15404         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15405         for HWCAP+HWCAP2 and platform number in the TCB.
15406         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15407         the HWCAP, HWCAP2 and platform number in the TCB.
15408         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15409         (TLS_INIT_TP): Included calls to add the hwcap and
15410         at_platform values in the TCB in TP initialization.
15411         (TLS_DEFINE_INIT_TP): Likewise.
15412         (THREAD_GET_HWCAP): New macro.
15413         (THREAD_SET_HWCAP): Likewise.
15414         (THREAD_GET_AT_PLATFORM): Likewise.
15415         (THREAD_SET_AT_PLATFORM): Likewise.
15416         * sysdeps/powerpc/powerpc32/dl-machine.h:
15417         (dl_platform_init): New function that calls
15418         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15419         powerpc32.
15420         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15421         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15422         this functionality, static linking case.
15423         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15424         linking case.
15425         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15426         __parse_hwcap_and_convert_at_platform for the static linking case.
15427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15428         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15429         ABI list for GLIBC 2.23.
15430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15431         Likewise.
15432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15433         Likewise.
15435 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15437         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15438         * configure: Regenerate.
15439         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15440         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15442 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15444         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15445         * iconvdata/ibm933.c: Likewise.
15446         * iconvdata/ibm935.c: Likewise.
15447         * iconvdata/ibm937.c: Likewise.
15448         * iconvdata/ibm939.c: Likewise.
15450 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15452         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15453         pthread_join.
15454         * nptl/tst-cancel21.c (tf): Likewise.
15456 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15458         [BZ #19313]
15459         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15460         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15461         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15462         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15463         Likewise.
15464         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15465         Likewise.
15466         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15467         Likewise.
15468         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15469         Likewise.
15470         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15471         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15472         unsigned long int with __CPU_MASK_TYPE.
15474 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15476         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15478 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15480         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15481         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15482         t512.x.
15483         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15485 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15487         [BZ #19214]
15488         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15489         argument to return extended model.  Update family and model
15490         with extended family and model when family == 0x0f.
15491         (init_cpu_features): Updated.
15493 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15495         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15496         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15498         * sysdeps/mach/hurd/mmap64.c: New file.
15500 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15502         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15503         rights for its main user thread in NEWTASK.
15505 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15507         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15508         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15510 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15512         [BZ #14259]
15513         * Makeconfig: Rename localedir to complocaledir.
15514         Rename inst_localedir to inst_complocaledir.
15515         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15516         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15517         * configure.ac: Use libc_cv_complocaledir.
15518         * configure: Regenerate.
15519         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15520         -DCOMPLOCALEDIR.
15521         * locale/findlocale.c: Use COMPLOCALEDIR.
15522         * locale/loadarchive.c: Likewise.
15523         * locale/programs/locale.c: Likewise.
15524         * locale/programs/localedef.c: Likewise.
15525         * locale/programs/locarchive.c: Likewise.
15526         * localedata/Makefile: Use inst_complocaledir.
15527         * sysdeps/gnu/configure: Regenerate.
15528         * sysdeps/hppa/configure: Regenerate.
15529         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15530         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15532         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15533         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15534         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15535         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15537 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15539         [BZ #19058]
15540         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15541         AS_NEEDED.
15542         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15543         workaround.
15544         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15545         libmvec-static-only-routines): Added new file.
15546         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15548 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15550         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15551         of interrupted RPC instead of restoring it.
15553         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15554         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15555         libc_hidden_def.
15556         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15557         into initialized data instead of common. Define rtld_hidden_data_def.
15558         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15559         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15560         libc_hidden_def.
15561         (if_freenameindex): Add libc_hidden_weak.
15562         (if_nameindex): Add libc_hidden_weak.
15563         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15564         __open64.
15565         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15566         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15567         * sysdeps/mach/nanosleep.c: Include <time.h>
15568         (__nanosleep): Rename to __libc_nanosleep.
15569         (__nanosleep): Add weak_alias.
15570         (nanosleep): Update alias.
15572 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15574         * stdlib/strtod_nan.c: New file.
15575         * stdlib/strtod_nan_double.h: Likewise.
15576         * stdlib/strtod_nan_float.h: Likewise.
15577         * stdlib/strtod_nan_main.c: Likewise.
15578         * stdlib/strtod_nan_narrow.h: Likewise.
15579         * stdlib/strtod_nan_wide.h: Likewise.
15580         * stdlib/strtof_nan.c: Likewise.
15581         * stdlib/strtold_nan.c: Likewise.
15582         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15583         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15584         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15585         * wcsmbs/wcstod_nan.c: Likewise.
15586         * wcsmbs/wcstof_nan.c: Likewise.
15587         * wcsmbs/wcstold_nan.c: Likewise.
15588         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15589         strtold_nan.
15590         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15591         wcstof_nan.
15592         * include/stdlib.h (__strtof_nan): Declare and use
15593         libc_hidden_proto.
15594         (__strtod_nan): Likewise.
15595         (__strtold_nan): Likewise.
15596         (__wcstof_nan): Likewise.
15597         (__wcstod_nan): Likewise.
15598         (__wcstold_nan): Likewise.
15599         * include/wchar.h (____wcstoull_l_internal): Declare.
15600         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15601         (____strtoull_l_internal): Remove declaration.
15602         (STRTOF_NAN): Define macro.
15603         (SET_MANTISSA): Remove macro.
15604         (STRTOULL): Likewise.
15605         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15606         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15607         (STRTOF_NAN): Define macro.
15608         (SET_MANTISSA): Remove macro.
15609         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15610         (SET_MANTISSA): Remove macro.
15611         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15612         macro.
15613         (SET_MANTISSA): Remove macro.
15614         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15615         macro.
15616         (SET_MANTISSA): Remove macro.
15617         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15618         (SET_MANTISSA): Remove macro.
15619         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15620         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15621         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15623         [BZ #19266]
15624         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15625         upper case and lower case letters inside NAN(), not using TOLOWER.
15626         * stdlib/tst-strtod-nan-locale-main.c: New file.
15627         * stdlib/tst-strtod-nan-locale.c: Likewise.
15628         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15629         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15630         Depend on $(gen-locales).
15631         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15632         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15633         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15634         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15635         Depend on $(gen-locales).
15636         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15638 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15640         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15642         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15644         __finitel, __isinfl, and __isnanl.
15645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15646         Likewise.
15647         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15649         __finitel.
15650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15651         Likewise.
15652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15654 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15656         * malloc/memusage.c (me): Remove redundant getenv call.
15658 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15660         [BZ #19143]
15661         [BZ #19164]
15662         * nptl/check-cpuset.h: Remove.
15663         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15664         Remove CPU set size check.
15665         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15666         Likewise.
15667         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15668         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15669         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15670         (__pthread_setaffinity_new): Remove CPU set size check.
15671         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15672         (__kernel_cpumask_size): Remove.
15673         (__sched_setaffinity_new): Remove CPU set size check.
15674         * manual/threads.texi (Default Thread Attributes): Remove stale
15675         reference to check_cpuset_attr, determine_cpumask_size in comment.
15676         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15677         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15678         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15679         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15680         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15681         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15682         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15683         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15684         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15685         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15686         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15687         skeleton test file.
15688         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15689         tst-affinity-pid.
15691 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15693         * scripts/update-abilist.sh: New file.
15694         * Makefile (+subdir_targets): Add subdir_update-all-abi.
15695         * Makerules (update-all-abi-%, update-all-abi)
15696         (subdir_update-all-abi): New targets.
15697         * elf/Makefile (update-all-abi): New target.
15699 2015-11-24  Florian Weimer  <fweimer@redhat.com>
15701         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15702         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15703         (__libc_lock_define_initialized): Use it.
15704         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15705         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15706         * malloc/malloc.c (main_arena): Likewise.
15707         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15708         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15710 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
15712         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15713         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15714         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15715         (PTRACE_O_MASK): Update value.
15716         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15717         New value in enum __ptrace_setoptions.
15718         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15719         (PTRACE_O_MASK): Update value.
15720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15721         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15722         (PTRACE_O_MASK): Update value.
15723         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15724         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15725         (PTRACE_O_MASK): Update value.
15726         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15727         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15728         (PTRACE_O_MASK): Update value.
15729         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15730         New value in enum __ptrace_setoptions.
15731         (PTRACE_O_MASK): Update value.
15732         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15733         New value in enum __ptrace_setoptions.
15734         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15735         (PTRACE_O_MASK): Update value.
15737         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15738         New macro.
15739         (PACKET_AUXDATA): Likewise.
15740         (PACKET_ORIGDEV): Likewise.
15741         (PACKET_VERSION): Likewise.
15742         (PACKET_HDRLEN): Likewise.
15743         (PACKET_RESERVE): Likewise.
15744         (PACKET_TX_RING): Likewise.
15745         (PACKET_LOSS): Likewise.
15746         (PACKET_VNET_HDR): Likewise.
15747         (PACKET_TX_TIMESTAMP): Likewise.
15748         (PACKET_TIMESTAMP): Likewise.
15749         (PACKET_FANOUT): Likewise.
15750         (PACKET_TX_HAS_OFF): Likewise.
15751         (PACKET_QDISC_BYPASS): Likewise.
15752         (PACKET_ROLLOVER_STATS): Likewise.
15753         (PACKET_FANOUT_DATA): Likewise.
15754         (PACKET_MR_UNICAST): Likewise.
15756         [BZ #19242]
15757         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15758         (TOUPPER): Likewise.
15759         * stdlib/tst-strtol-locale-main.c: New file.
15760         * stdlib/tst-strtol-locale.c: Likewise.
15761         * stdlib/Makefile (tests): Add tst-strtol-locale.
15762         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15763         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15764         Depend on $(gen-locales).
15765         * wcsmbs/tst-wcstol-locale.c: New file.
15766         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15767         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15768         tr_TR.ISO-8859-9.
15769         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
15770         Depend on $(gen-locales).
15772 2015-11-20  Roland McGrath  <roland@hack.frob.com>
15774         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
15775         __glibc_likely instead of __builtin_expect.  After falling back to
15776         dyncode_create in a non-ET_DYN case, use the allocate_code_data
15777         system interface to register the code pages as occupied.
15779 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
15781         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15782         [!ARM_MATH_PRIVATE_H].
15783         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
15784         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15785         [!HPPA_MATH_PRIVATE_H].
15786         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
15787         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
15788         to [!I386_MATH_PRIVATE_H].
15789         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
15790         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
15791         Change guard to [!M68K_MATH_PRIVATE_H].
15792         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
15793         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
15794         guard to [!MICROBLAZE_MATH_PRIVATE_H].
15795         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
15796         macro.
15797         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15798         [!MIPS_MATH_PRIVATE_H].
15799         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
15800         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15801         [!NIO2_MATH_PRIVATE_H].
15802         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
15803         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
15804         [!TILE_MATH_PRIVATE_H].
15805         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
15807         [BZ #15421]
15808         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
15809         initialize with 0 and define as weak alias of __signgam.
15810         * include/math.h [!_ISOMAC] (__signgam): Declare.
15811         * math/Makefile (libm-calls): Add w_lgamma_compat.
15812         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
15813         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
15814         test-signgam-ullong-init.
15815         (tests-static): Add test-signgam-uchar-static,
15816         test-signgam-uchar-init-static, test-signgam-uint-static,
15817         test-signgam-uint-init-static, test-signgam-ullong-static and
15818         test-signgam-ullong-init-static.
15819         (CFLAGS-test-signgam-uchar.c): New variable.
15820         (CFLAGS-test-signgam-uchar-init.c): Likewise.
15821         (CFLAGS-test-signgam-uchar-static.c): Likewise.
15822         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
15823         (CFLAGS-test-signgam-uint.c): Likewise.
15824         (CFLAGS-test-signgam-uint-init.c): Likewise.
15825         (CFLAGS-test-signgam-uint-static.c): Likewise.
15826         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
15827         (CFLAGS-test-signgam-ullong.c): Likewise.
15828         (CFLAGS-test-signgam-ullong-init.c): Likewise.
15829         (CFLAGS-test-signgam-ullong-static.c): Likewise.
15830         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
15831         * math/Versions (libm): Add GLIBC_2.23.
15832         * math/lgamma-compat.h: New file.
15833         * math/test-signgam-main.c: Likewise.
15834         * math/test-signgam-uchar-init-static.c: Likewise.
15835         * math/test-signgam-uchar-init.c: Likewise.
15836         * math/test-signgam-uchar-static.c: Likewise.
15837         * math/test-signgam-uchar.c: Likewise.
15838         * math/test-signgam-uint-init-static.c: Likewise.
15839         * math/test-signgam-uint-init.c: Likewise.
15840         * math/test-signgam-uint-static.c: Likewise.
15841         * math/test-signgam-uint.c: Likewise.
15842         * math/test-signgam-ullong-init-static.c: Likewise.
15843         * math/test-signgam-ullong-init.c: Likewise.
15844         * math/test-signgam-ullong-static.c: Likewise.
15845         * math/test-signgam-ullong.c: Likewise.
15846         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
15847         wrapper of w_lgamma_main.c.
15848         * math/w_lgamma_compat.c: New file.
15849         * math/w_lgamma_compatf.c: Likewise.
15850         * math/w_lgamma_compatl.c: Likewise.
15851         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
15852         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15853         defining compatibility symbols.
15854         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
15855         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
15856         wrapper of w_lgammaf_main.c.
15857         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
15858         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15859         defining compatibility symbols.
15860         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
15861         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
15862         wrapper of w_lgammal_main.c.
15863         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
15864         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
15865         defining compatibility symbols.
15866         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
15867         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
15868         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
15869         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
15870         <lgamma-compat.h>.
15871         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
15872         (__ieee754_gamma): Define as alias.
15873         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
15874         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
15875         <lgamma-compat.h>.
15876         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
15877         (__ieee754_gammaf): Define as alias.
15878         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
15879         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
15880         <lgamma-compat.h>.
15881         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
15882         (__ieee754_gammal): Define as alias.
15883         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
15884         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
15885         <math/w_lgamma_compat.c>.
15886         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
15887         Define as alias of __lgamma_compat and use in defining lgammal.
15888         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
15889         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
15890         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
15891         (USE_AS_COMPAT): New macro.
15892         (LGAMMA_OLD_VER): Undefine and redefine.
15893         (lgammal): Do not define here.
15894         (gammal): Only define here if [GAMMA_ALIAS].
15895         * conform/linknamespace.pl (@whitelist): Remove signgam.
15896         * sysdeps/nacl/libm.abilist: Update.
15897         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15898         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15899         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15900         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15901         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15902         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15903         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15904         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15905         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15906         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15907         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15908         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15910         Likewise.
15911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15912         Likewise.
15913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15914         Likewise.
15915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15916         Likewise.
15917         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15918         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15919         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15920         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15921         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15923         Likewise.
15924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15925         Likewise.
15926         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15927         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15928         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15930 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15932         [BZ #16364]
15933         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
15934         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
15936 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15938         * sysdeps/s390/fpu/bits/mathinline.h:
15939         Use __asm__ [__volatile__] instead of asm [volatile].
15940         * sysdeps/s390/abort-instr.h: Likewise.
15941         * sysdeps/s390/atomic-machine.h: Likewise.
15942         * sysdeps/s390/bits/string.h: Likewise.
15943         * sysdeps/s390/dl-tls.h: Likewise.
15944         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
15945         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
15946         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
15947         * sysdeps/s390/fpu/fesetround.c: Likewise.
15948         * sysdeps/s390/fpu/fpu_control.h: Likewise.
15949         * sysdeps/s390/fpu/s_fma.c: Likewise.
15950         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
15951         * sysdeps/s390/memusage.h: Likewise.
15952         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
15953         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
15954         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
15955         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
15956         * sysdeps/s390/nptl/tls.h: Likewise.
15957         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
15958         * sysdeps/s390/s390-32/backtrace.c: Likewise.
15959         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
15960         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15961         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
15962         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15963         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
15964         * sysdeps/s390/s390-64/backtrace.c: Likewise.
15965         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
15966         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
15967         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15968         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
15969         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15970         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
15971         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
15972         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
15973         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
15974         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
15975         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
15976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15977         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
15978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15979         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
15981 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15982             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15984         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
15985         Add lwarx hint, and use macro for acquire instruction.
15986         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
15987         Likewise.
15988         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
15989         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
15990         update to use new atomic macros.
15992 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15994         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
15995         (__lll_trylock_elision): Fix setting of adapt_count.
15996         * sysdeps/unix/sysv/linux/powerpc/htm.h
15997         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
15998         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
15999         (_ABORT_SYSCALL): Renumber, and clarify definition.
16000         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16002 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16004         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16005         after system headers to prevent MIN/MAX redefinition.  Define
16006         HAVE_ALLOCA to preserve builtin alloca usage.
16008 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16010         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16011         static and don't set or restore rounding.
16012         (__cos)[IN_SINCOS]: Likewise.
16013         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16014         (__sincos): Set and restore rounding mode.  Remove check for infinite
16015         or NaN input.
16017         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16019         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16020         as used.
16022 2015-11-16  Florian Weimer  <fweimer@redhat.com>
16024         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16026 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16028         * config.make.in (have-glob-dat-reloc): New.
16029         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
16030         target supports GLOB_DAT relocaton. AC_SUBST.
16031         * configure: Regenerated.
16032         * elf/Makefile (tests): Add tst-prelink.
16033         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16034         (tst-prelink-ENV): New.
16035         ($(objpfx)tst-prelink-conflict.out): Likewise.
16036         ($(objpfx)tst-prelink-cmp.out): Likewise.
16037         * sysdeps/x86/tst-prelink.c: Moved to ...
16038         * elf/tst-prelink.c: Here.
16039         * sysdeps/x86/tst-prelink.exp: Moved to ...
16040         * elf/tst-prelink.exp: Here.
16041         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16042         (tst-prelink-ENV): Removed.
16043         ($(objpfx)tst-prelink-conflict.out): Likewise.
16044         ($(objpfx)tst-prelink-cmp.out): Likewise.
16045         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16047 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
16049         [BZ #14551]
16050         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16051         (__mpn_construct_long_double): If high part overflows to infinity,
16052         set errno and recompute overflowed result of the correct sign.
16053         * sysdeps/ieee754/ldbl-128ibm/Makefile
16054         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16055         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16056         $(libm).
16057         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16059 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
16061         [BZ #15479]
16062         [BZ #19238]
16063         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16064         floating-point state after first operation on input.  Restore full
16065         state rather than just rounding mode.
16066         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16067         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16068         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16070         [BZ #19235]
16071         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16072         add 0.5 to integer arguments.
16073         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16074         Likewise.
16075         (.LC2): New object.
16077 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
16079         * scripts/pylintrc (reports): Set to no.
16081 2015-11-10  Roland McGrath  <roland@hack.frob.com>
16083         * elf/dl-load.c (open_verify): Take new argument FD.
16084         Skip __open call if passed FD is not -1.
16085         (_dl_map_object, open_path): Update callers.
16086         * elf/dl-sysdep-open.h: New file.
16087         * elf/dl-load.c: Include it.
16088         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16089         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16090         * sysdeps/nacl/dl-sysdep-open.h: New file.
16091         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16092         from libc to rtld.
16094 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16096         [BZ #19228]
16097         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16098         and restore full floating-point state.
16099         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16100         Likewise.
16101         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16102         Likewise.
16103         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16104         Likewise.
16105         * math/test-nearbyint-except-2.c: New file.
16106         * math/Makefile (tests): Add test-nearbyint-except-2.
16108 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
16110         [BZ #19178]
16111         * sysdeps/x86/Makefile (tests): Add tst-prelink.
16112         (tst-prelink-ENV): New.
16113         ($(objpfx)tst-prelink-conflict.out): Likewise.
16114         ($(objpfx)tst-prelink-cmp.out): Likewise.
16115         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16116         * sysdeps/x86/tst-prelink.c: New file.
16117         * sysdeps/x86/tst-prelink.exp: Likewise.
16119 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16121         * math/auto-libm-test-in: Add another test of pow.
16122         * math/auto-libm-test-out: Regenerated.
16123         * math/libm-test.inc (pow_test_data): Add another test.
16125 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16127         [BZ #19219]
16128         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16129         weak_alias to nearbyintl.
16131 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16133         * sysdeps/aarch64/bits/string.h: New file.
16134         (_STRING_ARCH_unaligned): Define.
16136 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16138         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16139         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16140         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16141         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16144 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
16146         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16147         for original name of the DSO.  Add it to the name list of the DSO
16148         if it is actually given.
16149         (_dl_map_object): Keep track of whether an audit module rewrote
16150         the file name.  If yes, pass the original name to
16151         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
16152         debugging is enabled, log the change of the file name.
16153         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16154         _dl_map_object_from_fd.
16155         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16156         * elf/tst-audit11.c: New file
16157         * elf/tst-auditmod11.c: New file.
16158         * elf/tst-audit11mod1.c: New file.
16159         * elf/tst-audit11mod2.c: New file.
16160         * elf/tst-audit11mod2.map: New file.
16161         * elf/tst-audit12.c: New file
16162         * elf/tst-auditmod12.c: New file.
16163         * elf/tst-audit12mod1.c: New file.
16164         * elf/tst-audit12mod2.c: New file.
16165         * elf/tst-audit12mod2.map: New file.
16166         * elf/tst-audit12mod3.c: New file.
16168 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16170         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16171         Don't create weak aliases,
16172         because versioned symbols are created later.
16173         * sysdeps/s390/s390-32/setjmp.S
16174         (setjmp, _setjmp): Remove weak and rename to an unique name
16175         in SHARED case due to existing versioned symbols.
16176         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16177         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16178         (getcontext): Create weak alias only in non SHARED case.
16179         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16181 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16183         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16184         (__ASSUME_*_SYSCALL) Define new macros.
16185         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16186         Remove socketcall syscalls.
16187         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16188         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16189         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16190         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16191         * sysdeps/unix/sysv/linux/send.c (__libc_send):
16192         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16194 2015-11-09  Florian Weimer  <fweimer@redhat.com>
16196         [BZ #12926]
16197         Terminate process on invalid netlink response.
16198         * sysdeps/unix/sysv/linux/netlinkaccess.h
16199         (__netlink_assert_response): Declare.
16200         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16201         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16202         (sysdep_routines): Add netlink_assert_response.
16203         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16204         __netlink_assert_response.
16205         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16206         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16207         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16208         __netlink_assert_response.
16210 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16212         [BZ #19178]
16213         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16214         (RTYPE_CLASS_PLT): Likewise.
16215         (RTYPE_CLASS_COPY): Likewise.
16216         (RTYPE_CLASS_TLS): Likewise.
16217         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16218         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
16219         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16220         DL_DEBUG_PRELINK.
16222 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
16224         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16225         calls with argument -0.5.
16226         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16228         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16229         (libc_cv_z_nodlopen): Likewise.
16230         (libc_cv_z_initfirst): Likewise.
16231         * configure: Regenerated.
16233 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16235         Simplify abilist format to be line-based.
16236         * scripts/abilist.awk: Collect descriptors in the descs variable.
16237         (emit): Write descs variable and sort it
16238         externally, with sort.
16239         * sysdeps/**/*.abilist: Convert to new format.
16241 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16243         [BZ #11460]
16244         * io/Makefile (routines): Add fts64.
16245         (tests): Add tst-fts and tst-fts-lfs.
16246         (CFLAGS-fts64.c): New.
16247         * io/Versions (GLIBC_2.23): New.
16248         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16249         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16250         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16251         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16252         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16253         (FTSENT64): Likewise.
16254         (fts64_children): Likewise.
16255         (fts64_close): Likewise.
16256         (fts64_open): Likewise.
16257         (fts64_read): Likewise.
16258         (fts64_set): Likewise.
16259         * io/fts64.c: New file.
16260         * io/tst-fts.c: New test.
16261         * io/tst-fts-lfs.c: Likewise.
16262         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16263         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16264         fts64_set.
16265         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16266         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16267         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16268         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16269         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16270         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16271         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16272         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16273         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16274         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16275         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16276         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16277         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16279         Likewise.
16280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16281         Likewise.
16282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16285         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16286         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16287         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16288         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16291         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16292         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16293         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16294         * sysdeps/wordsize-64/fts.c: New file.
16295         * sysdeps/wordsize-64/fts64.c: Likewise.
16296         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16297         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16298         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16299         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16301 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16303         * math/libm-test.inc (NON_FINITE): New macro.
16304         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16305         * math/gen-libm-test.pl (show_exceptions): Add argument
16306         $non_finite.
16307         (parse_args): Update call to show_exceptions.
16308         * math/test-math-finite.h: New file.
16309         * math/test-math-no-finite.h: Likewise.
16310         * math/test-double-finite.c: Likewise.
16311         * math/test-float-finite.c: Likewise.
16312         * math/test-ldouble-finite.c: Likewise.
16313         * math/test-double.c: Include "test-math-no-finite.h".
16314         * math/test-float.c: Include "test-math-no-finite.h".
16315         * math/test-ldouble.c: Include "test-math-no-finite.h".
16316         * math/test-math-inline.h (TEST_FINITE): New macro.
16317         * math/test-math-vector.h (TEST_FINITE): Likewise.
16318         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16319         (libm-tests): Add test-float-finite and test-double-finite.
16320         ($(objpfx)test-float-finite.o): New dependency on
16321         $(objpfx)libm-test.stmp.
16322         ($(objpfx)test-double-finite.o): Likewise.
16323         ($(objpfx)test-ldouble-finite.o): Likewise.
16324         (libm-test-no-inline-cflags): New variable.
16325         (libm-test-finite-cflags): Likewise.
16326         (CFLAGS-test-float-finite.c): Likewise.
16327         (CFLAGS-test-double-finite.c): Likewise.
16328         (CFLAGS-test-ldouble-finite.c): Likewise.
16329         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16330         (CFLAGS-test-double.c): Likewise.
16331         (CFLAGS-test-ldouble.c): Likewise.
16333 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16335         * io/fcntl.c (__fcntl): Add ... to prototype.
16336         * misc/ioctl.c (__ioctl): Likewise.
16337         * misc/syscall.c (syscall): Likewise.
16339 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16341         * scripts/list-fixed-bugs.py: New file.
16343         [BZ #19213]
16344         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16345         returned for argument 1.
16346         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16347         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16348         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16349         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16350         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16351         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16353         [BZ #19211]
16354         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16355         __USE_XOPEN], not if [!__USE_ISOC99].
16356         (lgammaf): Likewise.
16357         (lgammal): Likewise.
16358         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16359         (gammaf): Likewise.
16360         (gammal): Likewise.
16361         * math/test-signgam-finite-c11.c: New file.
16362         * math/test-signgam-finite-c99.c: Likewise.
16363         * math/test-signgam-finite.c: Likewise.
16364         * math/Makefile (tests): Add test-signgam-finite,
16365         test-signgam-finite-c99 and test-signgam-finite-c11.
16366         (CFLAGS-test-signgam-finite.c): New variable.
16367         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16368         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16370         [BZ #19212]
16371         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16372         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16373         500].
16374         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16375         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16376         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16377         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16378         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16379         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16380         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16381         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16382         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16383         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16385         [BZ #19209]
16386         * math/bits/math-finite.h (ldexp): Remove declaration.
16387         (ldexpf): Likewise.
16388         (ldexpl): Likewise.
16390         [BZ #19205]
16391         * math/bits/math-finite.h (acosf): Condition declaration on
16392         [__USE_ISOC99].
16393         (acosl): Likewise.
16394         (acoshf): Likewise.
16395         (acoshl): Likewise.
16396         (asinf): Likewise.
16397         (asinl): Likewise.
16398         (atan2f): Likewise.
16399         (atan2l): Likewise.
16400         (atanhf): Likewise.
16401         (atanhl): Likewise.
16402         (coshf): Likewise.
16403         (coshl): Likewise.
16404         (expf): Likewise.
16405         (expl): Likewise.
16406         (fmodf): Likewise.
16407         (fmodl): Likewise.
16408         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16409         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16410         (j0l): Likewise.
16411         (y0f): Likewise.
16412         (y0l): Likewise.
16413         (j1f): Likewise.
16414         (j1l): Likewise.
16415         (y1f): Likewise.
16416         (y1l): Likewise.
16417         (jnf): Likewise.
16418         (jnl): Likewise.
16419         (ynf): Likewise.
16420         (ynl): Likewise.
16421         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16422         (lgammal_r): Likewise.
16423         (__lgamma_r_finite): New declaration.
16424         (__lgammaf_r_finite): Likewise.
16425         (__lgammal_r_finite): Likewise.
16426         (lgamma): Use __lgamma_r_finite.
16427         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16428         __lgammaf_r_finite.
16429         (lgammal): Condition definition on [__USE_ISOC99].  Use
16430         __lgammal_r_finite.
16431         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16432         __lgamma_r_finite.
16433         (gammaf): Condition definition on [__USE_ISOC99].  Use
16434         __lgammaf_r_finite.
16435         (gammal): Condition definition on [__USE_ISOC99].  Use
16436         __lgammal_r_finite.
16437         (logf): Condition declaration on [__USE_ISOC99].
16438         (logl): Likewise.
16439         (log10f): Likewise.
16440         (log10l): Likewise.
16441         (ldexpf): Likewise.
16442         (ldexpl): Likewise.
16443         (powf): Likewise.
16444         (powl): Likewise.
16445         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16446         __USE_ISOC99].
16447         (remainderf): Condition declaration on [__USE_ISOC99].
16448         (remainderl): Likewise.
16449         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16450         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16451         (scalbl): Likewise.
16452         (sinhf): Condition declaration on [__USE_ISOC99].
16453         (sinhl): Likewise.
16454         (sqrtf): Likewise.
16455         (sqrtl): Likewise.
16457 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16459         * sysdeps/arm/atomic-machine.h
16460         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16461         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16462         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16463         Remove conditional code.
16464         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16465         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16466         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16467         Change conditional to [__ASSEMBLER__].
16468         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16469         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16470         [!__ASSEMBLER__].
16471         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16472         code.
16473         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16474         conditional macro definitions.
16475         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16476         (__arch_compare_and_exchange_val_16_acq): Likewise.
16477         (__arch_compare_and_exchange_val_32_acq): Likewise.
16478         (atomic_exchange_and_add): Likewise.
16479         (atomic_add): Likewise.
16480         (atomic_add_negative): Likewise.
16481         (atomic_add_zero): Likewise.
16482         (atomic_bit_set): Likewise.
16483         (atomic_bit_test_set): Likewise.
16484         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16485         code unconditional.
16486         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16488         * math/test-math-errno.h: New file.
16489         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16490         empty.
16491         (TEST_ERRNO): New macro.
16492         (TEST_EXCEPTIONS): Likewise.
16493         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16494         (TEST_EXCEPTIONS): Likewise.
16495         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16496         * math/test-double.c: Include "test-math-errno.h".
16497         * math/test-float.c: Likewise.
16498         * math/test-ldouble.c: Likewise.
16499         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16500         code unconditional.
16501         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16502         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16503         unconditional.
16504         (test_errno): Only run code if TEST_ERRNO.
16505         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16507 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16509         * nptl/tst-once5.cc: Remove attribution.
16511 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16513         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16514         sqrt, tan, tanh, y0, y1 and yn.
16515         * math/auto-libm-test-out: Regenerated.
16516         * math/libm-test.inc (scalb_test_data): Add more tests.
16517         (scalbn_test_data): Likewise.
16518         (scalbln_test_data): Likewise.
16519         (signbit_test_data): Likewise.
16520         (sin_test_data): Likewise.
16521         (sincos_test_data): Likewise.
16522         (sinh_test_data): Likewise.
16523         (sqrt_test_data): Likewise.
16524         (tan_test_data): Likewise.
16525         (tanh_test_data): Likewise.
16526         (tgamma_test_data): Likewise.
16527         (y0_test_data): Likewise.
16528         (y1_test_data): Likewise.
16529         (yn_test_data): Likewise.
16530         (significand_test_data): Likewise.
16531         * sysdeps/i386/fpu/libm-test-ulps: Update.
16533 2015-11-03  David Kastrup  <dak@gnu.org>
16535         [BZ #18604]
16536         * assert/assert.h (assert): Don't macro-expand failed assertion
16537         expression in error message.
16538         * malloc/malloc.c (assert): Likewise.
16540 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16542         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16543         test.
16544         * configure: Regenerated.
16546 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16548         * math/libm-test.inc (modf_test_data): Add more tests.
16549         (nearbyint_test_data): Likewise.
16550         (nextafter_test_data): Likewise.
16551         (nexttoward_test_data): Likewise.
16552         (pow_test_data): Likewise.
16553         (remainder_test_data): Likewise.
16554         (remquo_test_data): Likewise.
16555         (rint_test_data): Likewise.
16557         [BZ #19201]
16558         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16559         Check for zero remainder in case of large exponents and ensure
16560         correct sign of result in that case.
16561         * math/libm-test.inc (remainder_test_data): Add more tests.
16563         [BZ #6799]
16564         * math/s_nextafter.c: Include <errno.h>.
16565         (__nextafter): Set errno on overflow and underflow.
16566         * math/s_nexttowardf.c: Include <errno.h>.
16567         (__nexttowardf): Set errno on overflow and underflow.
16568         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16569         (__nextafterl): Set errno on overflow and underflow.
16570         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16571         (__nexttoward): Set errno on overflow and underflow.
16572         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16573         (__nexttowardf): Set errno on overflow and underflow.
16574         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16575         (__nextafterf): Set errno on overflow and underflow.
16576         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16577         (__nextafterl): Set errno on overflow and underflow.
16578         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16579         (__nexttoward): Set errno on overflow and underflow.
16580         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16581         (__nexttowardf): Set errno on overflow and underflow.
16582         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16583         (__nextafterl): Set errno on overflow and underflow.
16584         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16585         (__nexttoward): Set errno on overflow and underflow.
16586         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16587         (__nexttowardf): Set errno on overflow and underflow.
16588         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16589         (__nexttoward): Set errno on overflow and underflow.
16590         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16591         (__nexttowardf): Set errno on overflow and underflow.
16592         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16593         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16594         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16595         (__nextafterl): Set errno on overflow and underflow.
16596         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16597         setting to be missing on overflow.  Add more tests.
16598         (nexttoward_test_data): Likewise.
16600         * configure.ac (libc_cv_initfini_array): Remove configure test.
16601         * configure: Regenerated.
16603 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16605         [BZ #19189]
16606         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16607         non-finite argument handle arguments with negative sign.
16609         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16610         result from infinite argument.
16611         (j1_test_data): Likewise.
16612         (jn_test_data): Likewise.
16613         (y0_test_data): Likewise.
16614         (y1_test_data): Likewise.
16615         (yn_test_data): Likewise.
16617         [BZ #16171]
16618         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16619         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16620         * math/w_remainderf.c (dremf): Define as weak alias of
16621         __remainderf.
16622         * math/w_remainderl.c (dreml): Define as weak alias of
16623         __remainderl.
16624         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16625         __remainder.
16626         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16627         __remainderf.
16628         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16629         __remainderl.
16630         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16631         weak alias of remainderl.
16632         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16633         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16634         alias of __remainder.
16635         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16636         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16637         strong alias of __remainderl.
16638         (dreml): Use long_double_symbol.
16639         * math/Makefile (libm-calls): Remove w_drem.
16640         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16641         (CFLAGS-nldbl-drem.c): Remove variable.
16642         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16643         * math/w_drem.c: Remove file.
16644         * math/w_dremf.c: Likewise.
16645         * math/w_dreml.c: Likewise.
16646         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16647         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16648         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16650         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16651         * sysdeps/i386/configure: Regenerated.
16652         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16653         * sysdeps/x86_64/configure: Regenerated.
16655         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16656         test.
16657         (libc_cv_visibility_attribute): Likewise.
16658         (libc_cv_protected_data): Test unconditionally.
16659         (libc_cv_broken_visibility_attribute): Remove configure test.
16660         (libc_cv_have_sdata_section): Test unconditionally.
16661         * configure: Regenerated.
16663         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16664         * include/scratch_buffer.h: Include <stddef.h> instead of
16665         <libc-internal.h>.
16666         (struct scratch_buffer): Use max_align_t instead of
16667         libc_max_align_t.
16669 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16671         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16672         instead of extend_alloca.  Change control flow to avoid a goto.
16673         Remove assert which is trivially always true.
16675 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16677         [BZ #16068]
16678         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16679         (FE_ALL_EXCEPT_X86): New macro.
16680         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16681         FE_ALL_EXCEPT.  Ensure precision control is included in
16682         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16683         handle "denormal operand exception" and clear FZ and DAZ bits.
16684         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16685         (FE_ALL_EXCEPT_X86): New macro.
16686         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16687         FE_ALL_EXCEPT.  Ensure precision control is included in
16688         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16689         handle "denormal operand exception" and clear FZ and DAZ bits.
16690         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16691         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16692         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16693         test-fenv-x87 and test-fenv-sse-2.
16694         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16696         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16697         * math/test-double.h (BUILD_COMPLEX): New macro.
16698         * math/test-float.h (BUILD_COMPLEX): Likewise.
16699         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16701         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16702         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16703         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16704         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16705         instead of DBL_DENORM_MIN in comment.
16706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16707         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16708         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16709         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16710         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16711         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16713 2015-10-28  Florian Weimer  <fweimer@redhat.com>
16715         [BZ# 19048]
16716         * malloc/malloc.c (struct malloc_state): Update comment.  Add
16717         attached_threads member.
16718         (main_arena): Initialize attached_threads.
16719         * malloc/arena.c (list_lock): Update comment.
16720         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16721         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16722         (deattach_arena): New function.
16723         (_int_new_arena): Initialize arena reference count and deattach
16724         replaced arena.
16725         (get_free_list, reused_arena): Update reference count and deattach
16726         replaced arena.
16727         (arena_thread_freeres): Update arena reference count and only put
16728         unreferenced arenas on the free list.
16730 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16732         [BZ #19181]
16733         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16734         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16735         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16736         * math/test-fenv-clear-main.c: New file.
16737         * math/test-fenv-clear.c: Likewise.
16738         * math/Makefile (tests): Add test-fenv-clear.
16739         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16740         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16741         test-fenv-clear-sse.
16742         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16744         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16745         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16746         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16748 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16750         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16751         static libc.
16753 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16755         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16756         test.
16757         * sysdeps/i386/configure: Regenerated.
16758         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16759         test.
16760         * sysdeps/x86_64/configure: Regenerated.
16761         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16762         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16763         memset-avx2 unconditionally instead of conditionally on
16764         [$(config-cflags-avx2) = yes].
16765         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16766         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16767         unconditional.
16768         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
16769         * sysdeps/x86_64/multiarch/memset_chk.S
16770         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
16771         to [IS_IN (libc) && SHARED].
16773 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16775         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
16776         configure test.
16777         * sysdeps/arm/configure: Regenerated.
16778         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
16779         Define variable if not already defined.
16781         [BZ #17404]
16782         * sysdeps/mips/atomic-machine.h
16783         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
16784         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
16785         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16787         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
16788         unconditional.
16789         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
16790         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16791         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
16792         unconditional.
16793         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16794         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
16795         unconditional.
16796         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16797         * stdlib/setenv.c
16798         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
16799         code unconditional.
16800         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
16801         Remove conditional code.
16802         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
16803         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
16804         unconditional.
16805         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16806         code.
16807         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
16808         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
16809         unconditional.
16810         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16811         code.
16812         * sysdeps/ieee754/ldbl-128/k_tanl.c
16813         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16814         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16815         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
16816         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16817         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16818         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
16819         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
16820         unconditional.
16821         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
16822         code.
16823         * sysdeps/ieee754/ldbl-96/k_tanl.c
16824         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
16825         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16827         * nptl/tst-initializers1-c11.c: New file.
16828         * nptl/tst-initializers1-gnu11.c: Likewise.
16829         * nptl/Makefile (tests): Add these new tests.
16830         (CFLAGS-tst-initializers1-c11.c): New variable.
16831         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
16833         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
16834         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
16835         instead of -std=gnu99.
16836         * configure.ac (systemtap): Test with -std=gnu11 instead of
16837         -std=gnu99.
16838         * configure: Regenerated.
16839         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
16840         in compilation command in comment.
16842         * sysdeps/nptl/configure.ac: Remove file.
16843         * sysdeps/nptl/configure: Remove generated file.
16844         * configure.ac (libc_cv_forced_unwind): Do not substitute.
16845         * configure: Regenerated.
16846         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
16847         * config.make.in (have-forced-unwind): Remove variable.
16848         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16849         unconditional.
16850         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
16851         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
16852         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
16853         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
16854         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
16855         unconditional.
16857 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16859         [BZ #19174]
16860         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
16861         .skip_lock_out_of_tbegin_retries.
16862         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
16863         (__lll_lock_elision): Likewise, and respect a value of
16864         try_tbegin <= 0.
16866 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
16868         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
16869         statement.
16871 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16873         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
16874         variable.
16875         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16876         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16878         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
16879         of -std=c1x -D_ISOC11_SOURCE.
16881         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
16882         * configure: Regenerated.
16883         * manual/install.texi (Tools for Compilation): Document
16884         requirement for GCC 4.7 or later.
16885         * INSTALL: Regenerated.
16887 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
16889         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
16890         on CNT to a conditional jump to 'puntdata'.
16892 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
16894         * configure.ac (libc_cv_gcc___thread): Remove configure test.
16895         (libc_cv_gcc_tls_model_attr): Likewise.
16896         * configure: Regenerated.
16898         * configure.ac (libc_cv_need_minus_P): Remove configure test.
16899         * configure: Regenerated.
16900         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
16902 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
16904         * configure.ac (old_glibc_headers): Remove configure test.
16905         * configure: Regenerated.
16906         * config.make.in (old-glibc-headers): Remove variable.
16907         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
16908         (install): Remove dependency on remove-old-headers.
16909         (headers2_0): Remove variable.
16910         (remove-old-headers): Remove rule.
16912         * configure.ac (libc_cv_dot_text): Remove configure test.
16913         (libc_cv_asm_set_directive): Use .text instead of
16914         ${libc_cv_dot_text} in configure test.
16915         * configure: Regenerated.
16917 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16919         [BZ #19168]
16920         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16922 2015-10-26  Florian Weimer  <fweimer@redhat.com>
16924         * configure.ac (CXX): Clear the variable if the C++ toolchain does
16925         not support static linking.
16926         * configure: Regenerate.
16928 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
16930         * math/libm-test.inc (check_float_internal): Do not special-case
16931         errors up to 0.5 ulp.
16933         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
16934         log2.
16935         * math/auto-libm-test-out: Regenerated.
16936         * math/libm-test.inc (MAX_EXP): New macro.
16937         (ilogb_test_data): Add more tests.
16938         (isfinite_test_data): Likewise.
16939         (isgreater_test_data): Likewise.
16940         (isgreaterequal_test_data): Likewise.
16941         (isinf_test_data): Likewise.
16942         (isless_test_data): Likewise.
16943         (islessequal_test_data): Likewise.
16944         (islessgreater_test_data): Likewise.
16945         (isnan_test_data): Likewise.
16946         (isnormal_test_data): Likewise.
16947         (issignaling_test_data): Likewise.
16948         (isunordered_test_data): Likewise.
16949         (j0_test_data): Likewise.
16950         (j1_test_data): Likewise.
16951         (jn_test_data): Likewise.
16952         (lgamma_test_data): Likewise.
16953         (log_test_data): Likewise.
16954         (log10_test_data): Likewise.
16955         (log1p_test_data): Likewise.
16956         (log2_test_data): Likewise.
16957         (logb_test_data): Likewise.
16958         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16960         [BZ #18611]
16961         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
16962         avoid excess range and precision on underflow.
16963         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16964         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16965         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
16966         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
16967         underflow.
16968         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16969         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16970         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16971         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16972         * math/auto-libm-test-in: Do not allow missing errno setting for
16973         tests of j1 and jn.
16974         * math/auto-libm-test-out: Regenerated.
16976 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
16978         [BZ #15491]
16979         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
16980         floating-point environment instead of clearing all exceptions.
16981         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16982         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
16983         merging in "invalid" exceptions from frndint.
16984         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16985         * math/test-nearbyint-except.c: New file.
16986         * math/Makefile (tests): Add test-nearbyint-except.
16988 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
16990         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
16992         * sysdeps/tile/libm-test-ulps: Regenerated.
16994 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
16997         (__NR_sync_file_range2): Assume it is always defined.
16998         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
16999         (__NR_sync_file_range): Assume it is always defined.
17001 2015-10-22  Andreas Schwab  <schwab@suse.de>
17003         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17004         INTERNAL_SYSCALL_ERRNO.
17005         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17006         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17007         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17008         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17009         Likewise.
17010         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17012 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17014         * io/tst-fcntl.c (fd): New static variable.
17015         (do_prepare): Open temporary file here....
17016         (do_test): ...not here.
17018         * io/ftwtest-sh: Also trap on exit to remove temporary files.
17020 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17022         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17023         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17024         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17025         Moved before "#ifdef __ASSEMBLER__".
17027 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17029         [BZ #19156]
17030         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17031         arguments very close to 0.
17033 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
17035         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17036         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17038 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17040         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17041         New.  Defined for GCC 5 and above when not compiling for
17042         profiling.
17043         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17045         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17046         Renamed to ...
17047         (CFLAGS-epoll_pwait.o): This.
17048         (CFLAGS-mmap.c): Renamed to ...
17049         (CFLAGS-mmap.o): This.
17050         (CFLAGS-mmap64.c): Renamed to ...
17051         (CFLAGS-mmap64.o): This.
17052         (CFLAGS-epoll_pwait.os): New.
17053         (CFLAGS-mmap.os): Likewise.
17054         (CFLAGS-mmap64.os): Likewise.
17055         (CFLAGS-semtimedop.os): Likewise.
17056         (CFLAGS-semtimedop.c): Renamed to ...
17057         (CFLAGS-semtimedop.o): This.
17059 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17061         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17062         warning message.
17064 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17066         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17067         * Makefile ($(objpfx)c++-types-check.out): Filter out
17068         $(+gccwarn-c) instead of -Wstrict-prototypes.
17070         * io/fts.c (fts_open): Convert to prototype-style function
17071         definition.
17072         * malloc/mcheck.c (mcheck): Likewise.
17073         (mcheck_pedantic): Likewise.
17074         * posix/regexec.c (re_search_2_stub): Likewise.  Use
17075         internal_function.
17076         (re_search_internal): Likewise.
17077         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17078         prototype-style function definition.
17079         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17080         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17081         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17082         (xdr_utmpptr): Likewise.
17083         (xdr_utmparr): Likewise.
17084         (xdr_utmpidle): Likewise.
17085         (xdr_utmpidleptr): Likewise.
17086         (xdr_utmpidlearr): Likewise.
17088         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17089         log, log10 and log2.
17090         * math/auto-libm-test-out: Regenerated.
17091         * math/libm-test.inc (fmod_test_data): Add more tests.
17092         (fpclassify_test_data): Likewise.
17093         (frexp_test_data): Likewise.
17094         (hypot_test_data): Likewise.
17095         (ilogb_test_data): Likewise.
17097 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
17099         * debug/fortify_fail.c (__fortify_fail): Convert to
17100         prototype-style function definition.  Use internal_function.
17101         * libio/genops.c (save_for_backup): Convert to prototype-style
17102         function definition.
17103         * libio/wgenops.c (save_for_wbackup): Likewise.
17104         * login/grantpt.c (grantpt): Likewise.
17105         * login/ptsname.c (ptsname): Likewise.
17106         (__ptsname_r): Likewise.
17107         * login/unlockpt.c (unlockpt): Likewise.
17108         * mach/msgserver.c (__mach_msg_server): Likewise.
17109         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17110         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17111         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17112         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17113         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17114         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17115         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17116         Likewise.
17117         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
17118         internal_function.
17119         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17120         prototype-style function definition.
17121         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17122         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17123         (__pthread_create_2_0): Likewise.
17124         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17125         * nptl/register-atfork.c (__register_atfork): Likewise.
17126         * posix/glob.c (glob): Likewise.
17127         * posix/regcomp.c (re_comp): Likewise.
17128         * posix/regexec.c (re_exec): Likewise.
17129         * stdlib/add_n.c [__STDC__]: Make code unconditional.
17130         [!__STDC__]: Remove conditional code.
17131         * stdlib/cmp.c [__STDC__]: Make code unconditional.
17132         [!__STDC__]: Remove conditional code.
17133         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17134         [!__STDC__]: Remove conditional code.
17135         * stdlib/divrem.c [__STDC__]: Make code unconditional.
17136         [!__STDC__]: Remove conditional code.
17137         * stdlib/lshift.c [__STDC__]: Make code unconditional.
17138         [!__STDC__]: Remove conditional code.
17139         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17140         [!__STDC__]: Remove conditional code.
17141         * stdlib/mul.c [__STDC__]: Make code unconditional.
17142         [!__STDC__]: Remove conditional code.
17143         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17144         [!__STDC__]: Remove conditional code.
17145         * stdlib/rshift.c [__STDC__]: Make code unconditional.
17146         [!__STDC__]: Remove conditional code.
17147         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17148         function definition.
17149         (STRTOF): Likewise.
17150         * stdlib/strtod_l.c (__STRTOF): Likewise.
17151         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17152         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17153         (__strtol_l): Likewise.
17154         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17155         [!__STDC__]: Remove conditional code.
17156         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17157         definition.
17158         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17159         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17160         type.
17161         (__strcasecmp): Convert to prototype-style function definition.
17162         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17163         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17164         type.
17165         (__strncasecmp): Convert to prototype-style function definition.
17166         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17167         * sunrpc/xdr.c (xdr_union): Likewise.
17168         * sunrpc/xdr_array.c (xdr_array): Likewise.
17169         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17170         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17171         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17172         Likewise.
17173         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17174         Likewise.
17175         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17176         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17177         Likewise.
17178         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17179         (LOCALE_PARAM_PROTO): Likewise.
17180         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17181         argument type.
17182         (ut_argument_spec): Remove macro.
17183         (ut_argument_spec_iso): Rename to ut_argument_spec.
17184         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
17185         prototype-style function definition.
17186         (memcpy_uppcase): Likewise.
17187         (__strftime_internal): Likewise.
17188         (my_strftime): Likewise.
17189         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17190         (LOCALE_PARAM_DECL): Likewise.
17191         [_LIBC] (LOCALE_PARAM): Include argument type.
17192         (__strptime_internal): Convert to prototype-style function
17193         definition.
17194         (strptime): Likewise.
17195         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17196         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17197         type.
17198         (__wcscasecmp): Convert to prototype-style function definition.
17199         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17200         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17201         type.
17202         (__wcsncasecmp): Convert to prototype-style function definition.
17204         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17205         function definition.
17206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17208         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17209         * elf/dl-minimal.c (_itoa): Likewise.
17210         * hurd/hurdmalloc.c (malloc): Likewise.
17211         (free): Likewise.
17212         (realloc): Likewise.
17213         * inet/inet6_option.c (inet6_option_space): Likewise.
17214         (inet6_option_init): Likewise.
17215         (inet6_option_append): Likewise.
17216         (inet6_option_alloc): Likewise.
17217         (inet6_option_next): Likewise.
17218         (inet6_option_find): Likewise.
17219         * io/ftw.c (FTW_NAME): Likewise.
17220         (NFTW_NAME): Likewise.
17221         (NFTW_NEW_NAME): Likewise.
17222         (NFTW_OLD_NAME): Likewise.
17223         * libio/iofwide.c (_IO_fwide): Likewise.
17224         * libio/strops.c (_IO_str_init_static_internal): Likewise.
17225         (_IO_str_init_static): Likewise.
17226         (_IO_str_init_readonly): Likewise.
17227         (_IO_str_overflow): Likewise.
17228         (_IO_str_underflow): Likewise.
17229         (_IO_str_count): Likewise.
17230         (_IO_str_seekoff): Likewise.
17231         (_IO_str_pbackfail): Likewise.
17232         (_IO_str_finish): Likewise.
17233         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17234         (_IO_wstr_overflow): Likewise.
17235         (_IO_wstr_underflow): Likewise.
17236         (_IO_wstr_count): Likewise.
17237         (_IO_wstr_seekoff): Likewise.
17238         (_IO_wstr_pbackfail): Likewise.
17239         (_IO_wstr_finish): Likewise.
17240         * locale/programs/localedef.c (normalize_codeset): Likewise.
17241         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17242         (add_locales_to_archive): Likewise.
17243         (delete_locales_from_archive): Likewise.
17244         * malloc/malloc.c (__libc_mallinfo): Likewise.
17245         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17246         * misc/tsearch.c (__tfind): Likewise.
17247         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17248         * nptl/pthread_attr_getdetachstate.c
17249         (__pthread_attr_getdetachstate): Likewise.
17250         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17251         Likewise.
17252         * nptl/pthread_attr_getinheritsched.c
17253         (__pthread_attr_getinheritsched): Likewise.
17254         * nptl/pthread_attr_getschedparam.c
17255         (__pthread_attr_getschedparam): Likewise.
17256         * nptl/pthread_attr_getschedpolicy.c
17257         (__pthread_attr_getschedpolicy): Likewise.
17258         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17259         Likewise.
17260         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17261         Likewise.
17262         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17263         Likewise.
17264         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17265         Likewise.
17266         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17267         (__pthread_attr_init_2_0): Likewise.
17268         * nptl/pthread_attr_setdetachstate.c
17269         (__pthread_attr_setdetachstate): Likewise.
17270         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17271         Likewise.
17272         * nptl/pthread_attr_setinheritsched.c
17273         (__pthread_attr_setinheritsched): Likewise.
17274         * nptl/pthread_attr_setschedparam.c
17275         (__pthread_attr_setschedparam): Likewise.
17276         * nptl/pthread_attr_setschedpolicy.c
17277         (__pthread_attr_setschedpolicy): Likewise.
17278         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17279         Likewise.
17280         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17281         Likewise.
17282         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17283         Likewise.
17284         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17285         Likewise.
17286         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17287         Likewise.
17288         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17289         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17290         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17291         use internal_function.
17292         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17293         prototype-style function definition.
17294         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17295         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17296         internal_function.
17297         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17298         Convert to prototype-style function definition.
17299         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17300         Likewise.
17301         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17302         Likewise.
17303         (__pthread_mutex_unlock): Likewise.
17304         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17305         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17306         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17307         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17308         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17309         * nss/makedb.c (process_input): Likewise.
17310         * posix/fnmatch.c (__strchrnul): Likewise.
17311         (__wcschrnul): Likewise.
17312         (fnmatch): Likewise.
17313         * posix/fnmatch_loop.c (FCT): Likewise.
17314         * posix/glob.c (globfree): Likewise.
17315         (__glob_pattern_type): Likewise.
17316         (__glob_pattern_p): Likewise.
17317         * posix/regcomp.c (re_compile_pattern): Likewise.
17318         (re_set_syntax): Likewise.
17319         (re_compile_fastmap): Likewise.
17320         (regcomp): Likewise.
17321         (regerror): Likewise.
17322         (regfree): Likewise.
17323         * posix/regexec.c (regexec): Likewise.
17324         (re_match): Likewise.
17325         (re_search): Likewise.
17326         (re_match_2): Likewise.
17327         (re_search_2): Likewise.
17328         (re_search_stub): Likewise.  Use internal_function
17329         (re_copy_regs): Likewise.
17330         (re_set_registers): Convert to prototype-style function
17331         definition.
17332         (prune_impossible_nodes): Likewise.  Use internal_function.
17333         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17334         prototype-style function definition.
17335         (inet_net_pton_ipv4): Likewise.
17336         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17337         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17338         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17339         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17340         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17341         Make variadic.
17342         * time/strptime_l.c (localtime_r): Convert to prototype-style
17343         function definition.
17344         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17345         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17346         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17347         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17349         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17350         definition.
17351         (_ufc_doit_r): Likewise.
17352         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17353         (_ufc_output_conversion_r): Likewise.
17354         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17355         * inet/rcmd.c (rcmd_af): Likewise.
17356         (rcmd): Likewise.
17357         (ruserok_af): Likewise.
17358         (ruserok): Likewise.
17359         (ruserok2_sa): Likewise.
17360         (ruserok_sa): Likewise.
17361         (iruserok_af): Likewise.
17362         (iruserok): Likewise.
17363         (__ivaliduser): Likewise.
17364         (__validuser2_sa): Likewise.
17365         * inet/rexec.c (rexec_af): Likewise.
17366         (rexec): Likewise.
17367         * inet/ruserpass.c (ruserpass): Likewise.
17368         * locale/programs/xmalloc.c (xcalloc): Likewise.
17369         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17370         * math/w_drem.c (__drem): Likewise.
17371         * math/w_dremf.c (__dremf): Likewise.
17372         * math/w_dreml.c (__dreml): Likewise.
17373         * misc/daemon.c (daemon): Likewise.
17374         * resolv/res_debug.c (p_fqnname): Likewise.
17375         * stdlib/div.c (div): Likewise.
17376         * string/memcmp.c (memcmp_bytes): Likewise.
17377         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17378         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17380         * crypt/cert.c (main): Convert to prototype-style function
17381         definition.
17382         * io/pipe.c (__pipe): Likewise.
17383         * io/pipe2.c (__pipe2): Likewise.
17384         * misc/futimesat.c (futimesat): Likewise.
17385         * misc/utimes.c (__utimes): Likewise.
17386         * posix/execve.c (__execve): Likewise.
17387         * posix/execvp.c (execvp): Likewise.
17388         * posix/execvpe.c (__execvpe): Likewise.
17389         * posix/fexecve.c (fexecve): Likewise.
17390         * socket/socketpair.c (socketpair): Likewise.
17391         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17392         * stdlib/erand48.c (erand48): Likewise.
17393         * stdlib/erand48_r.c (__erand48_r): Likewise.
17394         * stdlib/jrand48.c (jrand48): Likewise.
17395         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17396         * stdlib/lcong48.c (lcong48): Likewise.
17397         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17398         * stdlib/nrand48.c (nrand48): Likewise.
17399         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17400         * stdlib/seed48.c (seed48): Likewise.
17401         * stdlib/seed48_r.c (__seed48_r): Likewise.
17402         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17403         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17404         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17406 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17408         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17409         * configure: Regenerated.
17410         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17411         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17412         unconditional.
17413         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17414         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17415         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17416         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17417         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17418         unconditional.
17419         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17421         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17422         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17424         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17425         function definition.
17426         * crypt/crypt_util.c (__encrypt_r): Likewise.
17427         * libio/genops.c (_IO_no_init): Likewise.
17428         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17429         (_IO_old_fopencookie): Likewise.
17430         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17431         * libio/iogetline.c (_IO_getline): Likewise.
17432         (_IO_getline_info): Likewise.
17433         * libio/iogetwline.c (_IO_getwline): Likewise.
17434         (_IO_getwline_info): Likewise.
17435         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17436         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17437         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17438         (find_entry): Likewise.
17439         (iterate_table): Likewise.
17440         (lookup): Likewise.
17441         * login/forkpty.c (forkpty): Likewise.
17442         * misc/hsearch_r.c (__hsearch_r): Likewise.
17443         * misc/select.c (__select): Likewise.
17444         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17445         Likewise.
17446         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17447         Likewise.
17448         * nptl/old_pthread_cond_timedwait.c
17449         (__pthread_cond_timedwait_2_0): Likewise.
17450         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17451         * nptl/pthread_barrierattr_getpshared.c
17452         (pthread_barrierattr_getpshared): Likewise.
17453         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17454         Likewise.
17455         * nptl/pthread_mutex_setprioceiling.c
17456         (pthread_mutex_setprioceiling): Likewise.
17457         * nptl/pthread_mutexattr_getprioceiling.c
17458         (pthread_mutexattr_getprioceiling): Likewise.
17459         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17460         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17461         Likewise.
17462         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17463         Likewise.
17464         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17465         Likewise.
17466         * socket/recvfrom.c (__recvfrom): Likewise.
17467         * socket/sendto.c (__sendto): Likewise.
17468         * socket/setsockopt.c (__setsockopt): Likewise.
17469         * stdio-common/_itoa.c (_itoa): Likewise.
17470         * stdio-common/_itowa.c (_itowa): Likewise.
17471         * stdio-common/reg-printf.c (__register_printf_specifier):
17472         Likewise.
17473         (__register_printf_function): Likewise.
17474         * stdio-common/tempname.c (__path_search): Likewise.
17475         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17476         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17477         * stdlib/random_r.c (__initstate_r): Likewise.
17478         * stdlib/setenv.c (__add_to_environ): Likewise.
17479         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17480         * streams/getpmsg.c (getpmsg): Likewise.
17481         * streams/putmsg.c (putmsg): Likewise.
17482         * streams/putpmsg.c (putpmsg): Likewise.
17483         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17484         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17485         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17486         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17487         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17488         * sunrpc/svc_udp.c (cache_get): Likewise.
17489         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17490         * sysdeps/mach/hurd/getcwd.c
17491         (__canonicalize_directory_name_internal): Likewise.
17492         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17493         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17494         * sysdeps/mach/hurd/select.c (__select): Likewise.
17495         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17496         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17497         * sysdeps/sparc/nptl/pthread_barrier_init.c
17498         (__pthread_barrier_init): Likewise.
17499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17500         (__pthread_cond_timedwait): Likewise.
17501         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17502         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17503         Likewise.
17504         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17505         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17506         Likewise.
17507         * sysvipc/semtimedop.c (semtimedop): Likewise.
17508         * time/setitimer.c (__setitimer): Likewise.
17509         * time/strftime_l.c (emacs_strftime): Likewise.
17511 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17513         * config.make.in (have-ssp): Delete.
17514         (stack-protector): New variable.
17515         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17516         cache test for -fstack-protector-strong.  Export stack_protector to
17517         the best ssp flag.
17518         * configure: Regenerated.
17519         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17520         * nscd/Makefile (CFLAGS-nscd): Likewise.
17521         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17523 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17525         [BZ #19122]
17526         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17527         attribute_hidden.
17529 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17531         [BZ #18743]
17532         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17533         code to...
17534         (ELIDE_LOCK): ...here.
17535         (__get_new_count): New function with part of the code from
17536         __elide_lock that updates the value of adapt_count after a
17537         transaction abort.
17538         (__elided_trylock): Moved this code to...
17539         (ELIDE_TRYLOCK): ...here.
17541 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17543         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17544         * configure: Regenerate.
17545         * INSTALL: Regenerate.
17546         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17547         and tweak grammar.
17549 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17551         * login/programs/pt_chown.c: Include signal.h
17552         (main): Clear any signal mask from the parent process.
17554 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17556         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17557         * configure: Regenerated.
17558         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17559         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17560         $(gnu89-inline-CFLAGS).
17562         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17563         test.
17564         (libc_cv_asm_weakext_directive): Likewise.
17565         * configure: Regenerated.
17566         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17567         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17568         * include/libc-symbols.h
17569         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17570         #error.
17571         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17572         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17574         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17575         prototype-style function definition.
17576         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17577         * sysdeps/i386/ffs.c (__ffs): Likewise.
17578         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17579         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17580         Likewise.
17581         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17582         Likewise.
17583         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17585         Likewise.
17586         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17587         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17588         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17589         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17590         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17591         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17592         * sysdeps/mach/hurd/access.c (__access): Likewise.
17593         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17594         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17595         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17596         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17597         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17598         (cthread_getspecific): Likewise.
17599         (cthread_setspecific): Likewise.
17600         (__libc_getspecific): Likewise.
17601         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17602         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17603         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17604         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17605         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17606         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17607         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17608         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17609         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17610         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17611         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17612         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17613         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17614         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17615         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17616         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17617         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17618         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17619         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17620         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17621         * sysdeps/mach/hurd/link.c (__link): Likewise.
17622         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17623         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17624         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17625         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17626         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17627         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17628         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17629         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17630         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17631         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17632         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17633         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17634         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17635         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17636         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17637         * sysdeps/mach/hurd/send.c (__send): Likewise.
17638         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17639         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17640         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17641         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17642         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17643         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17644         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17645         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17646         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17647         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17648         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17649         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17650         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17651         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17652         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17653         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17654         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17655         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17656         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17657         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17658         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17659         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17660         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17661         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17662         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17663         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17664         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17665         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17666         * sysdeps/posix/alarm.c (alarm): Likewise.
17667         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17668         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17669         * sysdeps/posix/dup.c (__dup): Likewise.
17670         * sysdeps/posix/dup2.c (__dup2): Likewise.
17671         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17672         (main): Likewise.
17673         * sysdeps/posix/flock.c (__flock): Likewise.
17674         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17675         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17676         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17677         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17678         * sysdeps/posix/isatty.c (__isatty): Likewise.
17679         * sysdeps/posix/killpg.c (killpg): Likewise.
17680         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17681         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17682         * sysdeps/posix/raise.c (raise): Likewise.
17683         * sysdeps/posix/remove.c (remove): Likewise.
17684         * sysdeps/posix/rename.c (rename): Likewise.
17685         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17686         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17687         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17688         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17689         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17690         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17691         * sysdeps/posix/sigset.c (sigset): Likewise.
17692         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17693         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17694         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17695         * sysdeps/posix/time.c (time): Likewise.
17696         * sysdeps/posix/ttyname.c (getttyname): Likewise.
17697         (ttyname): Likewise.
17698         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17699         * sysdeps/posix/utime.c (utime): Likewise.
17700         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17701         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17702         Likewise.
17703         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17704         (pthread_spin_trylock): Likewise.
17705         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17706         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17707         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17708         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17709         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17710         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17711         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17712         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17713         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17714         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17715         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17716         * sysdeps/s390/ffs.c (__ffs): Likewise.
17717         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17718         Likewise.
17719         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17720         Likewise.
17721         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17722         Likewise.
17723         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17724         (pthread_barrier_destroy): Likewise.
17725         * sysdeps/sparc/nptl/pthread_barrier_wait.c
17726         (__pthread_barrier_wait): Likewise.
17727         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17728         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17729         (__pthread_barrier_wait): Likewise.
17730         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17731         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17732         (memcmp_not_common_alignment): Likewise.
17733         (MEMCMP): Likewise.
17734         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17735         (_wordcopy_fwd_dest_aligned): Likewise.
17736         (_wordcopy_bwd_aligned): Likewise.
17737         (_wordcopy_bwd_dest_aligned): Likewise.
17738         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17739         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17740         * sysdeps/unix/bsd/stty.c (stty): Likewise.
17741         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17742         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17743         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17744         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17745         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17746         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17747         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17748         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17749         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17750         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17751         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17752         * sysdeps/unix/stime.c (stime): Likewise.
17753         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17754         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17755         Likewise.  Use internal_function.
17756         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17757         Convert to prototype-style function definition.
17758         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17759         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17760         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17761         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17762         Likewise.  Use internal_function.
17763         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17764         prototype-style function definition
17765         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17766         Likewise.
17767         (__getlogin_r): Likewise.
17768         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
17769         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
17770         (__pthread_cond_broadcast): Likewise.
17771         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
17772         (__pthread_cond_destroy): Likewise.
17773         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
17774         (__pthread_cond_init): Likewise.
17775         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
17776         (__pthread_cond_signal): Likewise.
17777         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
17778         (__pthread_cond_wait): Likewise.
17779         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
17780         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
17781         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
17782         Likewise.
17783         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
17784         Likewise.
17785         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
17786         Likewise.
17787         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
17788         Likewise.
17789         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
17790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
17791         (__ftruncate64): Likewise.
17792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
17793         (truncate64): Likewise.
17794         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
17795         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
17796         (pthread_getcpuclockid): Likewise.
17797         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
17798         Likewise.
17799         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
17800         Likewise.
17801         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
17802         Likewise.
17803         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
17804         Likewise.
17805         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
17806         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
17807         (__libc_sigaction): Likewise.
17808         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
17809         Likewise.
17810         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
17811         (__sigprocmask): Likewise.
17812         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
17813         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
17814         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
17815         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
17816         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17817         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
17818         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17819         Likewise.
17820         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
17821         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
17822         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17823         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
17824         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
17825         Likewise.
17826         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
17827         (__sigprocmask): Likewise.
17828         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
17829         (cfgetispeed): Likewise.
17830         (cfsetospeed): Likewise.
17831         (cfsetispeed): Likewise.
17832         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
17833         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
17834         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17835         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
17836         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
17837         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
17838         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
17839         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
17840         Likewise.
17841         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
17842         Likewise.
17843         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
17844         Likewise.
17845         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
17846         Likewise.
17847         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
17849 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17851         sunrpc: Rewrite with explicit TLS access using __thread.
17852         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
17853         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
17854         directly.
17855         (__rpc_thread_variables): Access thread_rpc_vars directly.
17856         Eliminate redundant assignment of the tvp variable.
17858 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17860         malloc: Rewrite with explicit TLS access using __thread.
17861         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
17862         (tsd_setspecific, tsd_getspecific): Remove.
17863         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
17864         (tsd_setspecific, tsd_getspecific): Likewise.
17865         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
17866         (tsd_setspecific, tsd_getspecific): Likewise.
17867         * malloc/arena.c (thread_arena): New TLS variable.
17868         (arena_key): Remove variable.
17869         (arena_get): Use thread_arena.
17870         (arena_lookup): Remove macro.
17871         (malloc_atfork, free_atfork, ptmalloc_lock_all)
17872         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
17873         (_int_new_arena, get_free_list, reused_arena)
17874         (arena_thread_freeres): Use thread_arena.
17875         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
17876         tsd_getspecific, tsd_setspecific from safety annotations.
17877         (Allocating Cleared Space): Remove arena_lookup from safety
17878         annotations.
17880 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17882         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
17883         struct scratch_buffer instead of extend_alloca.
17885 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17887         * sysdeps/unix/sysv/linux/kernel-features.h
17888         (__ASSUME_SOCK_CLOEXEC): Remove.
17889         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
17890         (__have_paccept): Remove unused macro.
17891         * include/unistd.h (__have_sock_cloexec): Remove declaration.
17892         * misc/syslog.c (openlog_internal): Remove fallback code for
17893         !__ASSUME_SOCK_CLOEXEC.
17894         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
17895         missing SOCK_CLOEXEC.
17896         * nscd/connections.c (have_sock_cloexec): Remove definition.
17897         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17898         * nscd/nscd_helper.c (open_socket): Remove fallback code for
17899         !__ASSUME_SOCK_CLOEXEC.
17900         * resolv/res_send.c (__have_o_nonblock): Remove definition.
17901         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
17902         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
17903         definition.
17904         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
17905         code for !__ASSUME_SOCK_CLOEXEC.
17907 2015-10-17  Florian Weimer  <fweimer@redhat.com>
17909         [BZ #18982]
17910         * manual/stdio.texi (Variable Arguments Output): Add portability
17911         note, explaining that vfprintf clobbers the va_list pointer.
17913 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17915         * math/libm-test.inc (fabs_test_data): Add more tests.
17916         (fdim_test_data): Likewise.
17917         (fma_test_data): Likewise.
17918         (fmax_test_data): Likewise.
17919         (fmin_test_data): Likewise.
17920         (fmod_test_data): Likewise.
17922 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
17924         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
17925         data.
17927 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
17929         * math/libm-test.inc (ceil_test_data): Add more tests and more
17930         expectations for "inexact".
17931         (floor_test_data): Add more tests.
17932         (round_test_data): Likewise.
17933         (trunc_test_data): Likewise.
17935         * crypt/cert.c (good_bye): Convert to prototype-style function
17936         definition.
17937         (get8): Likewise.
17938         (put8): Likewise.
17939         * crypt/crypt-entry.c (crypt): Likewise.
17940         (__fcrypt): Likewise.
17941         * crypt/crypt_util.c (_ufc_prbits): Likewise.
17942         (_ufc_set_bits): Likewise.
17943         (_ufc_clearmem): Likewise.
17944         (__init_des_r): Likewise.
17945         (shuffle_sb): Likewise.
17946         (shuffle_sb): Likewise.
17947         (_ufc_setup_salt_r): Likewise.
17948         (_ufc_mk_keytab_r): Likewise.
17949         (_ufc_dofinalperm_r): Likewise.
17950         (encrypt): Likewise.
17951         (__setkey_r): Likewise.
17952         (setkey): Likewise.
17953         * crypt/md5.c (md5_init_ctx): Likewise.
17954         (md5_read_ctx): Likewise.
17955         (md5_finish_ctx): Likewise.
17956         (md5_stream): Likewise.
17957         (md5_buffer): Likewise.
17958         (md5_process_bytes): Likewise.
17959         * crypt/sha256.c (__sha256_init_ctx): Likewise.
17960         (__sha256_finish_ctx): Likewise.
17961         (__sha256_process_bytes): Likewise.
17962         * crypt/sha512.c (__sha512_init_ctx): Likewise.
17963         (__sha512_finish_ctx): Likewise.
17964         (__sha512_process_bytes): Likewise.
17965         * ctype/isctype.c (__isctype): Likewise.
17966         * debug/backtrace.c (__backtrace): Likewise.
17967         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
17968         * debug/fgets_chk.c (__fgets_chk): Likewise.
17969         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
17970         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
17971         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17972         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17973         * debug/memset_chk.c (__memset_chk): Likewise.
17974         * debug/strcat_chk.c (__strcat_chk): Likewise.
17975         * debug/strncat_chk.c (__strncat_chk): Likewise.
17976         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
17977         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
17978         * dirent/dirfd.c (dirfd): Likewise.
17979         * dirent/getdents.c (__getdirentries): Likewise.
17980         * dirent/getdents64.c (getdirentries64): Likewise.
17981         * dirent/rewinddir.c (__rewinddir): Likewise.
17982         * dirent/seekdir.c (seekdir): Likewise.
17983         * dirent/telldir.c (telldir): Likewise.
17984         * elf/sln.c (makesymlinks): Likewise.
17985         (makesymlink): Likewise.
17986         * gmon/gmon.c (__moncontrol): Likewise.
17987         (__monstartup): Likewise.
17988         (write_hist): Likewise.
17989         (write_call_graph): Likewise.
17990         (write_bb_counts): Likewise.
17991         * grp/setgroups.c (setgroups): Likewise.
17992         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17993         * inet/inet_net.c (inet_network): Likewise.
17994         * inet/inet_netof.c (inet_netof): Likewise.
17995         * inet/rcmd.c (rresvport_af): Likewise.
17996         (rresvport): Likewise.
17997         * io/access.c (__access): Likewise.
17998         * io/chdir.c (__chdir): Likewise.
17999         * io/chmod.c (__chmod): Likewise.
18000         * io/chown.c (__chown): Likewise.
18001         * io/close.c (__close): Likewise.
18002         * io/creat.c (creat): Likewise.
18003         * io/creat64.c (creat64): Likewise.
18004         * io/dup.c (__dup): Likewise.
18005         * io/dup2.c (__dup2): Likewise.
18006         * io/dup3.c (__dup3): Likewise.
18007         * io/euidaccess.c (__euidaccess): Likewise.
18008         * io/faccessat.c (faccessat): Likewise.
18009         * io/fchmod.c (__fchmod): Likewise.
18010         * io/fchmodat.c (fchmodat): Likewise.
18011         * io/fchown.c (__fchown): Likewise.
18012         * io/fchownat.c (fchownat): Likewise.
18013         * io/fcntl.c (__fcntl): Likewise.
18014         * io/flock.c (__flock): Likewise.
18015         * io/fts.c (fts_load): Likewise.
18016         (fts_close): Likewise.
18017         (fts_read): Likewise.
18018         (fts_set): Likewise.
18019         (fts_children): Likewise.
18020         (fts_build): Likewise.
18021         (fts_stat): Likewise.
18022         (fts_sort): Likewise.
18023         (fts_alloc): Likewise.
18024         (fts_lfree): Likewise.
18025         (fts_palloc): Likewise.
18026         (fts_padjust): Likewise.
18027         (fts_maxarglen): Likewise.
18028         (fts_safe_changedir): Likewise.
18029         * io/getwd.c (getwd): Likewise.
18030         * io/isatty.c (__isatty): Likewise.
18031         * io/lchown.c (__lchown): Likewise.
18032         * io/link.c (__link): Likewise.
18033         * io/linkat.c (linkat): Likewise.
18034         * io/lseek.c (__libc_lseek): Likewise.
18035         * io/mkdir.c (__mkdir): Likewise.
18036         * io/mkdirat.c (mkdirat): Likewise.
18037         * io/mkfifo.c (mkfifo): Likewise.
18038         * io/mkfifoat.c (mkfifoat): Likewise.
18039         * io/open.c (__libc_open): Likewise.
18040         * io/open64.c (__libc_open64): Likewise.
18041         * io/readlink.c (__readlink): Likewise.
18042         * io/readlinkat.c (readlinkat): Likewise.
18043         * io/rmdir.c (__rmdir): Likewise.
18044         * io/symlink.c (__symlink): Likewise.
18045         * io/symlinkat.c (symlinkat): Likewise.
18046         * io/ttyname.c (ttyname): Likewise.
18047         * io/ttyname_r.c (__ttyname_r): Likewise.
18048         * io/umask.c (__umask): Likewise.
18049         * io/unlink.c (__unlink): Likewise.
18050         * io/unlinkat.c (unlinkat): Likewise.
18051         * io/utime.c (utime): Likewise.
18052         * libio/clearerr.c (clearerr): Likewise.
18053         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18054         * libio/feof.c (_IO_feof): Likewise.
18055         * libio/feof_u.c (feof_unlocked): Likewise.
18056         * libio/ferror.c (_IO_ferror): Likewise.
18057         * libio/ferror_u.c (ferror_unlocked): Likewise.
18058         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18059         * libio/fileno.c (__fileno): Likewise.
18060         * libio/fputc.c (fputc): Likewise.
18061         * libio/fputc_u.c (fputc_unlocked): Likewise.
18062         * libio/fputwc.c (fputwc): Likewise.
18063         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18064         * libio/freopen.c (freopen): Likewise.
18065         * libio/freopen64.c (freopen64): Likewise.
18066         * libio/fseek.c (fseek): Likewise.
18067         * libio/fseeko.c (fseeko): Likewise.
18068         * libio/fseeko64.c (fseeko64): Likewise.
18069         * libio/ftello.c (__ftello): Likewise.
18070         * libio/ftello64.c (ftello64): Likewise.
18071         * libio/fwide.c (fwide): Likewise.
18072         * libio/genops.c (_IO_un_link): Likewise.
18073         (_IO_link_in): Likewise.
18074         (_IO_least_marker): Likewise.
18075         (_IO_switch_to_main_get_area): Likewise.
18076         (_IO_switch_to_backup_area): Likewise.
18077         (_IO_switch_to_get_mode): Likewise.
18078         (_IO_free_backup_area): Likewise.
18079         (_IO_switch_to_put_mode): Likewise.
18080         (__overflow): Likewise.
18081         (__underflow): Likewise.
18082         (__uflow): Likewise.
18083         (_IO_setb): Likewise.
18084         (_IO_doallocbuf): Likewise.
18085         (_IO_default_underflow): Likewise.
18086         (_IO_default_uflow): Likewise.
18087         (_IO_default_xsputn): Likewise.
18088         (_IO_sgetn): Likewise.
18089         (_IO_default_xsgetn): Likewise.
18090         (_IO_sync): Likewise.
18091         (_IO_default_setbuf): Likewise.
18092         (_IO_default_seekpos): Likewise.
18093         (_IO_default_doallocate): Likewise.
18094         (_IO_init): Likewise.
18095         (_IO_old_init): Likewise.
18096         (_IO_default_sync): Likewise.
18097         (_IO_default_finish): Likewise.
18098         (_IO_default_seekoff): Likewise.
18099         (_IO_sputbackc): Likewise.
18100         (_IO_sungetc): Likewise.
18101         (_IO_set_column): Likewise.
18102         (_IO_set_column): Likewise.
18103         (_IO_adjust_column): Likewise.
18104         (_IO_get_column): Likewise.
18105         (_IO_init_marker): Likewise.
18106         (_IO_remove_marker): Likewise.
18107         (_IO_marker_difference): Likewise.
18108         (_IO_marker_delta): Likewise.
18109         (_IO_seekmark): Likewise.
18110         (_IO_unsave_markers): Likewise.
18111         (_IO_nobackup_pbackfail): Likewise.
18112         (_IO_default_pbackfail): Likewise.
18113         (_IO_default_seek): Likewise.
18114         (_IO_default_stat): Likewise.
18115         (_IO_default_read): Likewise.
18116         (_IO_default_write): Likewise.
18117         (_IO_default_showmanyc): Likewise.
18118         (_IO_default_imbue): Likewise.
18119         (_IO_iter_next): Likewise.
18120         (_IO_iter_file): Likewise.
18121         * libio/getc.c (_IO_getc): Likewise.
18122         * libio/getwc.c (_IO_getwc): Likewise.
18123         * libio/iofclose.c (_IO_new_fclose): Likewise.
18124         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18125         * libio/iofflush.c (_IO_fflush): Likewise.
18126         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18127         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18128         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18129         * libio/iofgets.c (_IO_fgets): Likewise.
18130         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18131         * libio/iofgetws.c (fgetws): Likewise.
18132         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18133         * libio/iofopen64.c (_IO_fopen64): Likewise.
18134         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18135         (_IO_cookie_write): Likewise.
18136         (_IO_cookie_seek): Likewise.
18137         (_IO_cookie_close): Likewise.
18138         (_IO_cookie_seekoff): Likewise.
18139         (_IO_old_cookie_seek): Likewise.
18140         * libio/iofputs.c (_IO_fputs): Likewise.
18141         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18142         * libio/iofputws.c (fputws): Likewise.
18143         * libio/iofputws_u.c (fputws_unlocked): Likewise.
18144         * libio/iofread.c (_IO_fread): Likewise.
18145         * libio/iofread_u.c (__fread_unlocked): Likewise.
18146         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18147         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18148         * libio/ioftell.c (_IO_ftell): Likewise.
18149         * libio/iofwrite.c (_IO_fwrite): Likewise.
18150         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18151         * libio/iogets.c (_IO_gets): Likewise.
18152         * libio/iopadn.c (_IO_padn): Likewise.
18153         * libio/iopopen.c (_IO_new_proc_open): Likewise.
18154         (_IO_new_popen): Likewise.
18155         (_IO_new_proc_close): Likewise.
18156         * libio/ioputs.c (_IO_puts): Likewise.
18157         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18158         (_IO_seekoff): Likewise.
18159         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18160         (_IO_seekpos): Likewise.
18161         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18162         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18163         * libio/ioungetc.c (_IO_ungetc): Likewise.
18164         * libio/ioungetwc.c (ungetwc): Likewise.
18165         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18166         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18167         * libio/iowpadn.c (_IO_wpadn): Likewise.
18168         * libio/libc_fatal.c (__libc_fatal): Likewise.
18169         * libio/memstream.c (__open_memstream): Likewise.
18170         (_IO_mem_sync): Likewise.
18171         (_IO_mem_finish): Likewise.
18172         * libio/oldfileops.c (_IO_old_file_init): Likewise.
18173         (_IO_old_file_close_it): Likewise.
18174         (_IO_old_file_finish): Likewise.
18175         (_IO_old_file_fopen): Likewise.
18176         (_IO_old_file_attach): Likewise.
18177         (_IO_old_file_setbuf): Likewise.
18178         (_IO_old_do_write): Likewise.
18179         (old_do_write): Likewise.
18180         (_IO_old_file_underflow): Likewise.
18181         (_IO_old_file_overflow): Likewise.
18182         (_IO_old_file_sync): Likewise.
18183         (_IO_old_file_seekoff): Likewise.
18184         (_IO_old_file_write): Likewise.
18185         (_IO_old_file_xsputn): Likewise.
18186         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18187         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18188         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18189         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18190         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18191         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18192         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18193         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18194         (_IO_old_popen): Likewise.
18195         (_IO_old_proc_close): Likewise.
18196         * libio/oldpclose.c (__old_pclose): Likewise.
18197         * libio/pclose.c (__new_pclose): Likewise.
18198         * libio/peekc.c (_IO_peekc_locked): Likewise.
18199         * libio/putc.c (_IO_putc): Likewise.
18200         * libio/putc_u.c (putc_unlocked): Likewise.
18201         * libio/putchar.c (putchar): Likewise.
18202         * libio/putchar_u.c (putchar_unlocked): Likewise.
18203         * libio/putwc.c (putwc): Likewise.
18204         * libio/putwc_u.c (putwc_unlocked): Likewise.
18205         * libio/putwchar.c (putwchar): Likewise.
18206         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18207         * libio/rewind.c (rewind): Likewise.
18208         * libio/setbuf.c (setbuf): Likewise.
18209         * libio/setlinebuf.c (setlinebuf): Likewise.
18210         * libio/vasprintf.c (_IO_vasprintf): Likewise.
18211         * libio/vscanf.c (_IO_vscanf): Likewise.
18212         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18213         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18214         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18215         * libio/wgenops.c (_IO_least_wmarker): Likewise.
18216         (_IO_switch_to_main_wget_area): Likewise.
18217         (_IO_switch_to_wbackup_area): Likewise.
18218         (_IO_wsetb): Likewise.
18219         (_IO_wdefault_pbackfail): Likewise.
18220         (_IO_wdefault_finish): Likewise.
18221         (_IO_wdefault_uflow): Likewise.
18222         (__woverflow): Likewise.
18223         (__wuflow): Likewise.
18224         (__wunderflow): Likewise.
18225         (_IO_wdefault_xsputn): Likewise.
18226         (_IO_wdefault_xsgetn): Likewise.
18227         (_IO_wdoallocbuf): Likewise.
18228         (_IO_wdefault_doallocate): Likewise.
18229         (_IO_switch_to_wget_mode): Likewise.
18230         (_IO_free_wbackup_area): Likewise.
18231         (_IO_switch_to_wput_mode): Likewise.
18232         (_IO_sputbackwc): Likewise.
18233         (_IO_sungetwc): Likewise.
18234         (_IO_adjust_wcolumn): Likewise.
18235         (_IO_init_wmarker): Likewise.
18236         (_IO_wmarker_delta): Likewise.
18237         (_IO_seekwmark): Likewise.
18238         (_IO_unsave_wmarkers): Likewise.
18239         * libio/wmemstream.c (open_wmemstream): Likewise.
18240         (_IO_wmem_sync): Likewise.
18241         (_IO_wmem_finish): Likewise.
18242         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18243         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18244         * locale/programs/simple-hash.c (init_hash): Likewise.
18245         (delete_hash): Likewise.
18246         (insert_entry): Likewise.
18247         (set_entry): Likewise.
18248         (next_prime): Likewise.
18249         (is_prime): Likewise.
18250         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18251         (xmalloc): Likewise.
18252         (xrealloc): Likewise.
18253         * locale/programs/xstrdup.c (xstrdup): Likewise.
18254         * localedata/collate-test.c (xstrcoll): Likewise.
18255         * localedata/xfrm-test.c (xstrcmp): Likewise.
18256         * login/getlogin_r.c (__getlogin_r): Likewise.
18257         * login/getpt.c (__posix_openpt): Likewise.
18258         * login/login_tty.c (login_tty): Likewise.
18259         * login/setlogin.c (setlogin): Likewise.
18260         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18261         (mach_msg_destroy_port): Likewise.
18262         (mach_msg_destroy_memory): Likewise.
18263         * malloc/mcheck.c (flood): Likewise.
18264         * misc/acct.c (acct): Likewise.
18265         * misc/brk.c (__brk): Likewise.
18266         * misc/chflags.c (chflags): Likewise.
18267         * misc/chroot.c (chroot): Likewise.
18268         * misc/fchflags.c (fchflags): Likewise.
18269         * misc/fstab.c (getfsspec): Likewise.
18270         (getfsfile): Likewise.
18271         * misc/fsync.c (fsync): Likewise.
18272         * misc/ftruncate.c (__ftruncate): Likewise.
18273         * misc/ftruncate64.c (__ftruncate64): Likewise.
18274         * misc/getdomain.c (getdomainname): Likewise.
18275         (getdomainname): Likewise.
18276         * misc/gethostname.c (__gethostname): Likewise.
18277         * misc/getpass.c (getpass): Likewise.
18278         * misc/getttyent.c (skip): Likewise.
18279         (value): Likewise.
18280         * misc/gtty.c (gtty): Likewise.
18281         * misc/hsearch.c (hsearch): Likewise.
18282         (hcreate): Likewise.
18283         * misc/hsearch_r.c (__hcreate_r): Likewise.
18284         (__hdestroy_r): Likewise.
18285         * misc/ioctl.c (__ioctl): Likewise.
18286         * misc/mkdtemp.c (mkdtemp): Likewise.
18287         * misc/mkostemp.c (mkostemp): Likewise.
18288         * misc/mkostemp64.c (mkostemp64): Likewise.
18289         * misc/mkostemps.c (mkostemps): Likewise.
18290         * misc/mkostemps64.c (mkostemps64): Likewise.
18291         * misc/mkstemp.c (mkstemp): Likewise.
18292         * misc/mkstemp64.c (mkstemp64): Likewise.
18293         * misc/mkstemps.c (mkstemps): Likewise.
18294         * misc/mkstemps64.c (mkstemps64): Likewise.
18295         * misc/mktemp.c (__mktemp): Likewise.
18296         * misc/preadv.c (preadv): Likewise.
18297         * misc/preadv64.c (preadv64): Likewise.
18298         * misc/pwritev.c (pwritev): Likewise.
18299         * misc/pwritev64.c (pwritev64): Likewise.
18300         * misc/readv.c (__readv): Likewise.
18301         * misc/revoke.c (revoke): Likewise.
18302         * misc/setdomain.c (setdomainname): Likewise.
18303         * misc/setegid.c (setegid): Likewise.
18304         * misc/seteuid.c (seteuid): Likewise.
18305         * misc/sethostid.c (sethostid): Likewise.
18306         * misc/sethostname.c (sethostname): Likewise.
18307         * misc/setregid.c (__setregid): Likewise.
18308         * misc/setreuid.c (__setreuid): Likewise.
18309         * misc/sstk.c (sstk): Likewise.
18310         * misc/stty.c (stty): Likewise.
18311         * misc/syscall.c (syscall): Likewise.
18312         * misc/syslog.c (setlogmask): Likewise.
18313         * misc/truncate.c (__truncate): Likewise.
18314         * misc/truncate64.c (truncate64): Likewise.
18315         * misc/ualarm.c (ualarm): Likewise.
18316         * misc/usleep.c (usleep): Likewise.
18317         * misc/ustat.c (ustat): Likewise.
18318         * misc/writev.c (__writev): Likewise.
18319         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18320         * nptl/old_pthread_cond_broadcast.c
18321         (__pthread_cond_broadcast_2_0): Likewise.
18322         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18323         Likewise.
18324         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18325         Likewise.
18326         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18327         Likewise.
18328         * nptl/pt-raise.c (raise): Likewise.
18329         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18330         Likewise.
18331         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18332         * nptl/pthread_barrierattr_destroy.c
18333         (pthread_barrierattr_destroy): Likewise.
18334         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18335         Likewise.
18336         * nptl/pthread_barrierattr_setpshared.c
18337         (pthread_barrierattr_setpshared): Likewise.
18338         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18339         Likewise.
18340         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18341         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18342         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18343         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18344         Likewise.
18345         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18346         Likewise.
18347         * nptl/pthread_condattr_getpshared.c
18348         (pthread_condattr_getpshared): Likewise.
18349         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18350         Likewise.
18351         * nptl/pthread_condattr_setpshared.c
18352         (pthread_condattr_setpshared): Likewise.
18353         * nptl/pthread_detach.c (pthread_detach): Likewise.
18354         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18355         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18356         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18357         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18358         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18359         Likewise.
18360         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18361         Likewise.
18362         * nptl/pthread_mutex_getprioceiling.c
18363         (pthread_mutex_getprioceiling): Likewise.
18364         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18365         Likewise.
18366         * nptl/pthread_mutexattr_getprotocol.c
18367         (pthread_mutexattr_getprotocol): Likewise.
18368         * nptl/pthread_mutexattr_getpshared.c
18369         (pthread_mutexattr_getpshared): Likewise.
18370         * nptl/pthread_mutexattr_getrobust.c
18371         (pthread_mutexattr_getrobust): Likewise.
18372         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18373         Likewise.
18374         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18375         Likewise.
18376         * nptl/pthread_mutexattr_setprioceiling.c
18377         (pthread_mutexattr_setprioceiling): Likewise.
18378         * nptl/pthread_mutexattr_setprotocol.c
18379         (pthread_mutexattr_setprotocol): Likewise.
18380         * nptl/pthread_mutexattr_setpshared.c
18381         (pthread_mutexattr_setpshared): Likewise.
18382         * nptl/pthread_mutexattr_setrobust.c
18383         (pthread_mutexattr_setrobust): Likewise.
18384         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18385         Likewise.
18386         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18387         Likewise.
18388         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18389         Likewise.
18390         * nptl/pthread_rwlockattr_getkind_np.c
18391         (pthread_rwlockattr_getkind_np): Likewise.
18392         * nptl/pthread_rwlockattr_getpshared.c
18393         (pthread_rwlockattr_getpshared): Likewise.
18394         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18395         Likewise.
18396         * nptl/pthread_rwlockattr_setkind_np.c
18397         (pthread_rwlockattr_setkind_np): Likewise.
18398         * nptl/pthread_rwlockattr_setpshared.c
18399         (pthread_rwlockattr_setpshared): Likewise.
18400         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18401         Likewise.
18402         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18403         Likewise.
18404         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18405         Likewise.
18406         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18407         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18408         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18409         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18410         * nptl/sem_close.c (sem_close): Likewise.
18411         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18412         * nptl/sem_init.c (__old_sem_init): Likewise.
18413         * nptl/sigaction.c (__sigaction): Likewise.
18414         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18415         * posix/_exit.c (_exit): Likewise.
18416         * posix/alarm.c (alarm): Likewise.
18417         * posix/confstr.c (confstr): Likewise.
18418         * posix/fpathconf.c (__fpathconf): Likewise.
18419         * posix/getgroups.c (__getgroups): Likewise.
18420         * posix/getpgid.c (__getpgid): Likewise.
18421         * posix/group_member.c (__group_member): Likewise.
18422         * posix/pathconf.c (__pathconf): Likewise.
18423         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18424         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18425         * posix/setgid.c (__setgid): Likewise.
18426         * posix/setpgid.c (__setpgid): Likewise.
18427         * posix/setuid.c (__setuid): Likewise.
18428         * posix/sleep.c (__sleep): Likewise.
18429         * posix/sysconf.c (__sysconf): Likewise.
18430         * posix/times.c (__times): Likewise.
18431         * posix/uname.c (__uname): Likewise.
18432         * posix/waitid.c (__waitid): Likewise.
18433         * pwd/getpw.c (__getpw): Likewise.
18434         * resolv/base64.c (b64_pton): Likewise.
18435         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18436         * resolv/gethnamaddr.c (Dprintf): Likewise.
18437         (gethostbyname): Likewise.
18438         (gethostbyname2): Likewise.
18439         (gethostbyaddr): Likewise.
18440         (_sethtent): Likewise.
18441         (_gethtbyname): Likewise.
18442         (_gethtbyname2): Likewise.
18443         (_gethtbyaddr): Likewise.
18444         (map_v4v6_address): Likewise.
18445         (map_v4v6_hostent): Likewise.
18446         (addrsort): Likewise.
18447         (ht_sethostent): Likewise.
18448         (ht_gethostbyname): Likewise.
18449         (ht_gethostbyaddr): Likewise.
18450         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18451         (inet_net_ntop_ipv4): Likewise.
18452         * resolv/inet_neta.c (inet_neta): Likewise.
18453         * resolv/inet_ntop.c (inet_ntop): Likewise.
18454         (inet_ntop4): Likewise.
18455         (inet_ntop6): Likewise.
18456         * resolv/inet_pton.c (__inet_pton): Likewise.
18457         (inet_pton4): Likewise.
18458         (inet_pton6): Likewise.
18459         * resolv/res_debug.c (loc_aton): Likewise.
18460         (loc_ntoa): Likewise.
18461         * resource/getpriority.c (__getpriority): Likewise.
18462         * resource/getrusage.c (__getrusage): Likewise.
18463         * resource/nice.c (nice): Likewise.
18464         * resource/setpriority.c (__setpriority): Likewise.
18465         * resource/setrlimit64.c (setrlimit64): Likewise.
18466         * resource/vlimit.c (vlimit): Likewise.
18467         * resource/vtimes.c (vtimes): Likewise.
18468         * rt/aio_error.c (aio_error): Likewise.
18469         * rt/aio_return.c (aio_return): Likewise.
18470         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18471         * signal/kill.c (__kill): Likewise.
18472         * signal/killpg.c (killpg): Likewise.
18473         * signal/raise.c (raise): Likewise.
18474         * signal/sigaction.c (__sigaction): Likewise.
18475         * signal/sigaddset.c (sigaddset): Likewise.
18476         * signal/sigaltstack.c (sigaltstack): Likewise.
18477         * signal/sigandset.c (sigandset): Likewise.
18478         * signal/sigblock.c (__sigblock): Likewise.
18479         * signal/sigdelset.c (sigdelset): Likewise.
18480         * signal/sigempty.c (sigemptyset): Likewise.
18481         * signal/sigfillset.c (sigfillset): Likewise.
18482         * signal/sighold.c (sighold): Likewise.
18483         * signal/sigignore.c (sigignore): Likewise.
18484         * signal/sigintr.c (siginterrupt): Likewise.
18485         * signal/sigisempty.c (sigisemptyset): Likewise.
18486         * signal/sigismem.c (sigismember): Likewise.
18487         * signal/signal.c (signal): Likewise.
18488         * signal/sigorset.c (sigorset): Likewise.
18489         * signal/sigpause.c (__sigpause): Likewise.
18490         * signal/sigpending.c (sigpending): Likewise.
18491         * signal/sigprocmask.c (__sigprocmask): Likewise.
18492         * signal/sigrelse.c (sigrelse): Likewise.
18493         * signal/sigreturn.c (__sigreturn): Likewise.
18494         * signal/sigset.c (sigset): Likewise.
18495         * signal/sigsetmask.c (__sigsetmask): Likewise.
18496         * signal/sigstack.c (sigstack): Likewise.
18497         * signal/sigsuspend.c (__sigsuspend): Likewise.
18498         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18499         * signal/sysv_signal.c (__sysv_signal): Likewise.
18500         * socket/accept.c (accept): Likewise.
18501         * socket/accept4.c (__libc_accept4): Likewise.
18502         * socket/bind.c (__bind): Likewise.
18503         * socket/connect.c (__connect): Likewise.
18504         * socket/getpeername.c (getpeername): Likewise.
18505         * socket/getsockname.c (__getsockname): Likewise.
18506         * socket/getsockopt.c (getsockopt): Likewise.
18507         * socket/listen.c (__listen): Likewise.
18508         * socket/recv.c (__recv): Likewise.
18509         * socket/recvmsg.c (__recvmsg): Likewise.
18510         * socket/send.c (__send): Likewise.
18511         * socket/sendmsg.c (__sendmsg): Likewise.
18512         * socket/shutdown.c (shutdown): Likewise.
18513         * socket/sockatmark.c (sockatmark): Likewise.
18514         * socket/socket.c (__socket): Likewise.
18515         * stdio-common/ctermid.c (ctermid): Likewise.
18516         * stdio-common/cuserid.c (cuserid): Likewise.
18517         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18518         * stdio-common/remove.c (remove): Likewise.
18519         * stdio-common/rename.c (rename): Likewise.
18520         * stdio-common/renameat.c (renameat): Likewise.
18521         * stdio-common/tempname.c (__gen_tempname): Likewise.
18522         * stdio-common/xbug.c (InitBuffer): Likewise.
18523         (AppendToBuffer): Likewise.
18524         (ReadFile): Likewise.
18525         * stdlib/a64l.c (a64l): Likewise.
18526         * stdlib/drand48_r.c (drand48_r): Likewise.
18527         * stdlib/getcontext.c (getcontext): Likewise.
18528         * stdlib/getenv.c (getenv): Likewise.
18529         * stdlib/l64a.c (l64a): Likewise.
18530         * stdlib/llabs.c (llabs): Likewise.
18531         * stdlib/lldiv.c (lldiv): Likewise.
18532         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18533         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18534         * stdlib/putenv.c (putenv): Likewise.
18535         * stdlib/random.c (__srandom): Likewise.
18536         (__initstate): Likewise.
18537         (__setstate): Likewise.
18538         * stdlib/random_r.c (__srandom_r): Likewise.
18539         (__setstate_r): Likewise.
18540         (__random_r): Likewise.
18541         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18542         * stdlib/setcontext.c (setcontext): Likewise.
18543         * stdlib/setenv.c (setenv): Likewise.
18544         (unsetenv): Likewise.
18545         * stdlib/srand48.c (srand48): Likewise.
18546         * stdlib/srand48_r.c (__srand48_r): Likewise.
18547         * stdlib/swapcontext.c (swapcontext): Likewise.
18548         * stdlib/system.c (__libc_system): Likewise.
18549         * stdlib/tst-strtod.c (expand): Likewise.
18550         * stdlib/tst-strtol.c (expand): Likewise.
18551         * stdlib/tst-strtoll.c (expand): Likewise.
18552         * streams/fattach.c (fattach): Likewise.
18553         * streams/fdetach.c (fdetach): Likewise.
18554         * streams/getmsg.c (getmsg): Likewise.
18555         * streams/isastream.c (isastream): Likewise.
18556         * string/ffs.c (__ffs): Likewise.
18557         * string/ffsll.c (ffsll): Likewise.
18558         * string/memcmp.c (memcmp_common_alignment): Likewise.
18559         (memcmp_not_common_alignment): Likewise.
18560         (MEMCMP): Likewise.
18561         * string/memcpy.c (memcpy): Likewise.
18562         * string/memmove.c (MEMMOVE): Likewise.
18563         * string/memset.c (memset): Likewise.
18564         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18565         * string/strchrnul.c (STRCHRNUL): Likewise.
18566         * string/strerror.c (strerror): Likewise.
18567         * string/strndup.c (__strndup): Likewise.
18568         * string/strverscmp.c (__strverscmp): Likewise.
18569         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18570         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18571         (clnttcp_freeres): Likewise.
18572         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18573         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18574         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18575         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18576         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18577         (xdr_callhdr): Likewise.
18578         * sunrpc/rpcinfo.c (udpping): Likewise.
18579         (tcpping): Likewise.
18580         (pstatus): Likewise.
18581         (pmapdump): Likewise.
18582         (brdcst): Likewise.
18583         (deletereg): Likewise.
18584         (getprognum): Likewise.
18585         (getvers): Likewise.
18586         (get_inet_address): Likewise.
18587         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18588         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18589         (svcudp_stat): Likewise.
18590         (svcudp_recv): Likewise.
18591         (svcudp_reply): Likewise.
18592         (svcudp_getargs): Likewise.
18593         (svcudp_freeargs): Likewise.
18594         (svcudp_destroy): Likewise.
18595         * sunrpc/xdr.c (xdr_bytes): Likewise.
18596         (xdr_netobj): Likewise.
18597         (xdr_string): Likewise.
18598         (xdr_wrapstring): Likewise.
18599         * sunrpc/xdr_float.c (xdr_float): Likewise.
18600         (xdr_double): Likewise.
18601         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18602         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18603         * sysvipc/ftok.c (ftok): Likewise.
18604         * sysvipc/msgctl.c (msgctl): Likewise.
18605         * sysvipc/msgget.c (msgget): Likewise.
18606         * sysvipc/msgrcv.c (msgrcv): Likewise.
18607         * sysvipc/msgsnd.c (msgsnd): Likewise.
18608         * sysvipc/semget.c (semget): Likewise.
18609         * sysvipc/semop.c (semop): Likewise.
18610         * sysvipc/shmat.c (shmat): Likewise.
18611         * sysvipc/shmctl.c (shmctl): Likewise.
18612         * sysvipc/shmdt.c (shmdt): Likewise.
18613         * sysvipc/shmget.c (shmget): Likewise.
18614         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18615         * termios/speed.c (cfgetospeed): Likewise.
18616         (cfgetispeed): Likewise.
18617         (cfsetospeed): Likewise.
18618         (cfsetispeed): Likewise.
18619         * termios/tcflow.c (tcflow): Likewise.
18620         * termios/tcflush.c (tcflush): Likewise.
18621         * termios/tcgetattr.c (__tcgetattr): Likewise.
18622         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18623         * termios/tcgetsid.c (tcgetsid): Likewise.
18624         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18625         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18626         * time/adjtime.c (__adjtime): Likewise.
18627         * time/dysize.c (dysize): Likewise.
18628         * time/ftime.c (ftime): Likewise.
18629         * time/getitimer.c (__getitimer): Likewise.
18630         * time/gettimeofday.c (__gettimeofday): Likewise.
18631         * time/gmtime.c (__gmtime_r): Likewise.
18632         (gmtime): Likewise.
18633         * time/localtime.c (__localtime_r): Likewise.
18634         (localtime): Likewise.
18635         * time/offtime.c (__offtime): Likewise.
18636         * time/settimeofday.c (__settimeofday): Likewise.
18637         * time/stime.c (stime): Likewise.
18638         * time/strftime_l.c (tm_diff): Likewise.
18639         (iso_week_days): Likewise.
18640         * time/strptime.c (strptime): Likewise.
18641         * time/time.c (time): Likewise.
18642         * time/timespec_get.c (timespec_get): Likewise.
18643         * time/tzset.c (tzset_internal): Likewise.
18644         (compute_change): Likewise.
18645         (__tz_compute): Likewise.
18646         * wcsmbs/btowc.c (__btowc): Likewise.
18647         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18648         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18649         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18650         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18651         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18652         * wcsmbs/wcscat.c (__wcscat): Likewise.
18653         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18654         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18655         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18656         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18657         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18658         * wcsmbs/wcslen.c (__wcslen): Likewise.
18659         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18660         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18661         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18662         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18663         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18664         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18665         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18666         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18667         * wcsmbs/wcstok.c (wcstok): Likewise.
18668         * wcsmbs/wctob.c (wctob): Likewise.
18669         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18670         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18671         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18672         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18673         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18674         * wcsmbs/wmemset.c (__wmemset): Likewise.
18675         * wctype/wcfuncs.c (__towlower): Likewise.
18676         (__towupper): Likewise.
18678         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18679         (lll_unlock_elision): Add adapt_count parameter.
18681 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18683         * sysdeps/nptl/configure.ac: Do not give errors based on the
18684         results of top-level configure tests.
18685         * sysdeps/nptl/configure: Regenerated.
18687         * configure.ac (libc_cv_Bgroup): Remove configure test.
18688         * configure: Regenerated.
18689         * config.make.in (have-Bgroup): Remove variable.
18691         * configure.ac (sizeof_long_double): Remove configure test.
18692         * configure: Regenerated.
18693         * config.make.in (sizeof-long-double): Remove variable.
18695         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18696         * configure: Regenerated.
18697         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18698         variable.
18699         (exceptions): Likewise.
18700         * sysdeps/arm/configure: Regenerated.
18701         * config.make.in (exceptions): Remove variable.
18702         * Makeconfig (uses-callbacks): Use -fexceptions instead of
18703         $(exceptions).
18704         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18705         (CFLAGS-vdprintf_chk.c): Likewise.
18706         (CFLAGS-printf_chk.c): Likewise.
18707         (CFLAGS-fprintf_chk.c): Likewise.
18708         (CFLAGS-vprintf_chk.c): Likewise.
18709         (CFLAGS-vfprintf_chk.c): Likewise.
18710         (CFLAGS-gets_chk.c): Likewise.
18711         (CFLAGS-fgets_chk.c): Likewise.
18712         (CFLAGS-fgets_u_chk.c): Likewise.
18713         (CFLAGS-fread_chk.c): Likewise.
18714         (CFLAGS-fread_u_chk.c): Likewise.
18715         (CFLAGS-wprintf_chk.c): Likewise.
18716         (CFLAGS-fwprintf_chk.c): Likewise.
18717         (CFLAGS-vwprintf_chk.c): Likewise.
18718         (CFLAGS-vfwprintf_chk.c): Likewise.
18719         (CFLAGS-fgetws_chk.c): Likewise.
18720         (CFLAGS-fgetws_u_chk.c): Likewise.
18721         * libio/Makefile (CFLAGS-fileops.c): Likewise.
18722         (CFLAGS-fputc.c): Likewise.
18723         (CFLAGS-fputwc.c): Likewise.
18724         (CFLAGS-freopen64.c): Likewise.
18725         (CFLAGS-freopen.c): Likewise.
18726         (CFLAGS-fseek.c): Likewise.
18727         (CFLAGS-fseeko64.c): Likewise.
18728         (CFLAGS-fseeko.c): Likewise.
18729         (CFLAGS-ftello64.c): Likewise.
18730         (CFLAGS-ftello.c): Likewise.
18731         (CFLAGS-fwide.c): Likewise.
18732         (CFLAGS-genops.c): Likewise.
18733         (CFLAGS-getc.c): Likewise.
18734         (CFLAGS-getchar.c): Likewise.
18735         (CFLAGS-getwc.c): Likewise.
18736         (CFLAGS-getwchar.c): Likewise.
18737         (CFLAGS-iofclose.c): Likewise.
18738         (CFLAGS-iofflush.c): Likewise.
18739         (CFLAGS-iofgetpos64.c): Likewise.
18740         (CFLAGS-iofgetpos.c): Likewise.
18741         (CFLAGS-iofgets.c): Likewise.
18742         (CFLAGS-iofgetws.c): Likewise.
18743         (CFLAGS-iofputs.c): Likewise.
18744         (CFLAGS-iofputws.c): Likewise.
18745         (CFLAGS-iofread.c): Likewise.
18746         (CFLAGS-iofsetpos64.c): Likewise.
18747         (CFLAGS-iofsetpos.c): Likewise.
18748         (CFLAGS-ioftell.c): Likewise.
18749         (CFLAGS-iofwrite.c): Likewise.
18750         (CFLAGS-iogetdelim.c): Likewise.
18751         (CFLAGS-iogetline.c): Likewise.
18752         (CFLAGS-iogets.c): Likewise.
18753         (CFLAGS-iogetwline.c): Likewise.
18754         (CFLAGS-ioputs.c): Likewise.
18755         (CFLAGS-ioseekoff.c): Likewise.
18756         (CFLAGS-ioseekpos.c): Likewise.
18757         (CFLAGS-iosetbuffer.c): Likewise.
18758         (CFLAGS-iosetvbuf.c): Likewise.
18759         (CFLAGS-ioungetc.c): Likewise.
18760         (CFLAGS-ioungetwc.c): Likewise.
18761         (CFLAGS-oldfileops.c): Likewise.
18762         (CFLAGS-oldiofclose.c): Likewise.
18763         (CFLAGS-oldiofgetpos64.c): Likewise.
18764         (CFLAGS-oldiofgetpos.c): Likewise.
18765         (CFLAGS-oldiofsetpos64.c): Likewise.
18766         (CFLAGS-oldiofsetpos.c): Likewise.
18767         (CFLAGS-peekc.c): Likewise.
18768         (CFLAGS-putc.c): Likewise.
18769         (CFLAGS-putchar.c): Likewise.
18770         (CFLAGS-putwc.c): Likewise.
18771         (CFLAGS-putwchar.c): Likewise.
18772         (CFLAGS-rewind.c): Likewise.
18773         (CFLAGS-wfileops.c): Likewise.
18774         (CFLAGS-wgenops.c): Likewise.
18775         (CFLAGS-oldiofopen.c): Likewise.
18776         (CFLAGS-iofopen.c): Likewise.
18777         (CFLAGS-iofopen64.c): Likewise.
18778         (CFLAGS-oldtmpfile.c): Likewise.
18779         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
18780         (CFLAGS-fprintf.c): Likewise.
18781         (CFLAGS-printf.c): Likewise.
18782         (CFLAGS-vfwprintf.c): Likewise.
18783         (CFLAGS-vfscanf.c): Likewise.
18784         (CFLAGS-vfwscanf.c): Likewise.
18785         (CFLAGS-fscanf.c): Likewise.
18786         (CFLAGS-scanf.c): Likewise.
18787         (CFLAGS-isoc99_vfscanf.c): Likewise.
18788         (CFLAGS-isoc99_vscanf.c): Likewise.
18789         (CFLAGS-isoc99_fscanf.c): Likewise.
18790         (CFLAGS-isoc99_scanf.c): Likewise.
18791         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
18792         (CFLAGS-isoc99_fwscanf.c): Likewise.
18793         (CFLAGS-isoc99_vwscanf.c): Likewise.
18794         (CFLAGS-isoc99_vfwscanf.c): Likewise.
18796         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
18797         after mkstemp64.
18798         * login/tst-utmp.c (do_prepare): Likewise.
18799         * rt/tst-aio.c (do_prepare): Likewise.
18800         * rt/tst-aio64.c (do_prepare): Likewise.
18802 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18804         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
18805         (__lll_lock_elision): Remove adapt_count decrement...
18806         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
18807         (__lll_trylock_elision): Likewise.
18808         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
18809         (__lll_unlock_elision): ... to here. And utilize
18810         new adapt_count parameter.
18811         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18812         (__lll_unlock_elision): Update to include adapt_count
18813         parameter.
18814         (lll_unlock_elision): Pass pointer to adapt_count
18815         variable.
18817 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18819         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
18820         Add elision adapt_count parameter to list of arguments.
18821         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
18822         (lll_unlock_elision): Update with new parameter list
18823         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
18824         (lll_unlock_elision): Likewise.
18825         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
18826         (lll_unlock_elision): Likewise.
18828 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18830         [BZ #19122]
18831         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
18832         attribute_hidden.
18834         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
18835         attribute_hidden.
18836         [IS_IN (rtld)] (__strdup): Likewise.
18837         [IS_IN (rtld)] (__strerror_r): Likewise.
18838         [IS_IN (rtld)] (__strsep_g): Likewise.
18839         [IS_IN (rtld)] (memchr): Likewise.
18840         [IS_IN (rtld)] (memcmp): Likewise.
18841         [IS_IN (rtld)] (memcpy): Likewise.
18842         [IS_IN (rtld)] (memmove): Likewise.
18843         [IS_IN (rtld)] (memset): Likewise.
18844         [IS_IN (rtld)] (rawmemchr): Likewise.
18845         [IS_IN (rtld)] (stpcpy): Likewise.
18846         [IS_IN (rtld)] (strchr): Likewise.
18847         [IS_IN (rtld)] (strcmp): Likewise.
18848         [IS_IN (rtld)] (strlen): Likewise.
18849         [IS_IN (rtld)] (strnlen): Likewise.
18850         [IS_IN (rtld)] (strsep): Likewise.
18852         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
18853         attribute_hidden.
18854         [IS_IN (rtld)] (__strtoul_internal): Likewise.
18856         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
18857         attribute_hidden.
18858         [IS_IN (rtld)] (__libc_sigaction): Likewise.
18860         * include/setjmp.h (__longjmp): Add attribute_hidden.
18861         [IS_IN (rtld)] (__sigsetjmp): Likewise.
18863         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
18864         Add attribute_hidden.
18866         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
18867         [IS_IN (rtld)] (__open): Likewise.
18868         [IS_IN (rtld)] (__fcntl): Likewise.
18870         * include/dirent.h (__opendirat): Add attribute_hidden.
18871         (__getdents): Likewise.
18872         (__getdents64): Likewise.
18873         (__alloc_dir): Likewise.
18874         [IS_IN (rtld)] (__closedir): Likewise.
18875         [IS_IN (rtld)] (__fdopendir): Likewise.
18876         [IS_IN (rtld)] (__readdir): Likewise.
18877         [IS_IN (rtld)] (__readdir64): Likewise.
18878         [IS_IN (rtld)] (__rewinddir): Likewise.
18880         * include/dlfcn.h (_dl_catch_error): Moved to ...
18881         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
18882         attribute_hidden.
18884         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
18885         (_itoa_word): Likewise.
18887         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
18888         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
18889         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
18890         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
18891         (_dl_higher_prime_number): Likewise.
18892         (_dl_debug_printf_c): Likewise.
18893         (_dl_signal_cerror): Likewise.
18894         (_dl_receive_error): Likewise.
18895         (_dl_reloc_bad_type): Likewise.
18896         (_dl_resolve_conflicts): Likewise.
18897         (_dl_check_all_versions): Likewise.
18898         (_dl_check_map_versions): Likewise.
18899         (_dl_sort_fini): Likewise.
18900         (_dl_debug_initialize): Likewise.
18901         (_dl_init_paths): Likewise.
18902         (_dl_show_auxv): Likewise.
18903         (_dl_next_ld_env_entry): Likewise.
18904         (_dl_important_hwcaps): Likewise.
18905         (_dl_load_cache_lookup): Likewise.
18906         (_dl_update_slotinfo): Likewise.
18907         (_dl_show_scope): Likewise.
18909         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
18910         attribute_hidden.
18911         (_wordcopy_fwd_dest_aligned): Likewise.
18912         (_wordcopy_bwd_aligned): Likewise.
18913         (_wordcopy_bwd_dest_aligned): Likewise.
18915         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
18916         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18917         Likewise.
18918         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
18919         Likewise.
18920         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
18922 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18924         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
18925         GCC 5 requirement.
18927 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18929         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
18930         test.
18931         * sysdeps/i386/configure: Regenerated.
18932         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
18933         code unconditional.
18935         * configure.ac (libc_cv_asm_previous_directive): Remove configure
18936         test.
18937         (libc_cv_asm_popsection_directive): Likewise.
18938         * configure: Regenerated.
18939         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
18940         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
18941         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
18942         (__make_section_unallocated): Make definition unconditional.
18943         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
18944         Remove conditional definition.
18945         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
18946         (__make_section_unallocated): Likewise.
18948         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
18949         * configure: Regenerated.
18950         * config.make.in (static-libgcc): Remove variable.
18951         * Makerules (build-shlib-helper): Use -static-libgcc instead of
18952         $(static-libgcc).
18953         (build-module-helper): Likewise.
18955         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
18956         * configure: Regenerated.
18958 2015-10-15  Florian Weimer  <fweimer@redhat.com>
18960         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
18961         (struct char_buffer): New type.
18962         (char_buffer_start, char_buffer_size, char_buffer_error)
18963         (char_buffer_rewind, char_buffer_add): New functions.
18964         (ADDW): Remove macro, replaced by the char_buffer_add function.
18965         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
18966         of extend_alloca.  Make control flow more explicit.
18968 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18970         [BZ #19137]
18971         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
18972         Add -fomit-frame-pointer.
18973         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
18975 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
18977         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
18978         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
18979         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
18980         only if !__GNUC_PREREQ (5,0).
18981         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
18982         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
18983         (INTERNAL_SYSCALL_NCS): Likewise.
18984         (LOADREGS_0): New macro for GCC 5.
18985         (ASMARGS_0): Likewise.
18986         (LOADREGS_1): Likewise.
18987         (ASMARGS_1): Likewise.
18988         (LOADREGS_2): Likewise.
18989         (ASMARGS_2): Likewise.
18990         (LOADREGS_3): Likewise.
18991         (ASMARGS_3): Likewise.
18992         (LOADREGS_4): Likewise.
18993         (ASMARGS_4): Likewise.
18994         (LOADREGS_5): Likewise.
18995         (ASMARGS_5): Likewise.
18996         (LOADREGS_6): Likewise.
18997         (ASMARGS_6): Likewise.
18999 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19001         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19002         -fomit-frame-pointer.
19003         (CFLAGS-mmap64.c): Likewise.
19004         (CFLAGS-semtimedop.c): Likewise.
19005         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19006         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19007         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19008         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19010 2015-10-15  Florian Weimer  <fweimer@redhat.com>
19012         [BZ #18928]
19013         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19014         _dl_pointer_guard member.
19015         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19016         initializer.
19017         (security_init): Always set up pointer guard.
19018         (process_envvars): Do not process LD_POINTER_GUARD.
19020 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
19022         [BZ #19134]
19023         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19024         (.LC2): Likewise.
19025         (.LC3): Likewise.
19026         (__lround): Do not add 0.5 to integer or out-of-range arguments.
19028 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19030         [BZ #19129]
19031         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19032         r0 and r1.
19034 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
19036         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19038 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
19040         * include/stap-probe.h: Fix macro definition formatting.
19042 2015-10-14  Florian Weimer  <fweimer@redhat.com>
19044         [BZ #19074]
19045         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19046         load and store num_ifs.
19048 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19050         [BZ #18822]
19051         * sysdeps/unix/sysv/linux/sched_getaffinity.c
19052         (__sched_getaffinity_new): Add libc_hidden_proto and
19053         libc_hidden_def.
19055 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19057         [BZ #19007]
19058         * scripts/localplt.awk: Also allow GOT references.
19059         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19060         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19061         with "+ REL R_386_GLOB_DAT".
19062         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19063         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19065 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19067         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19068         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19069         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19070         Likewise.
19071         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19072         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19073         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19074         INTERNAL_SYSCALLINTERNAL_SYSCALL and
19075         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19076         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19077         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19078         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19079         Likewise.
19080         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19082 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19084         [BZ #19125]
19085         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19086         <math_private.h> and <stdint.h>.
19087         (__llround): Avoid conversions to and from long long int, and
19088         subtractions, where those might raise spurious exceptions.
19089         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19090         <math_private.h> and <stdint.h>.
19091         (__llroundf): Avoid conversions to and from long long int, and
19092         subtractions, where those might raise spurious exceptions.
19094 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19096         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19097         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19098         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19099         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19100         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19101         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19102         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19103         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19104         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19105         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19106         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19107         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19108         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19109         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19110         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19112         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19113         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19114         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19115         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19116         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19117         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19118         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19119         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19120         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19121         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19122         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19123         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19124         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19125         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19126         (__xstat64_conv): Likewise.
19127         (__xstat32_conv): Likewise.
19129 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19131         * sysdeps/unix/sysv/linux/sysdep.h: New file.
19132         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19133         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19134         <sysdeps/unix/sysv/linux/sysdep.h>.
19135         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19136         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19137         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19138         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19139         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19140         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19141         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19142         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19143         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19146         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19147         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19148         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19149         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19150         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19151         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19152         (sysdep-dl-routines): Add sysdep.
19153         [$(subdir) == nptl] (libpthread-routines): Likewise.
19154         [$(subdir) == rt] (librt-routines): Likewise.
19155         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19156         PIC when branching to SYSCALL_ERROR_LABEL.
19157         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19158         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19159         <sysdeps/unix/sysv/linux/sysdep.h>.
19160         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19161         (SYSCALL_ERROR_ERRNO): Removed.
19162         (SYSCALL_ERROR_HANDLER): Changed to empty.
19163         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19164         (__syscall_error): New prototype.
19165         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19166         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19168 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19170         [BZ #19124]
19171         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19172         (_dl_runtime_resolve_avx512): Make it a hidden alias of
19173         _dl_runtime_resolve_avx.
19174         (_dl_runtime_profile_avx512): Make it a hidden alias of
19175         _dl_runtime_profile_avx.
19177 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19179         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19180         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19181         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19182         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19184         [BZ #16422]
19185         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19186         New configure test.
19187         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19188         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19189         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19190         <math_private.h> and <stdint.h>.
19191         (__llrint): Avoid conversions to long long int where those might
19192         raise spurious exceptions.
19193         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19194         <math_private.h> and <stdint.h>.
19195         (__llrintf): Avoid conversions to long long int where those might
19196         raise spurious exceptions.
19198 2015-10-12  Andreas Schwab  <schwab@suse.de>
19200         [BZ #18969]
19201         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
19202         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19203         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
19204         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19205         $(gen-locales).
19206         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
19207         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19208         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19209         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19210         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19211         $(gen-locales).
19212         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
19213         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19214         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19215         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19216         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19217         ($(objpfx)tst-ftell-active-handler.out)
19218         ($(objpfx)tst-ftell-append.out)
19219         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19220         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19221         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19222         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19223         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
19224         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19225         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19226         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19227         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19228         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19229         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19230         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19231         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19232         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19233         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19234         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19235         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19236         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19237         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19238         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19239         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19240         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19241         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19242         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19243         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19244         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19245         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19246         $(gen-locales).
19247         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19248         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19249         $(gen-locales).
19250         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19251         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19252         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19253         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19254         $(gen-locales).
19255         * libio/tst_wprintf2.c (main): Use explicit locale.
19256         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19258 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19260         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19261         __msg_sig_post.
19262         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19264 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19266         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19267         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19269         * sysdeps/arm/libm-test-ulps: Regenerated.
19271         [BZ #15470]
19272         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19274         [BZ #16399]
19275         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19276         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19277         and <fix-fp-int-convert-overflow.h>.
19278         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19279         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19280         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19281         and <fix-fp-int-convert-overflow.h>.
19282         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19283         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19284         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19285         <fix-fp-int-convert-overflow.h>.
19286         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19287         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19288         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19289         <fix-fp-int-convert-overflow.h>.
19290         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19291         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19292         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19293         and <fix-fp-int-convert-overflow.h>.
19294         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19295         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19296         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19297         <limits.h> and <fix-fp-int-convert-overflow.h>.
19298         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19299         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19300         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19301         and <fix-fp-int-convert-overflow.h>.
19302         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19303         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19304         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19305         and <fix-fp-int-convert-overflow.h>.
19306         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19307         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19308         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19310 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19312         [BZ #18589]
19313         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19314         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19315         $(gen-locales).
19317 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19318             Phil Blundell <pb@pbcl.net>
19320         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19321         * nptl/tst-cancel26.c: New file.
19322         * nptl/tst-cancel27.c: Likewise.
19324 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19326         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19327         __ILP32__ isn't defined.
19328         (lrint): Likewise.
19329         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19330         (lrintf): Likewise.
19331         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19332         (lrintl): Likewise.
19333         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19334         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19335         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19337 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19339         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19340         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19342         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19343         file.
19344         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19345         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19347 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19349         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19350         configure test.
19351         * sysdeps/i386/configure: Regenerated.
19352         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19353         configure test.
19354         * sysdeps/x86_64/configure: Regenerated.
19355         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19356         Make code unconditional.
19358         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19359         test.
19360         * sysdeps/i386/configure: Regenerated.
19361         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19362         test.
19363         * sysdeps/x86_64/configure: Regenerated.
19364         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19365         Make code unconditional.
19366         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19367         Likewise.
19368         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19369         Likewise.
19370         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19371         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19372         code unconditional.
19373         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19374         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19375         code unconditional.
19376         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19377         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19378         code unconditional.
19379         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19380         code unconditional.
19381         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19382         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19383         code unconditional.
19384         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19385         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19386         code unconditional.
19387         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19388         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19389         code unconditional.
19390         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19391         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19392         code unconditional.
19393         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19394         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19396         [BZ #19095]
19397         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19398         mantissa to long int before shifting left.
19400 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19402         [BZ #19094]
19403         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19404         <limits.h>.
19405         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19406         when result overflows but exception would not result from cast.
19407         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19408         <limits.h>.
19409         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19410         when result overflows but exception would not result from cast.
19411         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19412         <limits.h>.
19413         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19414         when result overflows but exception would not result from cast.
19415         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19416         <limits.h>.
19417         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19418         when result overflows but exception would not result from cast.
19419         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19420         <limits.h>.
19421         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19422         when result overflows but exception would not result from cast.
19423         * math/libm-test.inc (lrint_test_data): Add more tests.
19424         (llrint_test_data): Likewise.
19426 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19428         [BZ #18872]
19429         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19430         Move out from under [$(run-built-tests) = yes] conditional.
19431         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19432         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19434 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19436         [BZ #18589]
19437         * string/Makefile (tests): Add bug-strcoll2.
19438         (LOCALES): Add cs_CZ.UTF-8.
19439         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19441         [BZ #18589]
19442         * string/bug-strcoll2.c: New file.
19443         * locale/categories.def: Revert commit
19444         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19445         * locale/langinfo.h: Likewise.
19446         * locale/localeinfo.h: Likewise.
19447         * locale/C-collate.c: Likewise.
19448         * locale/programs/ld-collate.c (collate_output): Likewise.
19449         * string/strcoll_l.c (STRDIFF): Likewise.
19450         (STRCOLL): Likewise.
19451         * wcsmbs/wcscoll_l.c: Likewise.
19453 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19455         * math/libm-test.inc (lround_test_data): Do not expect the absence
19456         of "inexact" for some tests with non-integer arguments.
19457         (llround_test_data): Likewise.
19459         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19460         test.
19461         (libc_cv_cc_sse2avx): Likewise.
19462         * sysdeps/i386/configure: Regenerated.
19463         * sysdeps/i386/i686/multiarch/Makefile
19464         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19465         [$(subdir) = math].
19466         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19467         code unconditional.
19468         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19469         Likewise.
19470         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19471         Likewise.
19472         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19473         Likewise.
19474         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19475         test.
19476         (libc_cv_cc_sse2avx): Likewise.
19477         * sysdeps/x86_64/configure: Regenerated.
19478         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19479         unconditional.
19480         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19481         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19482         unconditional.
19483         (_dl_runtime_profile)
19484         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19485         conditional code.
19486         * sysdeps/x86_64/fpu/multiarch/Makefile
19487         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19488         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19489         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19490         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19491         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19492         * sysdeps/x86_64/fpu/multiarch/e_log.c
19493         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19494         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19495         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19496         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19497         Likewise.
19498         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19499         Likewise.
19500         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19501         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19502         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19503         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19504         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19505         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19506         (HAVE_SSE2AVX_SUPPORT): Likewise.
19508 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19510         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19511         instead of #pragma optimize.
19513 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19515         [BZ #17195]
19516         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19517         as is similarly done in systrim and _int_free already.
19519 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19521         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19523 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19525         [BZ #19088]
19526         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19527         <limits.h>.
19528         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19529         overflows but exception would not result from cast.
19530         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19531         and <limits.h>.
19532         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19533         overflows but exception would not result from cast.
19534         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19535         <limits.h>.
19536         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19537         overflows but exception would not result from cast.
19538         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19539         <limits.h>.
19540         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19541         overflows but exception would not result from cast.
19542         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19543         <limits.h>.
19544         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19545         overflows but exception would not result from cast.
19546         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19547         <limits.h>.
19548         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19549         overflows but exception would not result from cast.
19550         * math/libm-test.inc (lround_test_data): Add more tests.
19551         (llround_test_data): Likewise.
19553 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19555         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19556         (CFLAGS-ialloc.c): Ditto.
19557         (CFLAGS-scheck.c): Ditto.
19559 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19561         [BZ #19086]
19562         * manual/filesys.texi (Storage Allocation): Fix argument order for
19563         posix_fallocate64.
19565 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19567         [BZ #19085]
19568         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19569         exponent below 48 inside case for non-overflowing exponent.
19570         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19572 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19574         * iconvdata/cp737.h (from_idx): Add const.
19575         * iconvdata/cp775.h (from_idx): Likewise.
19577 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19579         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19580         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19581         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19583         [BZ #19079]
19584         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19585         file, conditioned on [!_LP64].
19586         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19587         [!_LP64] (__lround): Do not define as function or alias.
19588         [!_LP64] (lround): Likewise.
19589         [!_LP64] (__lroundl): Likewise.
19590         [!_LP64] (lroundl): Likewise.
19591         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19592         macro.
19593         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19594         Likewise.
19596 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19598         * math/libm-test.inc (lrint_test_data): Add more tests.
19599         (llrint_test_data): Likewise.
19600         (lround_test_data): Likewise.
19601         (llround_test_data): Likewise.
19603         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19604         (llrint_test_data): Add tests used for lrint.
19606         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19607         test.
19608         * sysdeps/i386/configure: Regenerated.
19609         * sysdeps/i386/i686/multiarch/Makefile
19610         [$(config-cflags-sse4) = yes]: Make code unconditional.
19611         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19612         Likewise.
19613         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19614         Likewise.
19615         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19616         test.
19617         * sysdeps/x86_64/configure: Regenerated.
19618         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19619         Make code unconditional.
19620         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19621         Likewise.
19622         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19623         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19625         * scripts/rpm2dynsym.sh: Remove file.
19627 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19629         * configure.ac (libc_cv_cxx_thread_local): Define.
19630         * configure: Regenerate.
19631         * config.make.in (have-cxx-thread_local): Define.
19632         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19633         (LDLIBS-tst-thread_local1): Define.
19634         (tests): Add tst-thread_local1.
19635         [have-cxx-thread_local != yes] (tests-unsupported): Add
19636         tst-thread_local1.
19637         * nptl/tst-thread_local1.cc: New file.
19639 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19641         [BZ #19078]
19642         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19643         (u_thres): Likewise.
19644         (__expl): Determine whether to call __kernel_standard_l based on
19645         value of result, not argument.
19647         * math/libm-test.inc (scalb_test_data): Add more expectations for
19648         the "inexact" exception.
19650         [BZ #19077]
19651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19652         0.0L for argument 1.0L.
19654         [BZ #19076]
19655         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19656         constant 0.0L when computing infinite result.
19658 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19660         [BZ #10432]
19661         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19662         malloc_usable_size.
19664 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19666         [BZ #19018]
19667         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19668         Mangle function pointer before storing it.
19669         (__call_tls_dtors): Demangle function pointer before calling it.
19671 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19673         [BZ #19012]
19674         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19675         Clean up on failure.
19677 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19679         [BZ #19071]
19680         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19681         long int variable to store possibly incremented high part of
19682         mantissa.
19683         * math/libm-test.inc (lround_test_data): Add tests used for
19684         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19685         for tests requiring 64-bit long.  Do not condition tests on
19686         [TEST_FLOAT] unnecessarily.
19687         (llround_test_data): Add tests used for lround.  Add another
19688         expectation for the "inexact" exception.  Do not condition tests
19689         on [TEST_FLOAT] unnecessarily.
19691         [BZ #887]
19692         [BZ #19049]
19693         [BZ #19050]
19694         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19695         * sysdeps/ieee754/dbl-64/e_log10.c: Include
19696         <fix-int-fp-convert-zero.h>.
19697         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19698         * sysdeps/ieee754/dbl-64/e_log2.c: Include
19699         <fix-int-fp-convert-zero.h>.
19700         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19701         * sysdeps/ieee754/dbl-64/s_erf.c: Include
19702         <fix-int-fp-convert-zero.h>.
19703         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19704         * sysdeps/ieee754/dbl-64/s_logb.c: Include
19705         <fix-int-fp-convert-zero.h>.
19706         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19707         * sysdeps/ieee754/flt-32/e_log10f.c: Include
19708         <fix-int-fp-convert-zero.h>.
19709         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19710         * sysdeps/ieee754/flt-32/e_log2f.c: Include
19711         <fix-int-fp-convert-zero.h>.
19712         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19713         * sysdeps/ieee754/flt-32/s_erff.c: Include
19714         <fix-int-fp-convert-zero.h>.
19715         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19716         * sysdeps/ieee754/flt-32/s_logbf.c: Include
19717         <fix-int-fp-convert-zero.h>.
19718         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19719         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19720         <fix-int-fp-convert-zero.h>.
19721         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19722         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19723         <fix-int-fp-convert-zero.h>.
19724         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19725         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19726         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19727         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19728         file.
19729         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19731 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
19733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19735 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
19737         [BZ #19059]
19738         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19739         overflowing computation.
19740         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19741         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19742         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19743         Likewise.
19744         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19745         Likewise.
19746         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19747         Likewise.
19748         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19749         Likewise.
19750         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19751         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19752         Likewise.
19753         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19754         Likewise.
19755         * math/libm-test.inc (nexttoward_test_data): Add more tests.
19757         * nss/rewrite_field.c (__nss_rewrite_field): Use
19758         internal_function.
19759         * nss/valid_field.c (__nss_valid_field): Likewise.
19760         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19762 2015-10-02  Florian Weimer  <fweimer@redhat.com>
19764         [BZ #18724]
19765         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19766         (__nss_invalid_field_characters, __nss_valid_field)
19767         (__nss_valid_list_field, __nss_rewrite_field): Declare.
19768         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
19769         tst-field.c: New file.
19770         * nss/Makefile (routines): Add valid_field, rewrite_field.
19771         (tests-static): Define unconditionally.
19772         (tests): Include tests-static.
19773         [build-static-nss] (tests-static): Use append.
19774         [build-static-nss] (tests): Remove modification.
19775         * nss/getent.c (print_group): Call putgrent.  Report error.
19776         (print_gshadow): Call putsgent.  Report error.
19777         (print_passwd): Call putpwent.  Report error.
19778         (print_shadow): Call putspent.  Report error.
19779         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
19780         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
19781         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
19782         name, password, directory, shell fields for valid syntax.  Rewrite
19783         GECOS field to match syntax.
19784         * pwd/Makefile (tests): Add tst-putpwent.
19785         * pwd/tst-putpwent.c: New file.
19786         * grp/putgrent.c (putgrent): Convert to ISO function definition.
19787         Check grName, grpasswd, gr_mem fields for valid syntax.
19788         Change loop variable i to size_t.
19789         * grp/Makefile (tests): Add tst-putgrent.
19790         * grp/tst-putgrent.c: New file.
19791         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
19792         valid syntax.
19793         * shadow/Makefile (tests): Add tst-putspent.
19794         * shadow/tst-putspent.c: New file.
19795         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
19796         sg_mem fields for valid syntax.
19797         * gshadow/Makefile (tests): Add tst-putsgent.
19798         * gshadow/tst-putsgent.c: New file.
19800 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19802         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
19803         assembly instructions.
19805 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19807         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
19808         prefix from operands.
19810 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
19812         [BZ #16347]
19813         [BZ #19046]
19814         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
19815         <libc-internal.h>.
19816         (MAXLGM): Do not use diagnostic control macros.
19817         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
19818         threshold for ldbl-128ibm.
19819         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
19820         instead of multiplying by log then subtracting.
19821         * math/auto-libm-test-in: Add more tests of lgamma.
19822         * math/auto-libm-test-out: Regenerated.
19824         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
19825         (TYPE_HEX_DIG): Likewise.
19826         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
19827         precisions when printing floating-point numbers.
19828         (check_float_internal): Likewise.
19830 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19832         [BZ #16620]
19833         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
19834         of log (10) rounded downward to 48 bits.
19835         (log10_low): Use corresponding low part of log (10).
19837         [BZ #19032]
19838         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
19839         compute result as (x - x) / (x - x) not as 0 / 0.
19840         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
19841         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
19843         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19844         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
19845         and expm1.
19846         * math/auto-libm-test-out: Regenerated.
19847         * math/libm-test.inc (acos_test_data): Add more tests.
19848         (asin_test_data): Likewise.
19849         (asinh_test_data): Likewise.
19850         (atan_test_data): Likewise.
19851         (atanh_test_data): Likewise.
19852         (atan2_test_data): Likewise.
19853         (cbrt_test_data): Likewise.
19854         (ceil_test_data): Likewise.
19855         (copysign_test_data): Likewise.
19856         (cos_test_data): Likewise.
19857         (cosh_test_data): Likewise.
19858         (erf_test_data): Likewise.
19859         (erfc_test_data): Likewise.
19860         (exp_test_data): Likewise.
19861         (exp10_test_data): Likewise.
19862         (exp2_test_data): Likewise.
19863         (expm1_test_data): Likewise.
19864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19866 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
19868         [BZ #19006]
19869         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
19870         to ...
19871         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
19872         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
19873         to ...
19874         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
19875         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
19876         to ...
19877         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
19878         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
19879         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
19880         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
19881         to ...
19882         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
19883         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
19884         Moved to ...
19885         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
19886         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
19887         Moved to ...
19888         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
19889         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
19890         to ...
19891         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
19892         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
19893         Moved to ...
19894         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
19895         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
19896         to ...
19897         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
19898         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
19899         Removed.
19900         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
19901         Likewise.
19902         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
19903         Likewise.
19904         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
19905         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
19906         Likewise.
19907         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
19908         Likewise.
19909         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
19910         Likewise.
19911         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
19912         Likewise.
19913         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
19914         Likewise.
19915         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
19916         Likewise.
19917         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
19918         Likewise.
19919         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
19920         Likewise.
19921         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
19922         Likewise.
19923         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
19924         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
19925         Likewise.
19926         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
19927         Likewise.
19928         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
19929         Likewise.
19930         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
19931         Likewise.
19932         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
19933         Likewise.
19934         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
19935         Replace ../i486/pthread_cond_timedwait.S with
19936         ../pthread_cond_timedwait.S.
19938 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
19940         * math/libm-test.inc (acos_test_data): Refine expectations for
19941         errno and "inexact" exceptions.
19942         (acosh_test_data): Likewise.
19943         (asin_test_data): Likewise.
19944         (asinh_test_data): Likewise.
19945         (atan_test_data): Likewise.
19946         (atanh_test_data): Likewise.
19947         (atan2_test_data): Likewise.
19948         (cbrt_test_data): Likewise.
19949         (ceil_test_data): Likewise.
19950         (copysign_test_data): Likewise.
19951         (cosh_test_data): Likewise.
19952         (erf_test_data): Likewise.
19953         (erfc_test_data): Likewise.
19954         (exp_test_data): Likewise.
19955         (exp10_test_data): Likewise.
19956         (exp2_test_data): Likewise.
19957         (expm1_test_data): Likewise.
19958         (fabs_test_data): Likewise.
19959         (floor_test_data): Likewise.
19960         (fma_test_data): Likewise.
19961         (fmax_test_data): Likewise.
19962         (fmin_test_data): Likewise.
19963         (fmod_test_data): Likewise.
19964         (fpclassify_test_data): Likewise.
19965         (frexp_test_data): Likewise.
19966         (hypot_test_data): Likewise.
19967         (ilogb_test_data): Likewise.
19968         (isgreater_test_data): Likewise.
19969         (isgreaterequal_test_data): Likewise.
19970         (isinf_test_data): Likewise.
19971         (isless_test_data): Likewise.
19972         (islessequal_test_data): Likewise.
19973         (islessgreater_test_data): Likewise.
19974         (isnan_test_data): Likewise.
19975         (isnormal_test_data): Likewise.
19976         (issignaling_test_data): Likewise.
19977         (isunordered_test_data): Likewise.
19978         (j0_test_data): Likewise.
19979         (j1_test_data): Likewise.
19980         (jn_test_data): Likewise.
19981         (lgamma_test_data): Likewise.
19982         (lrint_test_data): Likewise.
19983         (llrint_test_data): Likewise.
19984         (log_test_data): Likewise.
19985         (log10_test_data): Likewise.
19986         (log1p_test_data): Likewise.
19987         (log2_test_data): Likewise.
19988         (logb_test_data): Likewise.
19989         (lround_test_data): Likewise.
19990         (llround_test_data): Likewise.
19991         (modf_test_data): Likewise.
19992         (nearbyint_test_data): Likewise.
19993         (nextafter_test_data): Likewise.
19994         (nexttoward_test_data): Likewise.
19995         (pow_test_data): Likewise.
19996         (remainder_test_data): Likewise.
19997         (remquo_test_data): Likewise.
19998         (rint_test_data): Likewise.
19999         (round_test_data): Likewise.
20000         (signbit_test_data): Likewise.
20001         (sinh_test_data): Likewise.
20002         (sqrt_test_data): Likewise.
20003         (tanh_test_data): Likewise.
20004         (tgamma_test_data): Likewise.
20005         (trunc_test_data): Likewise.
20006         (y0_test_data): Likewise.
20007         (y1_test_data): Likewise.
20008         (yn_test_data): Likewise.
20009         (significand_test_data): Likewise.
20011 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
20013         * manual/filesys.texi (Storage Allocation): Document that
20014         posix_fallocate emulation fails when fd is open with O_WRONLY.
20016 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
20018         [BZ #19016]
20019         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20020         allow more cases with X^2 + Y^2 >= 0.5.
20021         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
20022         normal element in sum instead of special-casing based on values of
20023         arguments.
20024         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20025         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
20026         -1 as normal element in sum instead of special-casing based on
20027         values of arguments.
20028         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20029         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20030         (__x2y2m1): Update comment.
20031         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
20032         as normal element in sum instead of special-casing based on values
20033         of arguments.
20034         * math/s_clog.c (__clog): Handle more cases using log1p without
20035         hypot.
20036         * math/s_clog10.c (__clog10): Likewise.
20037         * math/s_clog10f.c (__clog10f): Likewise.
20038         * math/s_clog10l.c (__clog10l): Likewise.
20039         * math/s_clogf.c (__clogf): Likewise.
20040         * math/s_clogl.c (__clogl): Likewise.
20041         * math/auto-libm-test-in: Add more tests of clog and clog10.
20042         * math/auto-libm-test-out: Regenerated.
20043         * sysdeps/i386/fpu/libm-test-ulps: Update.
20044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20046 2015-09-28  Martin Sebor  <msebor@redhat.com>
20048         [BZ #18969]
20049         * string/Makefile (LOCALES): Define.
20050         (gen-locales.mk): Include.
20051         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20052         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20053         * string/tst-strxfrm2.c (do_test): Print the name of the locale
20054         on setlocale failure.
20056 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20058         [BZ #18985]
20059         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20060         (__strftime_internal): Likewise.
20061         * time/tst-strftime.c (do_bz18985): New test.
20062         (do_test): Call it.
20064 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
20066         [BZ #18956]
20067         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20068         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
20069         extracting high part.
20070         * math/auto-libm-test-in: Add another test of pow.
20071         * math/auto-libm-test-out: Regenerated.
20072         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20074 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20076         [BZ #18825]
20077         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20078         New macro.
20079         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20080         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20081         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20082         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20083         DBL_NARROW_EVAL, reloading the PIC register as needed.
20084         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20085         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20086         FLT_NARROW_EVAL.  Use separate return path for case when first
20087         argument is NaN.
20088         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
20089         DEFINE_LDBL_MIN.
20090         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20091         PIC register.
20092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20093         math_check_force_underflow_nonneg.
20094         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20095         underflow for subnormal result.
20096         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20097         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20098         math_check_force_underflow_nonneg.
20099         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20100         math_check_force_underflow.
20101         * sysdeps/x86_64/fpu/x86_64-math-asm.h
20102         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20103         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
20104         DEFINE_LDBL_MIN.
20105         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20106         * math/auto-libm-test-in: Add more tests of pow.
20107         * math/auto-libm-test-out: Regenerated.
20109 2015-09-25  Florian Weimer  <fweimer@redhat.com>
20111         * nss/bug17079.c (init_test_items): Add diagnostic for
20112         inconsistent entries.
20113         (test_buffer_size): Skip inconsistent entries.
20115 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20117         [BZ #13304]
20118         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20119         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20120         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20122         [BZ #13304]
20123         * sysdeps/microblaze/s_fma.c: New file.
20124         * sysdeps/microblaze/s_fmaf.c: Likewise.
20125         * sysdeps/microblaze/sfp-machine.h: Likewise.
20127 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
20129         [BZ #17250]
20130         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20131         member.
20133 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20135         [BZ #18803]
20136         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20137         (MO): New macro.
20138         (__ieee754_hypot) [PIC]: Load PIC register.
20139         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20140         DBL_NARROW_EVAL.
20141         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20142         math_check_force_underflow_nonneg in case where result might be
20143         tiny.
20144         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20145         Likewise.
20146         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20147         Likewise.
20148         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20149         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20150         * math/auto-libm-test-in: Add more tests of hypot.
20151         * math/auto-libm-test-out: Regenerated.
20153 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
20155         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20157 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20159         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20160         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20161         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20162         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20163         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20164         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20165         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20167         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20168         LOAD_PIC_REG.
20170         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20171         (FLT_CHECK_FORCE_UFLOW): Likewise.
20172         (DBL_CHECK_FORCE_UFLOW): Likewise.
20173         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20174         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20175         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20176         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20177         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20178         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20179         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20180         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20181         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20182         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20183         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20184         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20185         (flt_min): Replace with use of DEFINE_FLT_MIN.
20186         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20187         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20188         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20189         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20190         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20191         (flt_min): Replace with use of DEFINE_FLT_MIN.
20192         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20193         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20194         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20195         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20196         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20197         (flt_min): Replace with use of DEFINE_FLT_MIN.
20198         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20199         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20200         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20201         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20202         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20203         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20204         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20205         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20206         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20207         (__atan): Use DBL_CHECK_FORCE_UFLOW.
20208         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20209         (flt_min): Replace with use of DEFINE_FLT_MIN.
20210         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20211         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20212         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20213         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
20214         main computation.
20215         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20216         (flt_min): Replace with use of DEFINE_FLT_MIN.
20217         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
20218         main computation.
20219         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20220         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20221         (MO): New macro.
20222         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20223         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20224         (flt_min): Replace with use of DEFINE_FLT_MIN.
20225         (MO): New macro.
20226         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20227         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20228         (__log1pl): Use MO.
20230         [BZ #19003]
20231         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20232         $(config-cflags-nofma).
20234 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20236         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20238 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20240         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20241         (TWO127): Likewise.
20243         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20244         (min_of_type): Likewise.
20245         (math_check_force_underflow): Likewise.
20246         (math_check_force_underflow_nonneg): Likewise.
20247         (math_check_force_underflow_complex): Likewise.
20248         * math/e_exp2l.c (__ieee754_exp2l): Use
20249         math_check_force_underflow_nonneg.
20250         * math/k_casinh.c (__kernel_casinh): Likewise.
20251         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20252         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20253         * math/s_catan.c (__catan): Use
20254         math_check_force_underflow_complex.
20255         * math/s_catanf.c (__catanf): Likewise.
20256         * math/s_catanh.c (__catanh): Likewise.
20257         * math/s_catanhf.c (__catanhf): Likewise.
20258         * math/s_catanhl.c (__catanhl): Likewise.
20259         * math/s_catanl.c (__catanl): Likewise.
20260         * math/s_ccosh.c (__ccosh): Likewise.
20261         * math/s_ccoshf.c (__ccoshf): Likewise.
20262         * math/s_ccoshl.c (__ccoshl): Likewise.
20263         * math/s_cexp.c (__cexp): Likewise.
20264         * math/s_cexpf.c (__cexpf): Likewise.
20265         * math/s_cexpl.c (__cexpl): Likewise.
20266         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20267         * math/s_clog10.c (__clog10): Likewise.
20268         * math/s_clog10f.c (__clog10f): Likewise.
20269         * math/s_clog10l.c (__clog10l): Likewise.
20270         * math/s_clogf.c (__clogf): Likewise.
20271         * math/s_clogl.c (__clogl): Likewise.
20272         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20273         * math/s_csinf.c (__csinf): Likewise.
20274         * math/s_csinh.c (__csinh): Likewise.
20275         * math/s_csinhf.c (__csinhf): Likewise.
20276         * math/s_csinhl.c (__csinhl): Likewise.
20277         * math/s_csinl.c (__csinl): Likewise.
20278         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20279         * math/s_csqrtf.c (__csqrtf): Likewise.
20280         * math/s_csqrtl.c (__csqrtl): Likewise.
20281         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20282         * math/s_ctanf.c (__ctanf): Likewise.
20283         * math/s_ctanh.c (__ctanh): Likewise.
20284         * math/s_ctanhf.c (__ctanhf): Likewise.
20285         * math/s_ctanhl.c (__ctanhl): Likewise.
20286         * math/s_ctanl.c (__ctanl): Likewise.
20287         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20288         instead of volatile.
20289         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20290         math_check_force_underflow.
20291         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20292         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20293         volatile when forcing underflow.
20294         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20295         math_check_force_underflow_nonneg.
20296         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20297         Likewise.
20298         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20299         math_check_force_underflow.
20300         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20301         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20302         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20303         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20304         math_check_force_underflow_nonneg.
20305         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20306         math_check_force_underflow.
20307         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20308         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20309         instead of volatile.
20310         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20311         math_check_force_underflow.
20312         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20313         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20314         math_check_force_underflow_nonneg.
20315         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20316         math_check_force_underflow.
20317         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20318         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20319         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20320         math_check_force_underflow_nonneg.
20321         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20322         Likewise.
20323         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20324         math_check_force_underflow.
20325         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20326         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20327         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20328         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20329         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20330         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20331         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20332         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20333         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20334         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20335         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20336         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20337         Likewise.
20338         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20339         math_check_force_underflow_nonneg.
20340         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20341         Likewise.
20342         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20343         math_check_force_underflow.
20344         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20345         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20346         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20347         Likewise.
20348         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20349         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20350         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20351         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20352         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20353         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20355         instead of volatile.
20356         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20357         math_check_force_underflow.
20358         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20359         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20360         math_check_force_underflow.
20361         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20362         Likewise.
20363         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20364         Use math_check_force_underflow_nonneg.
20365         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20366         math_check_force_underflow.
20367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20368         Likewise.
20369         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20370         Likewise.
20371         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20372         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20373         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20374         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20375         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20376         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20377         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20378         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20379         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20380         math_check_force_underflow_nonneg.
20381         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20382         math_check_force_underflow.
20383         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20384         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20385         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20386         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20387         math_check_force_underflow_nonneg.
20388         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20389         math_check_force_underflow.
20390         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20392         instead of volatile.
20393         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20394         math_check_force_underflow.
20396         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20397         * stdlib/strtod_l.c: Include <math_private.h>.
20398         (overflow_value): Use math_narrow_eval.
20399         (underflow_value): Likewise.
20400         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20401         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20402         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20403         (__ieee754_gamma_r): Likewise.
20404         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20405         Likewise.
20406         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20407         Likewise.
20408         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20409         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20410         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20411         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20412         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20413         (__ieee754_gammaf_r): Likewise.
20414         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20415         Likewise.
20416         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20417         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20418         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20419         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20420         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20421         volatile.
20422         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20423         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20424         math_narrow_eval.
20425         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20426         Likewise.
20427         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20428         Likewise.
20429         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20430         Likewise.
20431         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20432         volatile.
20433         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20434         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20435         math_narrow_eval.
20436         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20437         Likewise.
20438         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20439         Likewise.
20441 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20443         * nptl/Versions: Remove ignored symbols.
20445 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20447         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20448         * nss/Makefile (tests): Update.
20450 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20452         * nss/bug18287.c: New file.
20453         * nss/Makefile (tests): Add bug18287.
20455 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20457         * mach/Versions (__mach_host_self_): Add symbol.
20459 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20461         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20462         vm_page_size.
20464 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20466         Really fix sysdeps/i386/fpu/s_scalbn.S build
20468         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20469         (libc: GLIBC_2_22): Remove unused version set.
20471 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20473         * config.make.in (enable-timezone-tools): New variable.
20474         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20475         (enable_timezone_tools): Export to generated files.
20476         * configure: Regenerate.
20477         * INSTALL: Regenerate.
20478         * manual/install.texi (--disable-timezone-tools): Document new flag.
20479         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20480         ifeq ($(enable-timezone-tools),yes) check.
20482 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20484         * timezone/Makefile: Revert previous change.
20486         [BZ #18980]
20487         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20488         (DEFINE_DBL_MIN): Likewise.
20489         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20490         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20491         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20492         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20493         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20494         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20495         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20496         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20497         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20498         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20499         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20500         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20501         (flt_min): Replace with use of DEFINE_FLT_MIN.
20502         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20503         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20504         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20505         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20506         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20507         (flt_min): Replace with use of DEFINE_FLT_MIN.
20508         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20509         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20510         (flt_min): Replace with use of DEFINE_FLT_MIN.
20511         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20512         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20513         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20514         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20515         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20516         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20517         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20518         (__ieee754_pow): Use DBL_NARROW_EVAL.
20519         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20520         (__ieee754_powf): Use FLT_NARROW_EVAL.
20521         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20522         (__ieee754_expf_sse2): Convert double-precision result to single
20523         precision.
20524         * sysdeps/i386/fpu/libm-test-ulps: Update.
20526 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20528         * timezone/Makefile: Ignore unused variable errors due to private.h
20529         (time_t_min) and (time_t_max).
20530         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20531         Likewise.
20533 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20535         [BZ #18981]
20536         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20537         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20538         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20539         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20540         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20541         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20542         (__scalbn): Use DBL_NARROW_EVAL.
20543         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20544         (__scalbnf): Use FLT_NARROW_EVAL.
20546 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20548         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20549         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20550         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20551         * stdio-common/printf_fp.c (___printf_fp):
20552         Use signbit to get the sign. Use isinf macro to allow inlining.
20553         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20554         * stdio-common/printf_size.c (__printf_size): Likewise.
20556 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20558         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20560 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20562         [BZ #18980]
20563         * sysdeps/generic/math_private.h: Include <float.h>.
20564         (math_narrow_eval): New macro.
20565         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20566         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20567         math_narrow_eval on overflowing return value.
20568         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20569         Likewise.
20570         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20571         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20572         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20573         Likewise.
20574         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20576 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20578         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20579         * math/Makefile: Remove isinf_ns.c.
20580         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20581         * math/multc3.c (__multc3): Likewise.
20582         * math/s_casin.c (__casin): Likewise.
20583         * math/s_casinf.c (__casinf): Likewise.
20584         * math/s_casinl.c (__casinl): Likewise.
20585         * math/s_cproj.c (__cproj): Likewise.
20586         * math/s_cprojf.c (__cprojf): Likewise.
20587         * math/s_cprojl.c (__cprofl): Likewise.
20588         * math/s_ctan.c (__ctan): Likewise.
20589         * math/s_ctanf.c (__ctanf): Likewise.
20590         * math/s_ctanh.c (__ctanh): Likewise.
20591         * math/s_ctanhf.c (__ctanhf): Likewise.
20592         * math/s_ctanhl.c (__ctanhl): Likewise.
20593         * math/s_ctanl.c (__ctanl): Likewise.
20594         * math/w_fmod.c (__fmod): Likewise.
20595         * math/w_fmodf.c (__fmodf): Likewise.
20596         * math/w_fmodl.c (_fmodl): Likewise.
20597         * math/w_remainder.c (__remainder): Likewise.
20598         * math/w_remainderf.c (__remainderf): Likewise.
20599         * math/w_remainderl.c (__remainderl): Likewise.
20600         * math/w_scalb.c (__scalb): Likewise.
20601         * math/w_scalbf.c (__scalbf): Likewise.
20602         * math/w_scalbl.c (__scalbl): Likewise.
20603         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20604         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20605         with isinf.
20606         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20607         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20608         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20609         __isinf_nsf with isinf.
20610         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20611         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20612         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20613         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20614         with isinf.
20615         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20616         __isinf_nsl with isinf.
20617         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20618         with isinf.
20619         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20620         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20621         __isinf_nsl with isinf.
20622         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20623         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20624         with isinf.
20626 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20628         * resolv/base64.c (rcsid): Remove unused static.
20629         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20630         static.  (tqpi1): Likewise.
20631         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20632         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20633         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20634         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20635         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20636         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20637         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20638         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20639         Likewise.
20641 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20643         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20644         <nptl/pthreadP.h>.
20645         (_longjmp_unwind): Use __libc_ptf_call.
20646         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20648 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20650         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20651         * sysdeps/arm/__longjmp.S: Likewise.
20653 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20655         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20656         Use __builtin_signbit.
20657         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20658         Use __builtin_signbitf.
20659         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20660         Use __builtin_signbitl.
20661         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20662         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20664 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20666         [BZ #15367]
20667         [BZ #17441]
20669         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20670         * math/math.h (fpclassify): Use __builtin_fpclassify when
20671         available.  (signbit): Use __builtin_signbit(f/l).
20672         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20673         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20674         (isinf): Use __builtin_isinf_sign.
20676 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20678         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20679         * benchtests/bench-math-inlines.c: New benchmark.
20680         * benchtests/bench-util.h: New file.
20681         * benchtests/bench-util.c: New file.
20682         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20684 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20686         * elf/tst-dlmopen1.c: Define TEST_SO.
20687         (do_test): Use TEST_SO.
20689         * elf/dl-load.c: Include libc-internal.h.
20690         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20692 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20694         [BZ #17887]
20695         * time/strptime_l.c (__strptime_internal): Make %z accept
20696         [+-]HH:MM time zones.
20698 2015-09-18  Vincent Bernat  <vincent@bernat.im>
20700         [BZ #17886]
20701         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20702         valid time zone.
20704 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
20706         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20707         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20708         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20709         (__ASSUME_FDATASYNC): Delete.
20711 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20713         * conform/linknamespace.pl: Require weak undefined symbols to be
20714         in the standard namespace.
20715         (%strong_syms): Rename to %seen_syms.
20716         (%strong_seen): Rename to %seen_where.
20718 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
20720         [BZ #18970]
20721         * misc/error.c (error): Replace pthread_setcancelstate with
20722         __pthread_setcancelstate.
20723         (error_at_line): Likewise.
20724         * posix/wordexp.c (parse_comm): Likewise.
20725         * stdlib/fmtmsg.c (fmtmsg): Likewise.
20726         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20727         (__pthread_setcancelstate): This.
20728         (pthread_setcancelstate): Add an alias.
20729         * nptl/nptl-init.c (pthread_functions): Replace
20730         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20731         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20732         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20733         hidden_proto.
20734         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20735         it with hidden_def.
20736         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20737         (pthread_setcancelstate): Renamed to ...
20738         (__pthread_setcancelstate): This.
20739         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20740         __libc_ptf_call with __pthread_setcancelstate.
20742 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20743             Andreas Schwab  <schwab@suse.de>
20745         [BZ #17118]
20746         * math/s_ctan.c (__ctan): Determine sign of zero real part of
20747         result when imaginary part of argument is infinite using sine and
20748         cosine.
20749         * math/s_ctanf.c (__ctanf): Likewise.
20750         * math/s_ctanl.c (__ctanl): Likewise.
20751         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20752         of result when real part of argument is infinite using sine and
20753         cosine.
20754         * math/s_ctanhf.c (__ctanhf): Likewise.
20755         * math/s_ctanhl.c (__ctanhl): Likewise.
20756         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20757         (ctanh_test_data): Add more tests of ctanh.
20759 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
20761         [BZ #15384]
20762         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20763         bit-mask as in subtraction.
20764         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20765         Likewise.
20766         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20767         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20768         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
20770         [BZ #18951]
20771         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
20772         underflow exception for small results.
20773         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20774         Likewise.
20775         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20776         Likewise.
20777         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20778         Likewise.
20779         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
20780         Likewise.
20781         * math/auto-libm-test-in: Add more tests of tgamma.
20782         * math/auto-libm-test-out: Regenerated.
20784 2015-09-17  Andreas Schwab  <schwab@suse.de>
20786         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
20788 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20790         [BZ #18977]
20791         * math/bits/mathcalls.h
20792         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
20793         not declare.
20794         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
20795         Likewise.
20796         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
20797         Likewise.
20798         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
20799         Likewise.
20800         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
20801         Likewise.
20802         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
20803         Likewise.
20804         * conform/data/math.h-data
20805         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
20806         function.
20807         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
20808         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
20809         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
20810         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
20811         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
20812         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
20813         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
20814         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
20815         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
20816         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
20817         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
20819         [BZ #6803]
20820         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
20821         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
20822         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
20823         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
20824         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
20825         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
20826         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
20827         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
20828         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20829         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
20830         Likewise.
20831         [NO_LONG_DOUBLE] (scalbnl): Likewise.
20832         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
20833         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
20834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
20835         long_double_symbol calls.
20836         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
20837         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
20838         strong alias of __ldexpl.
20839         (scalbnl): Define using long_double_symbol.
20840         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
20841         Remove alias.
20842         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
20843         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
20844         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
20845         (scalbln_test_data): Add more errno expectations.
20847 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
20849         Cache the host port like we cache the task port.  This way we do not
20850         need to call the kernel just to get the port.  Furthermore, we no
20851         longer increase the reference count on every invocation of
20852         `mach_host_self'.
20854         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
20855         Protect declarations against the macro expansion.
20856         * mach/mach_init.c (__mach_host_self_): New variable.
20857         (mach_init): Initialize `__mach_host_self_'.
20858         * mach/mach_init.h (__mach_host_self_): New declaration.
20859         (__mach_host_self, mach_host_self): New macros.
20860         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
20861         Release reference.
20863 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
20865         [BZ #4404]
20866         * po/de.po: Update from Translation Project.
20868         [BZ #16415]
20869         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
20870         (__expm1l): Remove code to handle positive infinity and overflow.
20871         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
20872         variable.
20873         (__expm1l): Remove code to handle positive infinity and overflow.
20875 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
20876             Paul Pluzhnikov  <ppluzhnikov@google.com>
20878         [BZ #18872]
20879         * stdio-common/Makefile (tst-printf-bz18872): New test.
20880         (tst-printf-bz18872-mem.out): Likewise.
20881         * stdio-common/tst-printf-bz18872.sh: Generate new test.
20882         * stdio-common/vfprintf.c: Fix memory leaks.
20884 2015-09-16  Andreas Schwab  <schwab@suse.de>
20886         [BZ #17244]
20887         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
20888         Remove extra va_start/va_end calls.
20890         [BZ #17243]
20891         * posix/execl.c (execl): Add missing va_end.
20892         * posix/execle.c (execle): Likewise.
20893         * posix/execlp.c (execlp): Likewise.
20895 2015-09-15  Roland McGrath  <roland@hack.frob.com>
20897         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
20898         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
20900 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
20902         [BZ #18967]
20903         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
20904         undefine around includes of <bits/mathcalls.h>.
20905         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
20906         not declare function.
20907         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
20908         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
20909         (scalb): Likewise.
20910         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
20911         not define macro.
20912         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
20913         variable.
20914         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
20915         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
20916         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
20918         [BZ #18857]
20919         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
20920         return non-finite argument without doing ordered comparisons on
20921         it.
20923         [BZ #16296]
20924         * math/fenv.h (fegetround): Use __attribute_pure__.
20925         * include/fenv.h (__fegetround): Likewise.
20927         [BZ #18595]
20928         * math/s_ctan.c (__ctan): Force underflow exception for results
20929         whose real or imaginary part has small absolute value.
20930         * math/s_ctanf.c (__ctanf): Likewise.
20931         * math/s_ctanh.c (__ctanh): Likewise.
20932         * math/s_ctanhf.c (__ctanhf): Likewise.
20933         * math/s_ctanhl.c (__ctanhl): Likewise.
20934         * math/s_ctanl.c (__ctanl): Likewise.
20935         * math/auto-libm-test-in: Do not allow missing underflow for ctan
20936         and ctanh.  Add more tests of ctan and ctanh.
20938         [BZ #15918]
20939         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
20940         handling of cases where one argument is an infinity.
20942         [BZ #18875]
20943         [BZ #18966]
20944         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
20945         (MO): New macro.
20946         (__ieee754_exp10): For small results, force underflow exception
20947         and remove excess range and precision from return value.
20948         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
20949         (MO): New macro.
20950         (__ieee754_exp10f): For small results, force underflow exception
20951         and remove excess range and precision from return value.
20952         * math/auto-libm-test-in: Add more tests of exp10.
20953         * math/auto-libm-test-out: Regenerated.
20955 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
20957         [BZ #18875]
20958         [BZ #18961]
20959         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
20960         (MO): New macro.
20961         (__ieee754_exp): For small results, force underflow exception and
20962         remove excess range and precision from return value.
20963         (__exp_finite): Likewise.
20964         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
20965         (MO): New macro.
20966         (__ieee754_expf): For small results, force underflow exception and
20967         remove excess range and precision from return value.
20968         (__expf_finite): Likewise.
20969         * math/auto-libm-test-in: Add more tests of exp.
20970         * math/auto-libm-test-out: Regenerated.
20972         [BZ #16521]
20973         [BZ #18875]
20974         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
20975         small results.
20976         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
20977         (MO): New macro.
20978         (__ieee754_exp2): For small results, force underflow exception and
20979         remove excess range and precision from return value.
20980         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
20981         (MO): New macro.
20982         (__ieee754_exp2f): For small results, force underflow exception
20983         and remove excess range and precision from return value.
20984         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
20985         (MO): New macro.
20986         (__ieee754_exp2l): Force underflow exception for small results.
20987         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
20988         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20989         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
20990         (MO): New macro.
20991         (__ieee754_exp2l): Force underflow exception for small results.
20992         * math/auto-libm-test-in: Add more tests or exp2.
20993         * math/auto-libm-test-out: Regenerated.
20995 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
20997         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
20999         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21000         /dev/null.
21002 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21004         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21005         io fs process)): Drop spurious backslash.
21007 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21009         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21010         Use sysinfo system call instead of parsing /proc/meminfo.
21011         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21012         Likewise.
21014 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
21016         [BZ #16985]
21017         * programs/localedef.c (main): Display argv[remaining] when
21018         output_path is NULL.
21020 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21022         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21023         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21024         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21025         tanh.
21026         * math/auto-libm-test-out: Regenerated.
21027         * sysdeps/i386/fpu/libm-test-ulps: Update.
21028         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21029         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21032 2015-09-11  Roland McGrath  <roland@hack.frob.com>
21034         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21035         Use 'override' keyword to freeze the value here, preventing
21036         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21038 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21040         [BZ #14912]
21041         * sysdeps/aarch64/bits/atomic.h: Move to ...
21042         * sysdeps/aarch64/atomic-machine.h: ...here.
21043         (_AARCH64_BITS_ATOMIC_H): Rename macro to
21044         _AARCH64_ATOMIC_MACHINE_H.
21045         * sysdeps/alpha/bits/atomic.h: Move to ...
21046         * sysdeps/alpha/atomic-machine.h: ...here.
21047         * sysdeps/arm/bits/atomic.h: Move to ...
21048         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
21049         * bits/atomic.h: Move to ...
21050         * sysdeps/generic/atomic-machine.h: ...here.
21051         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21052         * sysdeps/i386/bits/atomic.h: Move to ...
21053         * sysdeps/i386/atomic-machine.h: ...here.
21054         * sysdeps/ia64/bits/atomic.h: Move to ...
21055         * sysdeps/ia64/atomic-machine.h: ...here.
21056         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21057         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21058         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21059         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21060         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21061         * sysdeps/microblaze/bits/atomic.h: Move to ...
21062         * sysdeps/microblaze/atomic-machine.h: ...here.
21063         * sysdeps/mips/bits/atomic.h: Move to ...
21064         * sysdeps/mips/atomic-machine.h: ...here.
21065         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21066         * sysdeps/powerpc/bits/atomic.h: Move to ...
21067         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
21068         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21069         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
21070         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
21071         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21072         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
21073         <atomic-machine.h> instead of <bits/atomic.h>.
21074         * sysdeps/s390/bits/atomic.h: Move to ...
21075         * sysdeps/s390/atomic-machine.h: ...here.
21076         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21077         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21078         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21079         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21080         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21081         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21082         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21083         * sysdeps/tile/bits/atomic.h: Move to ...
21084         * sysdeps/tile/atomic-machine.h: ...here.
21085         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21086         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
21087         <sysdeps/tile/atomic-machine.h> instead of
21088         <sysdeps/tile/bits/atomic.h>.
21089         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21090         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21091         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
21092         <sysdeps/tile/atomic-machine.h> instead of
21093         <sysdeps/tile/bits/atomic.h>.
21094         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21095         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21096         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
21097         <sysdeps/arm/atomic-machine.h> instead of
21098         <sysdeps/arm/bits/atomic.h>.
21099         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21100         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21101         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21102         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21103         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21104         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21105         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21106         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21107         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21108         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21109         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21110         * sysdeps/x86_64/bits/atomic.h: Move to ...
21111         * sysdeps/x86_64/atomic-machine.h: ...here.
21112         * include/atomic.h: Include <atomic-machine.h> instead of
21113         <bits/atomic.h>.
21115         * sysdeps/mips/mips32/libm-test-ulps: Update.
21116         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21118         [BZ #18952]
21119         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21120         not convert non-integer negative arguments to int to determine the
21121         value of signgam.
21122         * math/auto-libm-test-in: Add more tests of lgamma.
21123         * math/auto-libm-test-out: Regenerated.
21125         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21126         cosh, csqrt, erfc, expm1 and lgamma.
21127         * math/auto-libm-test-out: Regenerated.
21128         * sysdeps/i386/fpu/libm-test-ulps: Update.
21129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21131 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
21133         [BZ #2542]
21134         [BZ #2543]
21135         [BZ #2558]
21136         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21137         __lgamma_neg for arguments from -28.0 to -2.0.
21138         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21139         __lgamma_negf for arguments from -15.0 to -2.0.
21140         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21141         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21143         Call __lgamma_negl for arguments from -33.0 to -2.0.
21144         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21145         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21146         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21147         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21148         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21149         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21150         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21151         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21152         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21153         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21154         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21155         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21156         (__lgamma_neg): Likewise.
21157         (__lgamma_negl): Likewise.
21158         (__lgamma_product): Likewise.
21159         (__lgamma_productl): Likewise.
21160         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21161         * math/auto-libm-test-in: Add more tests of lgamma.
21162         * math/auto-libm-test-out: Regenerated.
21163         * sysdeps/i386/fpu/libm-test-ulps: Update.
21164         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21166 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
21168         [BZ #18675]
21169         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21171 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
21173         [BZ #14912]
21174         * bits/libc-lock.h: Move to ...
21175         * sysdeps/generic/libc-lock.h: ...here.
21176         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21177         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21178         * sysdeps/mach/hurd/libc-lock.h: ...here.
21179         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21180         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21181         * sysdeps/mach/bits/libc-lock.h: Move to ...
21182         * sysdeps/mach/libc-lock.h: ...here.
21183         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21184         * sysdeps/nptl/bits/libc-lock.h: Move to ...
21185         * sysdeps/nptl/libc-lock.h: ...here.
21186         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21187         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21188         * sysdeps/nptl/libc-lockP.h: ...here.
21189         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21190         * crypt/crypt_util.c: Include <libc-lock.h> instead of
21191         <bits/libc-lock.h>.
21192         * dirent/scandir-tail.c: Likewise.
21193         * dlfcn/dlerror.c: Likewise.
21194         * elf/dl-close.c: Likewise.
21195         * elf/dl-iteratephdr.c: Likewise.
21196         * elf/dl-lookup.c: Likewise.
21197         * elf/dl-open.c: Likewise.
21198         * elf/dl-support.c: Likewise.
21199         * elf/dl-writev.h: Likewise.
21200         * elf/rtld.c: Likewise.
21201         * grp/fgetgrent.c: Likewise.
21202         * gshadow/fgetsgent.c: Likewise.
21203         * gshadow/sgetsgent.c: Likewise.
21204         * iconv/gconv_conf.c: Likewise.
21205         * iconv/gconv_db.c: Likewise.
21206         * iconv/gconv_dl.c: Likewise.
21207         * iconv/gconv_int.h: Likewise.
21208         * iconv/gconv_trans.c: Likewise.
21209         * include/link.h: Likewise.
21210         * inet/getnameinfo.c: Likewise.
21211         * inet/getnetgrent.c: Likewise.
21212         * inet/getnetgrent_r.c: Likewise.
21213         * intl/bindtextdom.c: Likewise.
21214         * intl/dcigettext.c: Likewise.
21215         * intl/finddomain.c: Likewise.
21216         * intl/gettextP.h: Likewise.
21217         * intl/loadmsgcat.c: Likewise.
21218         * intl/localealias.c: Likewise.
21219         * intl/textdomain.c: Likewise.
21220         * libidn/idn-stub.c: Likewise.
21221         * libio/libioP.h: Likewise.
21222         * locale/duplocale.c: Likewise.
21223         * locale/freelocale.c: Likewise.
21224         * locale/newlocale.c: Likewise.
21225         * locale/setlocale.c: Likewise.
21226         * login/getutent_r.c: Likewise.
21227         * login/getutid_r.c: Likewise.
21228         * login/getutline_r.c: Likewise.
21229         * login/utmp-private.h: Likewise.
21230         * login/utmpname.c: Likewise.
21231         * malloc/mtrace.c: Likewise.
21232         * misc/efgcvt.c: Likewise.
21233         * misc/error.c: Likewise.
21234         * misc/fstab.c: Likewise.
21235         * misc/getpass.c: Likewise.
21236         * misc/mntent.c: Likewise.
21237         * misc/syslog.c: Likewise.
21238         * nis/nis_call.c: Likewise.
21239         * nis/nis_callback.c: Likewise.
21240         * nis/nss-default.c: Likewise.
21241         * nis/nss_compat/compat-grp.c: Likewise.
21242         * nis/nss_compat/compat-initgroups.c: Likewise.
21243         * nis/nss_compat/compat-pwd.c: Likewise.
21244         * nis/nss_compat/compat-spwd.c: Likewise.
21245         * nis/nss_nis/nis-alias.c: Likewise.
21246         * nis/nss_nis/nis-ethers.c: Likewise.
21247         * nis/nss_nis/nis-grp.c: Likewise.
21248         * nis/nss_nis/nis-hosts.c: Likewise.
21249         * nis/nss_nis/nis-network.c: Likewise.
21250         * nis/nss_nis/nis-proto.c: Likewise.
21251         * nis/nss_nis/nis-pwd.c: Likewise.
21252         * nis/nss_nis/nis-rpc.c: Likewise.
21253         * nis/nss_nis/nis-service.c: Likewise.
21254         * nis/nss_nis/nis-spwd.c: Likewise.
21255         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21256         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21257         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21258         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21259         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21260         * nis/nss_nisplus/nisplus-network.c: Likewise.
21261         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21262         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21263         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21264         * nis/nss_nisplus/nisplus-service.c: Likewise.
21265         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21266         * nis/ypclnt.c: Likewise.
21267         * nptl/libc_pthread_init.c: Likewise.
21268         * nss/getXXbyYY.c: Likewise.
21269         * nss/getXXent.c: Likewise.
21270         * nss/getXXent_r.c: Likewise.
21271         * nss/nss_db/db-XXX.c: Likewise.
21272         * nss/nss_db/db-netgrp.c: Likewise.
21273         * nss/nss_db/nss_db.h: Likewise.
21274         * nss/nss_files/files-XXX.c: Likewise.
21275         * nss/nss_files/files-alias.c: Likewise.
21276         * nss/nsswitch.c: Likewise.
21277         * posix/regex_internal.h: Likewise.
21278         * posix/wordexp.c: Likewise.
21279         * pwd/fgetpwent.c: Likewise.
21280         * resolv/res_hconf.c: Likewise.
21281         * resolv/res_libc.c: Likewise.
21282         * shadow/fgetspent.c: Likewise.
21283         * shadow/lckpwdf.c: Likewise.
21284         * shadow/sgetspent.c: Likewise.
21285         * socket/opensock.c: Likewise.
21286         * stdio-common/reg-modifier.c: Likewise.
21287         * stdio-common/reg-printf.c: Likewise.
21288         * stdio-common/reg-type.c: Likewise.
21289         * stdio-common/vfprintf.c: Likewise.
21290         * stdio-common/vfscanf.c: Likewise.
21291         * stdlib/abort.c: Likewise.
21292         * stdlib/cxa_atexit.c: Likewise.
21293         * stdlib/fmtmsg.c: Likewise.
21294         * stdlib/random.c: Likewise.
21295         * stdlib/setenv.c: Likewise.
21296         * string/strsignal.c: Likewise.
21297         * sunrpc/auth_none.c: Likewise.
21298         * sunrpc/bindrsvprt.c: Likewise.
21299         * sunrpc/create_xid.c: Likewise.
21300         * sunrpc/key_call.c: Likewise.
21301         * sunrpc/rpc_thread.c: Likewise.
21302         * sysdeps/arm/backtrace.c: Likewise.
21303         * sysdeps/generic/ldsodefs.h: Likewise.
21304         * sysdeps/generic/stdio-lock.h: Likewise.
21305         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21306         * sysdeps/i386/backtrace.c: Likewise.
21307         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21308         * sysdeps/m68k/backtrace.c: Likewise.
21309         * sysdeps/mach/hurd/cthreads.c: Likewise.
21310         * sysdeps/mach/hurd/dirstream.h: Likewise.
21311         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21312         * sysdeps/nptl/malloc-machine.h: Likewise.
21313         * sysdeps/nptl/stdio-lock.h: Likewise.
21314         * sysdeps/posix/dirstream.h: Likewise.
21315         * sysdeps/posix/getaddrinfo.c: Likewise.
21316         * sysdeps/posix/system.c: Likewise.
21317         * sysdeps/pthread/aio_suspend.c: Likewise.
21318         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21319         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21320         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21321         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21322         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21323         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21324         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21325         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21326         * sysdeps/unix/sysv/linux/system.c: Likewise.
21327         * sysdeps/x86_64/backtrace.c: Likewise.
21328         * time/alt_digit.c: Likewise.
21329         * time/era.c: Likewise.
21330         * time/tzset.c: Likewise.
21331         * wcsmbs/wcsmbsload.c: Likewise.
21332         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21333         instead of <bits/libc-lock.h> in comment.
21335 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21337         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21338         Only use .set mips2 if the current ISA is below mips2.
21339         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21340         Likewise.
21341         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21342         mips32r2 if the current ISA is below mips32r2.
21343         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21344         (TLS_IE): Updated to use the TLD_RDHWR macro.
21345         (TLS_LE): Likewise.
21346         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21347         __ASSEMBLER__ condition.
21349 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21351         Fix parallel build of before-compile targets.
21353         * sysdeps/mach/Makefile ($(patsubst
21354         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21355         mach-before-compile target.
21356         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21357         io fs process)): Move rule to dedicated hurd-before-compile target.
21359 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21361         Fix rules generating headers in hurd/ and mach/ when initial make call
21362         has subdir= explicitly set.
21364         * sysdeps/mach/Makefile ($(patsubst
21365         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21366         calling $(MAKE).
21367         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21368         io fs process)): Force subdir to hurd when calling $(MAKE).
21369         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21370         subdir to mach when calling $(MAKE).
21372 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21374         Check sysheaders when looking for Mach and Hurd headers
21376         * sysdeps/mach/configure.ac: Add sysheaders check.
21377         * sysdeps/mach/configure: Regenerate.
21378         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21379         * sysdeps/mach/hurd/configure: Regenerate.
21381 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21383         [BZ #18921]
21384         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21385         Fix inverted sense of test of 'o_directory_works' value.
21386         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21387         Bernhard Voelker <mail@bernhard-voelker.de>.
21389 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21391         [BZ #14912]
21392         * bits/linkmap.h: Move to ...
21393         * sysdeps/generic/linkmap.h: ...here.
21394         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21395         * sysdeps/aarch64/linkmap.h: ...here.
21396         * sysdeps/arm/bits/linkmap.h: Move to ...
21397         * sysdeps/arm/linkmap.h: ...here.
21398         * sysdeps/hppa/bits/linkmap.h: Move to ...
21399         * sysdeps/hppa/linkmap.h: ...here.
21400         * sysdeps/ia64/bits/linkmap.h: Move to ...
21401         * sysdeps/ia64/linkmap.h: ...here.
21402         * sysdeps/mips/bits/linkmap.h: Move to ...
21403         * sysdeps/mips/linkmap.h: ...here.
21404         * sysdeps/s390/bits/linkmap.h: Move to ...
21405         * sysdeps/s390/linkmap.h: ...here.
21406         * sysdeps/sh/bits/linkmap.h: Move to ...
21407         * sysdeps/sh/linkmap.h: ...here.
21408         * sysdeps/x86/bits/linkmap.h: Move to ...
21409         * sysdeps/x86/linkmap.h: ...here.
21410         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21412 2015-09-04  Andreas Schwab  <schwab@suse.de>
21414         [BZ #18635]
21415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21416         (__makecontext): Terminate FDE before return label.
21417         (__novec_makecontext): Likewise.
21419 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21421         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21422         first member of struct sv in syscall macro.
21424 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21426         [BZ #14912]
21427         * bits/stdio-lock.h: Move to ...
21428         * sysdeps/generic/stdio-lock.h: ...here.
21429         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21430         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21431         * sysdeps/nptl/stdio-lock.h: ...here.
21432         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21433         * include/libio.h: Include <stdio-lock.h> instead of
21434         <bits/stdio-lock.h>.
21435         * sysdeps/nptl/fork.c: Likewise.
21436         * sysdeps/pthread/flockfile.c: Likewise.
21437         * sysdeps/pthread/ftrylockfile.c: Likewise.
21438         * sysdeps/pthread/funlockfile.c: Likewise.
21440         [BZ #14912]
21441         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21442         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21443         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21444         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21445         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21446         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21447         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21449 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21451         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21452         (test-xfail-tst-protected1b): New variable.
21454 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21456         [BZ #14912]
21457         * bits/libc-tsd.h: Move to ...
21458         * sysdeps/generic/libc-tsd.h: ...here.
21459         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21460         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21461         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21462         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21463         * include/ctype.h: Include <libc-tsd.h> instead of
21464         <bits/libc-tsd.h>.
21465         * include/rpc/rpc.h: Likewise.
21466         * locale/localeinfo.h: Likewise.
21467         * sunrpc/rpc_thread.c: Likewise.
21468         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21469         * sysdeps/nptl/malloc-machine.h: Likewise.
21471         * Makefile (headers): Remove bits/libc-lock.h.
21472         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21474         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21475         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21476         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21477         <bits/stdio-lock.h>.
21478         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21479         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21481 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21483         [BZ #18757]
21484         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21485         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21486         BZ #18757.
21488 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21490         * malloc/mtrace.pl: Filter out NULL entries.
21492 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21494         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21495         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21496         macro.
21498         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21499         (TCP_CC_INFO): Likewise.
21500         (TCP_SAVE_SYN): Likewise.
21501         (TCP_SAVED_SYN): Likewise.
21503 2015-08-31  Brett Neumeier <brett@neumeier.us>
21505         [BZ #18870]
21506         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21508 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21510         [BZ #18873]
21511         Fix broken overflow check in posix_fallocate
21512         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21513         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21514         Fix parenthesization typo.
21516 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21518         [BZ #18887]
21519         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21520         tst-mntent-blank-passno.
21521         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21522         * misc/tst-mntent-blank-corrupt.c: New test.
21523         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21524         * misc/tst-mntent.c (do_test): ... here.
21526 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21528         [BZ #4404]
21529         * po/de.po: Fix SIGALRM typo.
21531 2015-08-28  James Perkins  <james@loowit.net>
21533         * time/tst-strptime2.c (tests): Replace short list of test
21534         strings for strptime %z specifier with code which exhaustively
21535         tests every combination of sign and 0 to 5 digits. Tests for
21536         rejection of invalid strings.
21538 2015-08-28  James Perkins  <james@loowit.net>
21540         [BZ #16141]
21541         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21542         calculation, removing incorrect decimal time rounding, so that
21543         all minute values result in a valid seconds value.
21544         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21545         offset range limits to UTC-99:59 through UTC+99:59 to parse
21546         current and historical use cases.
21547         * time/tst-strptime2.c (tests): Modify and add tests for the
21548         strptime %z input field descriptor, specifically conversion of
21549         minutes to seconds and validating an offset range of -9959 to
21550         +9959.
21552 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21553             Dmitry V. Levin  <ldv@altlinux.org>
21555         [BZ #18877]
21556         * posix/Makefile (tests): Add tst-mmap-offset.
21557         * posix/tst-mmap.c: New file.
21558         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21559         offset calculation for negative values.
21561 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21563         * sysdeps/i386/init-arch.h: New file.
21564         * sysdeps/i386/i586/init-arch.h: Likewise.
21565         * sysdeps/i386/i686/init-arch.h: Likewise.
21566         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21567         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21568         * sysdeps/x86/cpu-features.h (bit_I586): New.
21569         (bit_I686): Likewise.
21570         (bit_CX8): Likewise.
21571         (bit_CMOV): Likewise.
21572         (index_CX8): Likewise.
21573         (index_CMOV): Likewise.
21574         (index_I586): Likewise.
21575         (index_I686): Likewise.
21576         (reg_CX8): Likewise.
21577         (reg_CMOV): Likewise.
21578         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21579         available at compile-time.
21580         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21581         available at compile-time.
21582         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21583         (USE_I686): Likewise.
21585 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21587         * sysdeps/i386/bcopy.S: New file.
21588         * sysdeps/i386/bzero.S: Likewise.
21589         * sysdeps/i386/memcpy.S: Likewise.
21590         * sysdeps/i386/memmove.S: Likewise.
21591         * sysdeps/i386/mempcpy.S: Likewise.
21592         * sysdeps/i386/memset.S: Likewise.
21593         * sysdeps/i386/bzero.c: Removed.
21594         * sysdeps/i386/memset.c: Likewise.
21595         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21596         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21597         * sysdeps/i386/i586/memset_chk.S: Likewise.
21598         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21599         * sysdeps/i386/memcpy_chk.S: Here.
21600         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21601         * sysdeps/i386/memmove_chk.S: Here.
21602         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21603         * sysdeps/i386/mempcpy_chk.S: Likewise.
21604         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21605         * sysdeps/i386/memset_chk.S: Likewise.
21607 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21609         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21610         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21611         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21612         * soft-fp/fmadf4.c: Ditto.
21613         * soft-fp/fmatf4.c: Ditto.
21615 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21617         * sysdeps/i386/i586/Implies: Removed.
21618         * sysdeps/i386/i686/Implies: Likewise.
21620 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21622         * sysdeps/i386/i486/strlen.S: Moved to ...
21623         * sysdeps/i386/strlen.S: Here.
21625 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21627         * sysdeps/i386/i486/strcat.S: Moved to ...
21628         * sysdeps/i386/strcat.S: Here.
21630 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21632         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21633         * sysdeps/i386/pthread_spin_trylock.S: Here.
21634         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21635         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21637 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21639         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21640         * sysdeps/i386/string-inlines.c: Here.
21642 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21644         * sysdeps/i386/i486/htonl.S: Moved ...
21645         * sysdeps/i386/htonl.S: here.
21647 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21649         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21650         * sysdeps/i386/bits/atomic.h: Here.
21652 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21654         * sysdeps/i386/i486/Versions: Removed.
21656 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21658         [BZ #2898]
21659         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21660         Based on patch by Aurelien Jarno.
21662 2015-08-26  Stan Shebs  <stanshebs@google.com>
21664         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21665         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21667 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21669         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21670         * sysdeps/powerpc/dl-procinfo.c:
21671         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21672         feature so it shows when LD_SHOW_AUXV=1.
21674 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21676         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21677         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21678         definition.  ISA 2.07B no longer requires full sync.
21680 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21682         [BZ #18863]
21683         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21684         (si_call_addr): Define.
21685         (si_syscall): Define.
21686         (si_arch): Define.
21688 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21690         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21691         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21692         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21693         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21694         (__memset_zero_constant_len_parameter): New.
21695         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21696         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21697         (__memset_zero_constant_len_parameter): Don't define if
21698         __memset_chk or USE_AS_BZERO are defined.
21700         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21701         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21702         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21704         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21705         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21706         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21707         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
21708         comments.
21709         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21710         -mno-mmx for $(all-rtld-routines).
21711         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21712         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
21713         i386.
21715 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
21717         * sysdeps/generic/unwind.h
21718         (_Unwind_Word): Use __mode__(__unwind_word__)
21719         instead of __mode__(__word__).
21720         (_Unwind_Sword): Likewise.
21722         * sysdeps/s390/s390-64/utf8-utf16-z9.c
21723         (MAX_NEEDED_INPUT): New define.
21724         (MAX_NEEDED_OUTPUT): New define.
21726         * NEWS: New item for IBM z13 string optimizations.
21728         * sysdeps/s390/multiarch/memrchr-c.c: New File.
21729         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21730         * sysdeps/s390/multiarch/memrchr.c: Likewise.
21731         * sysdeps/s390/multiarch/Makefile
21732         (sysdep_routines): Add memrchr functions.
21733         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21734         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21736         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21737         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21738         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21739         * sysdeps/s390/multiarch/Makefile
21740         (sysdep_routines): Add wmemcmp functions.
21741         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21742         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21743         * benchtests/bench-wmemcmp.c: New File.
21744         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21746         * sysdeps/s390/multiarch/wmemset-c.c: New File.
21747         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21748         * sysdeps/s390/multiarch/wmemset.c: Likewise.
21749         * sysdeps/s390/multiarch/Makefile
21750         (sysdep_routines): Add wmemset functions.
21751         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21752         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21753         * wcsmbs/wmemset.c: Use WMEMSET if defined.
21754         * string/test-memset.c: Add wmemset support.
21755         * wcsmbs/test-wmemset.c: New File.
21756         * wcsmbs/Makefile (strop-tests): Add wmemset.
21757         * benchtests/bench-memset.c: Add wmemset support.
21758         * benchtests/bench-wmemset.c: New File.
21759         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21761         * sysdeps/s390/multiarch/memccpy-c.c: New File.
21762         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21763         * sysdeps/s390/multiarch/memccpy.c: Likewise.
21764         * sysdeps/s390/multiarch/Makefile
21765         (sysdep_routines): Add memccpy functions.
21766         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21767         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21768         * string/memccpy.c: Use MEMCCPY if defined.
21770         * sysdeps/s390/multiarch/memchr-vx.S: New File.
21771         * sysdeps/s390/multiarch/memchr.c: Likewise.
21772         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
21773         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
21774         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
21775         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
21776         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
21777         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
21778         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
21779         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
21780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
21781         and rawmemchr functions.
21782         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21783         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
21784         and wmemchr.
21785         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
21786         * string/test-memchr.c: Add wmemchr support.
21787         * wcsmbs/test-wmemchr.c: New File.
21788         * wcsmbs/Makefile (strop-tests): Add wmemchr.
21789         * benchtests/bench-memchr.c: Add wmemchr support.
21790         * benchtests/bench-wmemchr.c: New File.
21791         * benchtests/Makefile (wcsmbs-bench): wmemchr.
21793         * sysdeps/s390/multiarch/strcspn-c.c: New File.
21794         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
21795         * sysdeps/s390/multiarch/strcspn.c: Likewise.
21796         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
21797         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
21798         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
21799         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
21800         wcscspn functions.
21801         * sysdeps/s390/multiarch/ifunc-impl-list.c
21802         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
21803         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
21804         * string/test-strcspn.c: Add wcscspn support.
21805         * wcsmbs/test-wcscspn.c: New File.
21806         * wcsmbs/Makefile (strop-tests): Add wcscspn.
21807         * benchtests/bench-strcspn.c: Add wcscspn support.
21808         * benchtests/bench-wcscspn.c: New File.
21809         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
21811         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
21812         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
21813         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
21814         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
21815         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
21816         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
21817         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
21818         wcspbrk functions.
21819         * sysdeps/s390/multiarch/ifunc-impl-list.c
21820         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
21821         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
21822         * string/test-strpbrk.c: Add wcspbrk support.
21823         * wcsmbs/test-wcspbrk.c: New File.
21824         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
21825         * benchtests/bench-strpbrk.c: Add wcspbrk support.
21826         * benchtests/bench-wcspbrk.c: New File.
21827         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
21829         * sysdeps/s390/multiarch/strspn-c.c: New File.
21830         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
21831         * sysdeps/s390/multiarch/strspn.c: Likewise.
21832         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
21833         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
21834         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
21835         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
21836         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
21837         wcsspn functions.
21838         * sysdeps/s390/multiarch/ifunc-impl-list.c
21839         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
21840         * string/test-strspn.c: Add wcsspn support.
21841         * wcsmbs/test-wcsspn.c: New File.
21842         * wcsmbs/Makefile (strop-tests): Add wcsspn.
21843         * benchtests/bench-strspn.c: Add wcsspn support.
21844         * benchtests/bench-wcsspn.c: New File.
21845         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
21847         * sysdeps/s390/multiarch/strrchr-c.c: New File.
21848         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
21849         * sysdeps/s390/multiarch/strrchr.c: Likewise.
21850         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
21851         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
21852         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
21853         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
21854         wcsrchr functions.
21855         * sysdeps/s390/multiarch/ifunc-impl-list.c
21856         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
21857         * benchtests/bench-wcsrchr.c: New File.
21858         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
21860         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
21861         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
21862         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
21863         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
21864         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
21865         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
21866         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
21867         wcschrnul functions.
21868         * sysdeps/s390/multiarch/ifunc-impl-list.c
21869         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
21870         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
21871         * string/test-strchr.c: Add wcschrnul support.
21872         * wcsmbs/test-wcschrnul.c: New File.
21873         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
21874         * benchtests/bench-strchr.c: Add wcschrnul support.
21875         * benchtests/bench-wcschrnul.c: New File.
21876         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
21878         * sysdeps/s390/multiarch/strchr-c.c: New File.
21879         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
21880         * sysdeps/s390/multiarch/strchr.c: Likewise.
21881         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
21882         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
21883         * sysdeps/s390/multiarch/wcschr.c: Likewise.
21884         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
21885         wcschr functions.
21886         * sysdeps/s390/multiarch/ifunc-impl-list.c
21887         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
21888         * string/strchr.c (STRCHR): Define and use macro.
21889         * benchtests/bench-wcschr.c: New File.
21890         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
21892         * sysdeps/s390/multiarch/strncmp-c.c: New File.
21893         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
21894         * sysdeps/s390/multiarch/strncmp.c: Likewise.
21895         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
21896         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
21897         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
21898         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
21899         wcsncmp functions.
21900         * sysdeps/s390/multiarch/ifunc-impl-list.c
21901         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
21902         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
21903         * benchtests/bench-strncmp.c: Add wcsncmp support.
21904         * benchtests/bench-wcsncmp.c: New File.
21905         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
21907         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
21908         * sysdeps/s390/multiarch/strcmp.c: Likewise.
21909         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
21910         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
21911         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
21912         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
21913         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
21914         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
21915         wcscmp functions.
21916         * sysdeps/s390/multiarch/ifunc-impl-list.c
21917         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
21918         * string/strcmp.c (STRCMP): Define and use macro.
21919         * benchtests/bench-wcscmp.c: New File.
21920         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
21921         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
21922         instead of _HAVE_STRING_ARCH_memchr.
21924         * sysdeps/s390/multiarch/strncat-c.c: New File.
21925         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
21926         * sysdeps/s390/multiarch/strncat.c: Likewise.
21927         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
21928         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
21929         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
21930         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
21931         wcsncat functions.
21932         * sysdeps/s390/multiarch/ifunc-impl-list.c
21933         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
21934         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
21935         * string/test-strncat.c: Add wcsncat support.
21936         * wcsmbs/test-wcsncat.c: New File.
21937         * wcsmbs/Makefile (strop-tests): Add wcsncat.
21938         * benchtests/bench-strncat.c: Add wcsncat support.
21939         * benchtests/bench-wcsncat.c: New File.
21940         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
21942         * sysdeps/s390/multiarch/strcat-c.c: New File.
21943         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
21944         * sysdeps/s390/multiarch/strcat.c: Likewise.
21945         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
21946         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
21947         * sysdeps/s390/multiarch/wcscat.c: Likewise.
21948         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
21949         wcscat functions.
21950         * sysdeps/s390/multiarch/ifunc-impl-list.c
21951         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
21952         * string/strcat.c (STRCAT): Define and use macro.
21953         * wcsmbs/wcscat.c: Use WCSCAT if defined.
21954         * string/test-strcat.c: Add wcscat support.
21955         * wcsmbs/test-wcscat.c: New File.
21956         * wcsmbs/Makefile (strop-tests): Add wcscat.
21957         * benchtests/bench-strcat.c: Add wcscat support.
21958         * benchtests/bench-wcscat.c: New File.
21959         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
21961         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
21962         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
21963         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
21964         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
21965         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
21966         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
21967         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
21968         wcpncpy functions.
21969         * sysdeps/s390/multiarch/ifunc-impl-list.c
21970         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
21971         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
21972         * string/test-stpncpy.c: Add wcpncpy support.
21973         * wcsmbs/test-wcpncpy.c: New File.
21974         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
21975         * benchtests/bench-stpncpy.c: Add wcpncpy support.
21976         * benchtests/bench-wcpncpy.c: New File.
21977         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
21979         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
21980         * sysdeps/s390/multiarch/strncpy.c: Likewise.
21981         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
21982         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
21983         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
21984         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
21985         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
21986         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
21987         wcsncpy functions.
21988         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
21989         * sysdeps/s390/multiarch/ifunc-impl-list.c
21990         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
21991         * string/test-strncpy.c: Add wcsncpy support.
21992         * wcsmbs/test-wcsncpy.c: New File.
21993         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
21994         * benchtests/bench-strncpy.c: Add wcsncpy support.
21995         * benchtests/bench-wcsncpy.c: New File.
21996         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
21998         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
21999         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22000         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22001         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22002         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22003         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22004         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22005         wcpcpy functions.
22006         * string/stpcpy.c: Use STPCPY if defined.
22007         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22008         * sysdeps/s390/multiarch/ifunc-impl-list.c
22009         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22010         * string/test-stpcpy.c: Add wcpcpy support.
22011         * wcsmbs/test-wcpcpy.c: New File.
22012         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22013         * benchtests/bench-stpcpy.c: Add wcpcpy support.
22014         * benchtests/bench-wcpcpy.c: New File.
22015         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22017         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22018         * sysdeps/s390/multiarch/strcpy.c: Likewise.
22019         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22020         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22021         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22022         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22023         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22024         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22025         wcscpy functions.
22026         * sysdeps/s390/multiarch/ifunc-impl-list.c
22027         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22028         * benchtests/bench-wcscpy.c: New File.
22029         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22031         * sysdeps/s390/multiarch/strnlen-c.c: New File.
22032         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22033         * sysdeps/s390/multiarch/strnlen.c: Likewise.
22034         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22035         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22036         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22037         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22038         wcsnlen functions.
22039         * sysdeps/s390/multiarch/ifunc-impl-list.c
22040         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22041         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22042         * string/test-strnlen.c: Add wcsnlen support.
22043         * wcsmbs/test-wcsnlen.c: New File.
22044         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22045         * benchtests/bench-strnlen.c: Add wcsnlen support.
22046         * benchtests/bench-wcsnlen.c: New File.
22047         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22049         * sysdeps/s390/multiarch/Makefile: New File.
22050         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22051         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22052         * sysdeps/s390/multiarch/strlen.c: Likewise.
22053         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22054         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22055         * sysdeps/s390/multiarch/wcslen.c: Likewise.
22056         * string/strlen.c (STRLEN): Define and use macro.
22057         * sysdeps/s390/multiarch/ifunc-impl-list.c
22058         (IFUNC_VX_IMPL): New macro function.
22059         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22060         * benchtests/Makefile (wcsmbs-bench): New variable.
22061         (string-bench-all): Added wcsmbs-bench.
22062         * benchtests/bench-wcslen.c: New File.
22064         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22065         s390_vx_libc_ifunc2): New macro function.
22067         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22068         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22069         assembler support.
22070         * sysdeps/s390/configure: Regenerated.
22072         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22073         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22075         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22076         * sysdeps/s390/dl-procinfo.h: Add vector capability.
22077         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22079         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22080         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22081         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22082         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22083         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22084         (memcmp, bcmp): Use __memcmp_default as alias source.
22085         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22086         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22087         Rename to __memcmp_default.
22088         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22089         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22090         (memcpy): Use __memcpy_default as alias source.
22091         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22092         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22093         Rename to __memcpy_default.
22094         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22095         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22096         (memset): Use __memset_default as alias source.
22097         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22098         * sysdeps/s390/s390-32/memset.S (__memset_g5):
22099         Rename to __memset_default.
22100         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22101         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22102         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22103         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22104         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22105         (memcmp, bcmp): Use __memcmp_default as alias source.
22106         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22107         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22108         Rename to __memcmp_default.
22109         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22110         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22111         (memcpy): Use __memcpy_default as alias source.
22112         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22113         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22114         Rename to __memcpy_default.
22115         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22116         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22117         (memset): Use __memset_default as alias source.
22118         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22119         * sysdeps/s390/s390-64/memset.S (__memset_z900):
22120         Rename to __memset_default.
22121         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22122         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22124         [BZ #18610]
22125         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22126         __ieee_instruction_pointer to __unused.
22127         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22128         __ieee_instruction_pointer.
22129         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22130         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22131         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22132         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22133         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22134         Mark dxc-field as reserved.
22136 2015-08-25  Roland McGrath  <roland@hack.frob.com>
22138         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22139         if the weak reference is not null.
22141 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22143         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22145         [BZ #11214]
22146         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22148 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22150         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22151         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22152         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22153         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22154         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22155         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22156         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22157         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22158         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22159         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22160         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22161         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22162         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22163         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22164         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22165         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22166         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22167         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22169 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22171         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22172         register other than r0 for tabort, it has special meaning.
22173         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22174         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22175         transaction before starting syscall.
22177 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22179         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22181 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22183         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22185         * sysdeps/x86_64/rtld-memcmp.c: Removed.
22186         * sysdeps/x86_64/rtld-memset.S: Likewise.
22187         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22188         * sysdeps/x86_64/rtld-strlen.S: Likewise.
22189         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22190         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22192         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22194 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
22196         * debug/strcpy_chk.c: Improve performance.
22197         * debug/stpcpy_chk.c: Likewise.
22198         * sysdeps/x86_64/strcpy_chk.S: Remove.
22199         * sysdeps/x86_64/stpcpy_chk.S: Remove.
22201         [BZ #18240]
22202         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22204 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22206         [BZ #15128]
22207         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22208         ifuncmain8.
22209         (modules-names): Add ifuncmod8.
22210         ($(objpfx)ifuncmain8): New rule.
22211         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22212         <cpuid.h>.
22213         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22214         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22215         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22216         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22217         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22218         * sysdeps/x86_64/dl-trampoline.h: Likewise.
22219         * sysdeps/x86_64/ifuncmain8.c: New file.
22220         * sysdeps/x86_64/ifuncmod8.c: Likewise.
22221         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22222         Removed.
22223         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22224         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22225         Change rtld_savespace_sse to __glibc_unused2.
22226         (RTLD_CHECK_FOREIGN_CALL): Removed.
22227         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22228         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22229         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22231 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22233         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22235 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22237         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22238         Unconditionally set __fpcr to avoid uninialized warning.
22239         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22241 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22243         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22244         is corrupt.
22246         * malloc/arena.c (arena_get2): Drop unused argument.
22247         (arena_lock): Adjust.
22248         (arena_get_retry): Likewise.
22250 2015-08-24  Andreas Schwab  <schwab@suse.de>
22252         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22253         Don't define.
22254         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22255         (__ASSUME_IPC64): Don't undef.
22256         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22257         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22258         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22259         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22260         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22261         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22262         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22263         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22264         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22265         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22266         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22267         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22268         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22269         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22270         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22271         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22272         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22273         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22274         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22275         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22276         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22278 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22280         * manual/Makefile (install): Only build manual when perl is available.
22282 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22284         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22285         '#undef memcpy' by '#undef memchr'.
22287 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22289         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22290         memchr not point to the internal __GI_memchr implementation.
22292 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22294         * timezone/Makefile (CFLAGS-zdump.c): Remove
22295         -Wno-strict-prototypes.
22296         (CFLAGS-zic.c): Likewise.
22297         (CFLAGS-ialloc.c): Likewise.
22298         (CFLAGS-scheck.c): Likewise.
22300         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22301         -Wno-error=undef.
22303 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22305         * i386/i686/multiarch/strcasestr-c.c: Removed.
22306         * x86_64/multiarch/strcasestr.c: Likewise.
22307         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22308         Remove strcasestr.
22310 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22312         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22314         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22315         variables for high and low parts before possibly modifying them.
22317 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22319         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22320         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22321         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22322         of "multiarch/init-arch.h".
22323         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22324         * sysdeps/x86/init-arch.h: This.
22326 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22328         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22329         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22331 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22333         [BZ #17787]
22334         * manual/macros.texi: Add twoexp macro.
22335         * manual/filesys.texi: Fix exponents.
22336         * manual/llio.texi: Likewise.
22337         * manual/stdio.texi: Likewise.
22339 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22341         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22342         incorrect use.
22344 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22346         [BZ #18370]
22347         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22348         whose real or imaginary part has small absolute value.
22349         * math/s_csqrtf.c (__csqrtf): Likewise.
22350         * math/s_csqrtl.c (__csqrtl): Likewise.
22351         * math/auto-libm-test-in: Add more tests of csqrt.
22352         * math/auto-libm-test-out: Regenerated.
22353         * sysdeps/i386/fpu/libm-test-ulps: Update.
22355 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22357         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22358         __ppc_set_ppr_very_low): New functions.
22359         * manual/platform.texi: Add documentation about
22360         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22362 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22364         * string/stpncpy.c (stpncpy): Improve performance using
22365         __strnlen/memcpy/memset.
22367 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22369         [BZ #18796]
22370         * scripts/test-installation.pl: Don't add -lmvec to build options if
22371         libmvec wasn't built.
22373 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22375         [BZ #14341]
22376         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22377         case when there is a gap between DT_REL and DT_JMPREL sections.
22378         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22379         (LDFLAGS-tst-split-dynreloc): New.
22380         (tst-split-dynreloc-ENV): Likewise.
22381         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22382         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22384 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22386         [BZ #18822]
22387         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22388         attribute_hidden.
22389         (__xstat64_conv): Likewise.
22390         (__xstat32_conv): Likewise.
22392 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22394         [BZ #18822]
22395         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22396         Don't load %ebx when calling __setcontext.  Call __setcontext
22397         with HIDDEN_JUMPTARGET.
22398         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22399         libc_hidden_def.
22401 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22403         * sysdeps/i386/i686/Makefile
22404         [$(subdir) == string] (sysdep_routines): Moved to ...
22405         * sysdeps/i386/Makefile: Here.
22406         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22407         * sysdeps/i386/cacheinfo.c: Here.
22408         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22409         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22410         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22411         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22413 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22415         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22416         __i586__ is defined.
22417         (HAS_I686): Defined to 1 if __i686__ is defined.
22419 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22421         * elf/Makefile [$(have-z-execstack) = yes]
22422         (CPPFLAGS-tst-execstack.c): New variable.
22424         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22425         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22426         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22427         UTMPX || _HAVE_UT_TV].
22428         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22429         UTMPX || _HAVE_UT_TV - 0].
22431 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22433         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22434         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22435         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22437 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22439         * sysdeps/powerpc/dl-procinfo.c:
22440         (_dl_powerpc_cap_flags): Added missing strings for some
22441         hwcap features.
22442         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22444 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22446         Port the 0x7efe...feff pattern to GCC 6.
22447         See Steve Ellcey's bug report in:
22448         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22449         * string/memrchr.c (MEMRCHR):
22450         * string/rawmemchr.c (RAWMEMCHR):
22451         * string/strchr.c (strchr):
22452         * string/strchrnul.c (STRCHRNUL):
22453         Rewrite code to avoid issues with signed shift overflow.
22455 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22457         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22458         whether cpuid is available only if HAS_CPUID is 0.
22459         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22460         (HAS_I586): Likewise.
22461         (HAS_I686): Likewise.
22463 2015-08-18  Zack Weinberg  <zackw@panix.com>
22465         * misc/Versions (libc): Add GLIBC_2.23.
22467 2015-08-18  Alan Modra  <amodra@gmail.com>
22469         [BZ #18421]
22470         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22471         .Lp__global.
22472         (_start): Load %dp via .Lp__global.
22473         [!SHARED]: Use .section .rodata.
22475 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22477         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22478         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22480 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22482         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22483         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22485 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22487         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22488         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22490 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22492         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22493         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22495 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22497         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22498         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22500 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22502         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22503         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22505 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22507         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22509 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22511         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22512         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22513         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22514         (__ASSUME_LWS_CAS): Delete.
22516 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22518         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22519         * sysdeps/hppa/configure: Regenerated.
22520         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22521         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22522         * sysdeps/hppa/nptl/tls.h: Likewise.
22524 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22526         [BZ #18823]
22527         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22528         for scaling up small arguments.
22529         * math/s_csqrtf.c (__csqrtf): Likewise.
22530         * math/s_csqrtl.c (__csqrtl): Likewise.
22531         * math/auto-libm-test-in: Add more tests of csqrt.
22532         * math/auto-libm-test-out: Regenerated.
22534 2015-08-17  Andreas Schwab  <schwab@suse.de>
22536         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22537         version set GLIBC_2.19.
22539 2015-08-16  Zack Weinberg  <zackw@panix.com>
22541         [BZ #18681]
22542         * misc/regexp.h: This interface is no longer supported.
22543         Remove all contents, leaving only an #error directive.
22544         * misc/regexp.c (loc1, loc2, locs, step, advance):
22545         Demote to compatibility symbols.
22547 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22549         [BZ #18084]
22550         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22551         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22552         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22553         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22554         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22555         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22556         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22557         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22558         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22560 2015-08-15  Zack Weinberg  <zackw@panix.com>
22562         [BZ #18795]
22563         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22564         buffer length is known to be too large, not if it's known to be
22565         small enough.
22566         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22567         overflow at runtime, involving a length parameter, twice: once
22568         with a compile-time constant length parameter, once without.
22570 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22572         [BZ #18824]
22573         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22574         scaling x * y up instead of down.
22575         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22576         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22577         * math/auto-libm-test-in: Add more tests of fma.
22578         * math/auto-libm-test-out: Regenerated.
22580 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22582         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22584 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22586         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22587         unnecessary movq.
22588         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22589         Likewise.
22591 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22593         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22594         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22595         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22596         and tgamma.
22597         * math/auto-libm-test-out: Regenerated.
22598         * sysdeps/i386/fpu/libm-test-ulps: Update.
22599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22601         [BZ #16520]
22602         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22603         (__tanh): Force underflow exception for arguments with small
22604         absolute value.
22605         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22606         (__tanhf): Force underflow exception for arguments with small
22607         absolute value.
22608         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22609         (__tanhl): Force underflow exception for arguments with small
22610         absolute value.
22611         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22612         (__tanhl): Force underflow exception for arguments with small
22613         absolute value.
22614         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22615         (__tanhl): Force underflow exception for arguments with small
22616         absolute value.
22617         * math/auto-libm-test-in: Add more tests of tanh.
22618         * math/auto-libm-test-out: Regenerated.
22619         * sysdeps/i386/fpu/libm-test-ulps: Update.
22621 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22623         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22624         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22626 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22628         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22629         <cpuid.h>.
22631 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22633         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22634         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22636 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22638         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22639         Remove $(objpfx)init-arch.o.
22640         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22641         init-arch.
22642         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22643         (INIT_ARCH_EXT): Defined as empty.
22644         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22645         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22646         __init_cpu_features call.  Replace HAS_XXX with
22647         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22648         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22649         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22650         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22651         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22652         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22653         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22654         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22655         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22656         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22657         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22658         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22659         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22660         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22661         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22662         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22663         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22664         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22665         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22666         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22667         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22668         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22669         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22670         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22671         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22672         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22673         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22674         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22675         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22676         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22677         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22678         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22679         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22680         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22681         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22682         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22684 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22686         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22687         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22688         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22689         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22690         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22691         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22692         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22693         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22694         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22695         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22696         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22697         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
22698         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22699         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22700         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22701         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22702         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22703         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22704         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22705         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22706         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22707         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22708         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22709         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22710         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22711         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22712         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22713         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22714         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22715         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22716         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22717         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22718         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22719         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22720         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22721         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22722         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22723         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22724         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22725         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22726         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22727         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22728         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22730 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22732         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22733         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22734         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22735         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22736         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22737         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22738         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22739         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22740         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22741         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22742         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22743         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22744         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22745         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22746         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22747         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22748         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22749         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22750         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22751         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22752         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22753         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22754         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22755         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22756         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22757         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22758         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22759         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
22760         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22761         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22763         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22764         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22765         * sysdeps/x86_64/multiarch/memset.S: Likewise.
22766         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22767         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22768         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22769         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22770         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22771         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22772         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22773         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22774         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22776 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22778         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
22779         (dl_platform_init): Call init_cpu_features.
22780         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
22781         * sysdeps/i386/i686/cacheinfo.c
22782         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
22783         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
22784         * sysdeps/i386/i686/multiarch/Versions: Removed.
22785         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
22786         Removed.
22787         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
22788         * sysdeps/unix/sysv/linux/x86/Makefile
22789         (libpthread-sysdep_routines): Remove init-arch.
22790         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
22791         <sysdeps/x86_64/dl-procinfo.c> instead of
22792         sysdeps/generic/dl-procinfo.c>.
22793         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
22794         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
22795         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
22796         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
22797         [$(subdir) == elf] (tests-static): Add
22798         tst-get-cpu-features-static.
22799         * sysdeps/x86/Versions: New file.
22800         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
22801         * sysdeps/x86/cpu-features.c: Likewise.
22802         * sysdeps/x86/cpu-features.h: Likewise.
22803         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
22804         * sysdeps/x86/libc-start.c: Likewise.
22805         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
22806         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
22807         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
22808         * sysdeps/x86_64/dl-procinfo.c: Likewise.
22809         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
22810         Assume USE_MULTIARCH is defined and don't check it.
22811         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
22812         (is_amd): Likewise.
22813         (max_cpuid): Likewise.
22814         (intel_check_word): Likewise.
22815         (__cache_sysconf): Don't call __init_cpu_features.
22816         (__x86_preferred_memory_instruction): Removed.
22817         (init_cacheinfo): Don't call __init_cpu_features. Replace
22818         __cpu_features with GLRO(dl_x86_cpu_features).
22819         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
22820         (dl_platform_init): Call init_cpu_features.
22821         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
22822         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
22823         * sysdeps/x86_64/multiarch/Versions: Removed.
22824         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
22825         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
22826         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
22827         Removed.
22828         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
22830 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22832         [BZ #18820]
22833         * libio/Makefile (test-fmemopen-mem): New test.
22834         * libio/test-fmemopen.c (do_bz18820): New test.
22835         * libio/fmemopen.c (__fmemopen): Fix memory leak.
22836         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
22838 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
22840         [BZ #16734]
22841         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
22842         (FREE_BUF): Delete.
22843         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
22844         * libio/genops.c (_IO_setb): Use malloc and free directly.
22845         (_IO_default_doallocate, _IO_default_finish): Likewise.
22846         ( _IO_unbuffer_all): Likewise.
22847         ( libc_freeres_fn): Likewise.
22848         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
22849         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
22850         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
22851         (_IO_wdefault_doallocate): Likewise.
22853 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
22855         [BZ #18086]
22856         * sysdeps/posix/nice.c (nice): Restore old errno.
22857         * posix/tst-nice.c (do_test): Add test for BZ #18086.
22859 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
22861         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
22863 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22865         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
22866         __bcopy and add a weak_alias to bcopy.
22867         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
22868         for static build.
22870         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
22871         cleanup macro usage.
22872         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
22873         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
22874         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
22875         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
22876         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
22877         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
22878         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
22879         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22880         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22881         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
22882         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22883         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
22884         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
22885         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
22886         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
22887         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
22888         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
22889         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
22890         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
22892         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
22893         libc_hidden_def.
22894         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
22896         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
22897         (sysdep_routines): Add strstr-ppc64.
22898         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
22900 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
22902         [BZ #18778]
22903         * elf/Makefile (tests): Add Add tst-nodelete2.
22904         (modules-names): Add tst-nodelete2mod.
22905         (tst-nodelete2mod.so-no-z-defs): New.
22906         ($(objpfx)tst-nodelete2): Likewise.
22907         ($(objpfx)tst-nodelete2.out): Likewise.
22908         (LDFLAGS-tst-nodelete2): Likewise.
22909         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
22910         out of loop through all loaded libraries.
22911         * elf/tst-nodelete2.c: New file.
22912         * elf/tst-nodelete2mod.c: Likewise.
22913         * elf/tst-znodelete-zlib.cc: Delete.
22915 2015-08-11  Andreas Schwab  <schwab@suse.de>
22917         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
22918         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
22919         (__openat64_nocancel): Likewise.
22921 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
22923         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
22924         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
22925         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
22926         * math/auto-libm-test-out: Regenerated.
22927         * sysdeps/i386/fpu/libm-test-ulps: Update.
22928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22930 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22932         [BZ #18790]
22933         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
22934         threshold for returning +/- 1.
22935         * math/auto-libm-test-in: Add more tests of tanh.
22936         * math/auto-libm-test-out: Regenerated.
22937         * sysdeps/i386/fpu/libm-test-ulps: Update.
22939 2015-08-10  Andreas Schwab  <schwab@suse.de>
22941         [BZ #18781]
22942         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
22943         MORE_OFLAGS to oflag.
22944         * io/test-lfs.c (do_test): Test openat64.
22946 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
22948         [BZ #18789]
22949         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
22950         smaller threshold for returning the argument.
22951         * math/auto-libm-test-in: Add more tests of sinh.
22952         * math/auto-libm-test-out: Regenerated.
22953         * sysdeps/i386/fpu/libm-test-ulps: Update.
22955 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
22957         [BZ #18674]
22958         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
22959         break.
22961 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
22963         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
22964         (generated): Don't add $(addprefix z.,$(tzfiles)).
22966 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22968         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
22969         * scripts/sysd-rules.awk: Likewise.
22971 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22973         * iconvdata/tst-tables.sh: Change echo -n to printf.
22974         * nss/db-Makefile: Likewise.
22975         * posix/tst-getconf.sh: Likewise.
22976         * stdio-common/tst-unbputc.sh: Likewise.
22978 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
22980         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
22981         MADV_*_PAGES defines behind this feature check.
22983 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
22985         [BZ #18480]
22986         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
22987         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
22988         Define.
22989         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
22990         LOAD_REGS_5, LOAD_REGS_6): Update.
22991         (INTERNAL_SYSCALL): Update using new LOAD defines.
22992         (INTERNAL_SYSCALL_NCS): Likewise.
22993         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
22995 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22997         [BZ #16734]
22998         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23000 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23002         [BZ #17905]
23003         * catgets/Makefile (tst-catgets-mem): New test.
23004         * catgets/catgets.c (catopen): Don't use unbounded alloca.
23005         * catgets/open_catalog.c (__open_catalog): Likewise.
23006         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23008 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
23010         [BZ #18787]
23011         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23012         clobber registers.
23013         (atomic_compare_and_exchange_val_acq): Use register asms to assign
23014         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
23015         Cast return to __typeof (oldval).
23017 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
23019         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23020         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
23021         and delete sys/syscall.h include.
23023 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
23025         [BZ #16517]
23026         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23027         (tan): Force underflow exception for arguments with small absolute
23028         value.
23029         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23030         (__kernel_tanf): Force underflow exception for arguments with
23031         small absolute value.
23032         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23033         (__kernel_tanl): Force underflow exception for arguments with
23034         small absolute value.
23035         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23036         (__kernel_tanl): Force underflow exception for arguments with
23037         small absolute value.
23038         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23039         (__kernel_tanl): Force underflow exception for arguments with
23040         small absolute value.
23041         * math/auto-libm-test-in: Add more tests of tan.
23042         * math/auto-libm-test-out: Regenerated.
23044 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23046         Fix sysdeps/i386/fpu/s_scalbn.S build
23048         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23050 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
23052         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23054 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23056         Fix gcrt0.o compilation
23058         When static-start-installed-name is different from
23059         start-installed-name, we must not use the shared objects.
23061         * csu/Makefile
23062         (extra-objs): Add gmon-start.o when building shared library and
23063         $(static-start-installed-name) is different from
23064         $(start-installed-name).
23065         $(objpfx)g$(static-start-installed-name): When building shared
23066         library and $(static-start-installed-name) is different from
23067         $(static-start-installed-name), revert to non-shared rule,
23068         i.e. using $(objpfx)% and gmon-start.o.
23070 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
23072         [BZ #16519]
23073         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23074         (__ieee754_sinh): Force underflow exception for arguments with
23075         small absolute value.
23076         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23077         (__ieee754_sinhf): Force underflow exception for arguments with
23078         small absolute value.
23079         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23080         (__ieee754_sinhl): Force underflow exception for arguments with
23081         small absolute value.
23082         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23083         (__ieee754_sinhl): Force underflow exception for arguments with
23084         small absolute value.
23085         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23086         (__ieee754_sinhl): Force underflow exception for arguments with
23087         small absolute value.
23088         * math/auto-libm-test-in: Add more tests of sinh.
23089         * math/auto-libm-test-out: Regenerated.
23090         * sysdeps/i386/fpu/libm-test-ulps: Update.
23092 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23094         * libio/oldfileops.c: Include unistd.h.
23096 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
23098         * stdlib/isomac.c: Include ctype.h.
23100 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
23102         * dirent/tst-seekdir.c (main): Converted to ...
23103         (do_test): ... this.
23104         (TEST_FUNCTION): New macro.
23105         Include test-skeleton.c.
23106         * elf/tst-dlmodcount.c (main): Converted to ...
23107         (do_test): ... this.
23108         (TEST_FUNCTION): New macro.
23109         Include test-skeleton.c.
23110         * elf/tst-order-main.c (main): Converted to ...
23111         (do_test): ... this.
23112         (TEST_FUNCTION): New macro.
23113         Include test-skeleton.c.
23114         * elf/tst-pie2.c (main): Converted to ...
23115         (do_test): ... this.
23116         (TEST_FUNCTION): New macro.
23117         Include test-skeleton.c.
23118         * inet/tst-ether_aton.c (main): Converted to ...
23119         (do_test): ... this.
23120         (TEST_FUNCTION): New macro.
23121         Include test-skeleton.c.
23122         * misc/tst-mntent.c (main): Converted to ...
23123         (do_test): ... this.
23124         (TEST_FUNCTION): New macro.
23125         Include test-skeleton.c.
23126         * misc/tst-tsearch.c (main): Converted to ...
23127         (do_test): ... this.
23128         (TEST_FUNCTION): New macro.
23129         Include test-skeleton.c.
23130         * posix/tst-regexloc.c (main): Converted to ...
23131         (do_test): ... this.
23132         (TEST_FUNCTION): New macro.
23133         Include test-skeleton.c.
23134         * resolv/tst-aton.c (main): Converted to ...
23135         (do_test): ... this.
23136         (TEST_FUNCTION): New macro.
23137         Include test-skeleton.c.
23138         * stdio-common/test-fwrite.c (main): Converted to ...
23139         (do_test): ... this.
23140         (TEST_FUNCTION): New macro.
23141         Include test-skeleton.c.
23142         * stdio-common/tst-ferror.c (main): Converted to ...
23143         (do_test): ... this.
23144         (TEST_FUNCTION): New macro.
23145         Include test-skeleton.c.
23146         * stdio-common/tst-printf.c (main): Converted to ...
23147         (do_test): ... this.
23148         (TEST_FUNCTION): New macro.
23149         Include test-skeleton.c.
23150         * stdio-common/tst-printfsz.c (main): Converted to ...
23151         (do_test): ... this.
23152         (TEST_FUNCTION): New macro.
23153         Include test-skeleton.c.
23154         * stdlib/tst-strtod.c (main): Converted to ...
23155         (do_test): ... this.
23156         (TEST_FUNCTION): New macro.
23157         Include test-skeleton.c.
23158         * string/tst-strlen.c (main): Converted to ...
23159         (do_test): ... this.
23160         (TEST_FUNCTION): New macro.
23161         Include test-skeleton.c.
23162         * string/tst-svc.c (main): Converted to ...
23163         (do_test): ... this.
23164         (TEST_FUNCTION): New macro.
23165         Include test-skeleton.c.
23166         * time/tst-strptime.c (main): Converted to ...
23167         (do_test): ... this.
23168         (TEST_FUNCTION): New macro.
23169         Include test-skeleton.c.
23170         * timezone/tst-timezone.c (main): Converted to ...
23171         (do_test): ... this.
23172         (TEST_FUNCTION): New macro.
23173         Include test-skeleton.c.
23175 2015-08-05  Zack Weinberg  <zackw@panix.com>
23177         * misc/regexp.h: Update comments.
23179 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
23181         [BZ #18635]
23182         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23183         before return label.
23185 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23187         [BZ #18661]
23188         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23189         when calling __errno_location.
23190         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23191         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23193 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23195         [BZ #18661]
23196         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23197         (__lll_timedwait_tid): Align stack to 16 bytes when calling
23198         __gettimeofday.
23200 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23202         [BZ #18661]
23203         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23204         (__start_context): Don't use pop to restore %rdi so that stack
23205         is aligned to 16 bytes when calling __setcontext.
23207 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23209         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23210         only for libc.
23211         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23213 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23215         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23216         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
23217         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23219 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23221         * string/memccpy.c (memccpy):
23222         Improve performance by using memchr/memcpy/__mempcpy.
23224 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23226         * string/strncpy.c (strncpy):
23227         Improve performance by using __strnlen/memcpy.
23229 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23231         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23232         Optimize to avoid an unnecessary FPCR read.
23234 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23236         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23237         Optimize to reduce FPCR/FPSR accesses.
23239 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23241         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23242         dead->data[category] != NULL.
23244 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23246         [BZ #18647]
23247         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23248         and |x| close to 1, use absolute value of x when computing log.
23249         * math/auto-libm-test-in: Add more tests of pow.
23250         * math/auto-libm-test-out: Regenerated.
23252 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23254         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23255         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23256         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23258 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23260         [BZ #18525]
23261         * locales/km_KH: Remove timezone definition.
23262         * locales/lo_LA: Likewise.
23263         * locales/my_MM: Likewise.
23264         * locales/nan_TW@latin: Likewise.
23265         * locales/th_TH: Likewise.
23266         * locales/uk_UA: Likewise.
23268 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23270         [BZ #18265]
23271         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23272         (wcsncat): Likewise.
23273         (wcscmp): Likewise.
23274         (wcsncmp): Likewise.
23276 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23278         * test-skeleton.c (usage): New function.
23279         (main): Call usage when opt is '?'.
23281 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23283         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23284         before first use.
23286 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23288         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23289         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23290         in there too.
23292 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23294         * version.h (RELEASE): Set to "development".
23295         (VERSION): Set to "2.22.90"
23297         * version.h (RELEASE): Set to "stable".
23298         (VERSION): Set to "2.22"
23299         * include/features.h (__GLIBC_MINOR__): Set to 22.
23301 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23303         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23304         Restructure macro to avoid "value computed is not used" warning.
23305         (atomic_compare_and_exchange_val_acq): Likewise.
23307 2015-08-04  Andreas Schwab  <schwab@suse.de>
23309         [BZ #18635]
23310         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23311         ret.
23312         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23314 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23316         * po/pl.po: Updated translation.
23317         * po/uk.po: Likewise.
23318         * po/fi.po: Likewise.
23319         * po/ko.po: Likewise.
23320         * po/ru.po: Likewise.
23321         * po/vi.po: Likewise.
23323 2015-07-31  Zack Weinberg  <zackw@panix.com>
23325         [BZ #18681]
23326         * regexp.h: Add unconditional #warning stating that this header
23327         will be removed soon.  Revise banner comment to match.
23328         (compile): Consistently use ERROR instead of RETURN to report
23329         errors (partial fix for bz#18681).
23330         * regexp.c: Don't include regexp.h. Remove some unnecessary
23331         declarations.
23333 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23335         * po/libc.pot: Regenerated.
23337 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23339         [BZ #18740]
23340         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23341         float-vlen4-arch-ext-cflags): Removed.
23342         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23343         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23345 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23347         [BZ #14113]
23348         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23349         aligned to __aligned__.
23350         (pthread_cond_t, pthread_rwlock_t): Likewise.
23352 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23354         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23356 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23358         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23359         (struct sigaction): Change sa_flags from a long to an int, and add
23360         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23362 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23364         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23365         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23366         sysdeps/generic/sysdep.h include.
23367         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23368         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23369         sysdeps/hppa/sysdep.h.
23370         (ENTRY, PSEUDO): Undefine before defining.
23372 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23374         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23375         from scratch to use INTERNAL_SYSCALL.
23377 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23379         [BZ #18078]
23380         * scripts/check-localplt.awk: Support alternate relocations.
23381         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23382         sections.
23383         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23384         malloc entries with + REL R_386_GLOB_DAT.
23385         * sysdeps/x86_64/localplt.data: New file.
23387 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23389         [BZ #18731]
23390         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23391         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23392         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23394 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23396         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23398 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23400         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23401         directly in terms of __sync_fetch_and_add and delete (int) cast.
23403 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23405         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23406         the -D_ASM_IA64_CURRENT_H flag.
23408 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23410         [BZ #18641]
23411         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23413 2015-07-27  Andreas Schwab  <schwab@suse.de>
23415         * conform/conformtest.pl (checknamespace): Filter out string
23416         literals while tokenizing.
23418 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23420         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23421         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23422         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23424 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23426         * nptl/tst-join7mod.c: Add #include <string.h>.
23428 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23430         * sysdeps/nios2/libm-test-ulps: Update.
23432 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23434         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23435         Fix order of arguments to the rt_sigprocmask syscall.
23436         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23437         Likewise.
23439 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23441         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23443 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23445         [BZ #18457]
23446         * nptl/Makefile (tests): New test case tst-join7.
23447         (modules-names): New test case module tst-join7mod.
23448         * nptl/tst-join7.c: New file.
23449         * nptl/tst-join7mod.c: New file.
23450         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23451         all translation units in libc.so, libpthread.so and rtld.
23453 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23457 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23459         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23460         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23461         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23462         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23463         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23464         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23466         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23467         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23468         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23469         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23470         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23471         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23472         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23473         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23474         implementation.
23476 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23478         [BZ #17711]
23479         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23480         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23481         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23482         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23483         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23484         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23486 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23488         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23489         instead of just saying load lock in the comments.
23491 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23493         * sysdeps/unix/Subdirs: Moved ...
23494         * sysdeps/posix/Subdirs: ... here.
23495         * login/pty.h (struct termios, struct winsize): Add forward decls.
23496         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23497         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23498         * sysdeps/arm/nacl/libc.abilist: Updated.
23499         * sysdeps/nacl/libutil.abilist: New file.
23501         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23502         (SIGWINCH): New macro.
23504         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23505         * sysdeps/arm/nacl/libc.abilist: Add it.
23507 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23509         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23511 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23513         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23514         Swap __glibc_reserved0 and sa_flags order.
23516 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23518         [BZ #18657]
23519         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23520         are pending TLS destructor calls.
23521         * include/link.h (struct link_map): Add concurrency note for
23522         L_TLS_DTOR_COUNT.
23523         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23524         Don't touch the link map flag.  Atomically increment
23525         l_tls_dtor_count.
23526         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23527         Avoid taking the load lock and don't touch the link map flag.
23528         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23529         * stdlib/Makefile (tests): Use it.
23530         * stdlib/tst-tls-atexit.c (do_test): dlopen
23531         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23532         to allow tst-tls-atexit-nodelete test case to use it.
23534 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23536         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23537         to bits/types.h.
23538         (msgqnum_t): New typedef.
23539         (msglen_t): Likewise.
23540         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23541         and msg_qbytes type to msglen_t.
23543 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23545         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23546         pad0 to __glibc_reserved0.
23547         (struct stat64): Likewise.
23549 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23551         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23552         Change sa_flags from a long to an int and add __glibc_reserved0 before
23553         it for padding.
23555 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23557         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23558         anonymous by deleting "siginfo" name.
23560 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23562         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23563         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23564         rather than __nacl_irt_filename.
23565         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23567         * NEWS: New item for arm-nacl port.
23568         * sysdeps/arm/nacl/libc.abilist: New file.
23569         * sysdeps/nacl/ld.abilist: New file.
23570         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23571         * sysdeps/nacl/libanl.abilist: New file.
23572         * sysdeps/nacl/libcrypt.abilist: New file.
23573         * sysdeps/nacl/libdl.abilist: New file.
23574         * sysdeps/nacl/libm.abilist: New file.
23575         * sysdeps/nacl/libpthread.abilist: New file.
23576         * sysdeps/nacl/libresolv.abilist: New file.
23577         * sysdeps/nacl/librt.abilist: New file.
23579 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23581         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23582         __startcontext to initialize the new context.
23583         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23584         up CFI directive to forbid further backtracing.
23586 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23588         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23589         reference.
23590         * charmaps/ANSI_X3.4-1968: Likewise.
23591         * charmaps/BS_4730: Likewise.
23592         * charmaps/BS_VIEWDATA: Likewise.
23593         * charmaps/CP1250: Likewise.
23594         * charmaps/CP1251: Likewise.
23595         * charmaps/CP1252: Likewise.
23596         * charmaps/CP1253: Likewise.
23597         * charmaps/CP1254: Likewise.
23598         * charmaps/CP1255: Likewise.
23599         * charmaps/CP1256: Likewise.
23600         * charmaps/CSN_369103: Likewise.
23601         * charmaps/EBCDIC-DK-NO: Likewise.
23602         * charmaps/GB_1988-80: Likewise.
23603         * charmaps/GREEK-CCITT: Likewise.
23604         * charmaps/GREEK7: Likewise.
23605         * charmaps/INIS-8: Likewise.
23606         * charmaps/ISIRI-3342: Likewise.
23607         * charmaps/ISO_2033-1983: Likewise.
23608         * charmaps/ISO_5427-EXT: Likewise.
23609         * locales/POSIX: Likewise.
23610         * locales/ar_SA: Likewise.
23611         * locales/be_BY: Likewise.
23612         * locales/be_BY@latin: Likewise.
23613         * locales/ca_ES: Likewise.
23614         * locales/cs_CZ: Likewise.
23615         * locales/da_DK: Likewise.
23616         * locales/de_BE: Likewise.
23617         * locales/de_CH: Likewise.
23618         * locales/de_LU: Likewise.
23619         * locales/en_AU: Likewise.
23620         * locales/en_BW: Likewise.
23621         * locales/en_CA: Likewise.
23622         * locales/en_DK: Likewise.
23623         * locales/en_GB: Likewise.
23624         * locales/en_IE: Likewise.
23625         * locales/en_NZ: Likewise.
23626         * locales/en_ZA: Likewise.
23627         * locales/en_ZW: Likewise.
23628         * locales/es_AR: Likewise.
23629         * locales/es_BO: Likewise.
23630         * locales/es_CL: Likewise.
23631         * locales/es_CO: Likewise.
23632         * locales/es_DO: Likewise.
23633         * locales/es_EC: Likewise.
23634         * locales/es_ES: Likewise.
23635         * locales/es_HN: Likewise.
23636         * locales/es_MX: Likewise.
23637         * locales/es_PA: Likewise.
23638         * locales/es_PE: Likewise.
23639         * locales/es_PY: Likewise.
23640         * locales/es_SV: Likewise.
23641         * locales/es_US: Likewise.
23642         * locales/es_UY: Likewise.
23643         * locales/es_VE: Likewise.
23644         * locales/et_EE: Likewise.
23645         * locales/fa_IR: Likewise.
23646         * locales/fo_FO: Likewise.
23647         * locales/fr_CA: Likewise.
23648         * locales/fr_CH: Likewise.
23649         * locales/gv_GB: Likewise.
23650         * locales/he_IL: Likewise.
23651         * locales/hr_HR: Likewise.
23652         * locales/id_ID: Likewise.
23653         * locales/is_IS: Likewise.
23654         * locales/it_CH: Likewise.
23655         * locales/iw_IL: Likewise.
23656         * locales/kl_GL: Likewise.
23657         * locales/ko_KR: Likewise.
23658         * locales/kw_GB: Likewise.
23659         * locales/lg_UG: Likewise.
23660         * locales/lt_LT: Likewise.
23661         * locales/lv_LV: Likewise.
23662         * locales/mi_NZ: Likewise.
23663         * locales/nhn_MX: Likewise.
23664         * locales/nl_BE: Likewise.
23665         * locales/pl_PL: Likewise.
23666         * locales/sk_SK: Likewise.
23667         * locales/sl_SI: Likewise.
23668         * locales/sv_FI: Likewise.
23669         * locales/tl_PH: Likewise.
23670         * locales/tr_TR: Likewise.
23671         * locales/vi_VN: Likewise.
23673 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23675         [BZ #17475]
23676         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23677         of tu_IN and bh_IN.
23679 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23681         [BZ #18694]
23682         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23683         bits/wordsize.h.
23684         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23686 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23688         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23689         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23690         (spawn_thread): New function.
23691         (load): Rename to reg_dtor_and_close.  Move dlopen to...
23692         (do_test): ... here.  Use IS_LOADED to test for its
23693         availability.
23695 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
23697         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23699 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
23701         [BZ #18696]
23702         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23703         si_addr_bnd.
23704         (si_lower): New.
23705         (si_upper): Likewise.
23707 2015-07-16  David S. Miller  <davem@davemloft.net>
23709         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23711 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23713         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23714         buffer.
23715         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23716         fail output information.
23718 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23721         and strstr-ppc64..
23722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23723         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23724         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23725         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23726         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23728 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23730         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23731         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23732         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23733         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23735 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
23737         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23738         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23739         rtld_hidden_proto.
23740         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23742 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23744         * tst-nodelete-opened.c (do_test): Add comment to clarify how
23745         the test can fail.
23747         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23749         [BZ #18676]
23750         * elf/tst-nodelete-opened.c: New test case.
23751         * elf/tst-nodelete-opened-lib.c: New test case module.
23752         * elf/Makefile (tests, modules-names): Use them.
23753         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23754         early.
23756 2015-07-15  David S. Miller  <davem@davemloft.net>
23758         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23759         futex-intenal.h
23760         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23761         * sysdeps/sparc/sparc64/Makefile: Likewise.
23762         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23763         Remove space from macro define.
23764         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23766 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
23768         [BZ #17475]
23769         * locale/iso-639.def: Update Bhili and Tulu language codes as
23770         per iso639-3.
23772 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
23774         * elf/tst-leaks1.c (main): Converted to ...
23775         (do_test): ... this.
23776         (TEST_FUNCTION): New macro.
23777         Include test-skeleton.c.
23778         * localedata/tst-langinfo.c (main): Converted to ...
23779         (do_test): ... this.
23780         (TEST_FUNCTION): New macro.
23781         Include test-skeleton.c.
23782         * math/test-fpucw.c (main): Converted to ...
23783         (do_test): ... this.
23784         (TEST_FUNCTION): New macro.
23785         Include test-skeleton.c.
23786         * math/test-tgmath.c (main): Converted to ...
23787         (do_test): ... this.
23788         (TEST_FUNCTION): New macro.
23789         Include test-skeleton.c.
23790         * math/test-tgmath2.c (main): Converted to ...
23791         (do_test): ... this.
23792         (TEST_FUNCTION): New macro.
23793         Include test-skeleton.c.
23794         * setjmp/tst-setjmp.c (main): Converted to ...
23795         (do_test): ... this.
23796         (TEST_FUNCTION): New macro.
23797         Include test-skeleton.c.
23798         * stdio-common/tst-sscanf.c (main): Converted to ...
23799         (do_test): ... this.
23800         (TEST_FUNCTION): New macro.
23801         Include test-skeleton.c.
23802         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
23803         (do_test): ... this.
23804         (TEST_FUNCTION): New macro.
23805         Include test-skeleton.c.
23807         * elf/tst-audit9.c (main): Converted to ...
23808         (do_test): ... this.
23809         (TEST_FUNCTION): New macro.
23810         Include test-skeleton.c.
23812 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
23814         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
23816 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23818         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
23819         New variable.
23821 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
23823         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
23825 2015-07-14  Roland McGrath  <roland@hack.frob.com>
23827         * sysdeps/generic/dl-fileid.h: New file.
23828         * sysdeps/posix/dl-fileid.h: New file.
23829         * sysdeps/nacl/dl-fileid.h: New file.
23830         * include/link.h: Include <dl-fileid.h>.
23831         (struct link_map): Replace l_dev and l_ino with l_file_id.
23832         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
23833         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
23834         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
23836 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23838         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
23840 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23842         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
23843         Add iff $CXX is set.
23844         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
23845         Likewise.
23846         (tst-nodelete-zmodiff): Likewise.
23847         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
23849 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23851         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
23853 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23855         * sysdeps/aarch64/fpu/math_private.h
23856         (define math_opt_barrier): Add AArch64 version.
23857         (math_force_eval): Likewise.
23859 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
23861         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
23863 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
23865         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
23866         %ld with %jd and cast to intmax_t.
23867         (do_test_length_zero): Likewise.
23869 2015-07-10  Roland McGrath  <roland@hack.frob.com>
23871         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
23873 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
23875         * sysdeps/tile/libm-test-ulps: Regenerated.
23877         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
23878         Comment out the whole function, not just its body.
23880 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23882         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
23883         locks.
23885         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
23887 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23889         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
23890         (sem_assume_only_signals_cause_futex_EINTR): Remove.
23892 2015-07-10  Torvald Riegel  <triegel@redhat.com>
23894         * sysdeps/nptl/futex-internal.h: New file.
23895         * sysdeps/nacl/futex-internal.h: New file.
23896         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
23897         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
23898         error checking.
23899         (setxid_unmark_thread): Likewise.
23900         (__nptl_setxid): Likewise.
23901         (__wait_lookup_done): Likewise.
23902         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
23903         * nptl/nptl-init.c (sighandler_setxid): Likewise.
23904         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
23905         * nptl/pthread_once.c (clear_once_control): Likewise.
23906         (__pthread_once_slow): Likewise.
23907         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
23908         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
23909         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
23910         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
23911         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
23912         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
23913         Likewise.
23914         (__pthread_rwlock_rdlock): Likewise.
23915         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
23916         Likewise.
23917         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
23918         Likewise.
23919         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
23920         Likewise.
23921         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
23922         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
23923         Likewise.
23924         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
23925         __ASSUME_PRIVATE_FUTEX check.
23926         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
23927         Check that shared futexes are supported.
23928         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
23929         wrappers with error checking.
23930         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
23931         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
23932         * nptl/pthread_barrierattr_setpshared.c
23933         (pthread_barrierattr_setpshared): Check that shared futexes are
23934         supported.
23935         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
23936         Likewise.
23937         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
23938         Likewise.
23939         * nptl/sem_init.c (futex_private_if_supported): Remove.
23940         (__new_sem_init): Adapt and check that shared futexes are supported.
23941         * nptl/sem_open.c (sem_open): Likewise.
23942         * nptl/sem_post.c (futex_wake): Remove.
23943         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
23944         (do_futex_wait): Use futex wrappers with error checking.
23945         * nptl/sem_wait.c: Include lowlevellock.h.
23946         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
23947         Use futex_supports_pshared.
23948         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
23949         Use futex wrappers with error checking.
23950         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
23951         Likewise.
23952         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
23953         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
23954         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
23955         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
23956         (futex_wake): Likewise.
23957         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
23958         (do_futex_wait): Use futex wrappers with error checking.
23959         (__new_sem_wait_slow): Update EINTR handling.
23960         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
23962 2015-07-09  Martin Sebor  <msebor@redhat.com>
23964         [BZ #18435]
23965         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
23966         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
23967         * nptl/Makefile (test-xfail-tst-once5): Define.
23969 2015-07-09  Roland McGrath  <roland@hack.frob.com>
23971         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
23972         * elf/dl-minimal.c: For readability, reorder some definitions and
23973         introduce more page breaks.  Include <stdio.h>.
23974         (__libc_fatal): New function.
23976         * include/unistd.h: Add rtld_hidden_proto for _exit.
23977         * posix/_exit.c: Add rtld_hidden_def.
23978         * sysdeps/mach/hurd/_exit.c: Likewise.
23979         * sysdeps/nacl/_exit.c: Likewise.
23980         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
23981         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
23983 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
23985         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
23986         bndmov encoding with zero displacement.
23988 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
23989             H.J. Lu  <hongjiu.lu@intel.com>
23991         [BZ #18134]
23992         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
23993         * sysdeps/i386/configure: Regenerated.
23994         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23995         (_dl_runtime_profile): Save and restore Intel MPX return bound
23996         registers when calling _dl_call_pltexit.  Add
23997         PRESERVE_BND_REGS_PREFIX before return.
23998         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
23999         (LRV_BND1_OFFSET): Likewise.
24000         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24001         lrv_bnd1.
24002         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24003         typo in bndmov encoding.
24004         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24005         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
24006         branch instructions to preserve bounds.
24008 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24011         [GLIBC_2.22]: Add fmemopen.
24013 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24015         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24016         returns an error, also try to use host port from __mach_host_self for
24017         the __vm_wire call.
24018         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24020 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24022         [BZ #18400]
24023         [BZ #18648]
24024         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24025         Fix pr_uid and pr_gid members.
24026         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24027         definition to elf_greg_t.
24029 2015-07-08  Roland McGrath  <roland@hack.frob.com>
24031         [BZ #18383]
24032         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24033         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24034         * sysdeps/arm/configure: Regenerated.
24035         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24036         (test-xfail-tst-tlsalign-static): Variable removed.
24038         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24039         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24040         rather than explicit 'ln -s'.
24042         * resolv/rpc/netdb.h: New file.
24043         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24045 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24047         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24048         length buffers.
24049         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24050         test-skeleton.c.
24052         [BZ #6544]
24053         [BZ #11216]
24054         [BZ #12836]
24055         [BZ #13151]
24056         [BZ #13152]
24057         [BZ #14292]
24058         * include/stdio.h (fmemopen): Remove hidden prototype.
24059         (__fmemopen): Add new hidden prototype.
24060         * libio/Makefile: Add oldfmemopen object.
24061         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24062         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24063         compliance.
24064         * libio/oldfmemopen.c: New file: old fmemopen implementation for
24065         symbol compatibility.
24066         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24067         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24068         fmemopen.
24069         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24070         on append and read mode.
24071         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24072         fmemopen.
24073         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24074         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24075         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24076         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24077         Likewise.
24078         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24079         [GLIBC_2.22]: Likewise.
24080         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24081         Likewise.
24082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24083         Likewise.
24084         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24085         [GLIBC_2.22]: Likewise.
24086         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24087         [GLIBC_2.22]: Likewise.
24088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24089         [GLIBC_2.22]: Likewise.
24090         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24091         [GLIBC_2.22]: Likewise.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24093         [GLIBC_2.22]: Likewise.
24094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24095         [GLIBC_2.22]: Likewise.
24096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24097         [GLIBC_2.22]: Likewise.
24098         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24099         Likewise.
24100         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24101         Likewise.
24102         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24103         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24104         [GLIBC_2.22]: Likewise.
24105         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24106         [GLIBC_2.22]: Likewise.
24107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24108         [GLIBC_2.22]: Likewise.
24109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24110         [GLIBC_2.22]: Likewise.
24111         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24112         Likewise.
24113         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24114         Likewise.
24115         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24116         Likewise.
24117         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24118         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24120 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24122         [BZ #18643]
24123         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24124         IPV6_PATHMTU, and IPV6_DONTFRAG.
24126 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
24128         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24129         and _IO_UNBUFFERED.
24130         * libio/oldfileops.c: Likewise.
24131         * libio/wfileops.c: Likewise.
24133 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24135         * nscd/selinux.c: Delete selinux/flask.h include.
24137 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24139         [BZ #18641]
24140         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24141         (putpwent): Likewise.
24142         (getpwnam): Likewise.
24143         (getpwent_r): Likewise.
24144         (getpwuid_r): Likewise.
24145         (getpwnam_r): Likewise.
24146         (fgetpwent_r): Likewise.
24148 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24150         [BZ #18557]
24151         * inet/rcmd.c (__validuser2_sa): Check user first to
24152         short-circuit host check.
24154 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
24155             Mikhail Ilin  <m.ilin@samsung.com>
24157         [BZ #17833]
24158         * elf/Makefile (tests): Add tst-nodelete.
24159         (modules-names): Add tst-nodelete-uniquemod.
24160         (tst-nodelete-uniquemod.so-no-z-defs): New.
24161         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24162         (tst-nodelete-zmod.so-no-z-defs): Likewise.
24163         ($(objpfx)tst-nodelete): Likewise.
24164         ($(objpfx)tst-nodelete.out): Likewise.
24165         (LDFLAGS-tst-nodelete): Likewise.
24166         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24167         * elf/dl-close.c (_dl_close_worker): Add a parameter to
24168         implement forced object deletion.
24169         (_dl_close): Pass false to _dl_close_worker.
24170         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24171         * elf/tst-nodelete.cc: New file.
24172         * elf/tst-nodeletelib.cc: Likewise.
24173         * elf/tst-znodeletelib.cc: Likewise.
24174         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24176 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24178         [BZ #18508]
24179         * stdlib/Makefile ($(objpfx)tst-makecontext3):
24180         Depend on $(libdl).
24181         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24182         is not called infinitely times.
24183         (backtrace_helper): New function.
24184         (trace_arg): New struct.
24185         (st1): Enlarge stack size.
24186         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24187         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24188         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24189         Likewise.
24191 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24193         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24195 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24197         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24198         Include sys/types.h instead of bits/types.h.
24199         Remove inclusion of bits/wordsize.h.
24201 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24203         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24204         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24205         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24206         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24207         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24208         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24210 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24212         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24213         link-defines.sym.
24214         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24215         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24216         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24217         and LR_SIZE.
24218         * sysdeps/i386/link-defines.sym: New file.
24220 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24222         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24223         (modules-names): Add tst-auditmod3a tst-auditmod3b.
24224         ($(objpfx)tst-audit3): New rule.
24225         ($(objpfx)tst-audit3.out): Likewise.
24226         * sysdeps/i386/tst-audit3.c: New file.
24227         * sysdeps/i386/tst-audit3.h: Likewise.
24228         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24229         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24231 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24233         [BZ #18633]
24234         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24235         pointer in C code.
24236         (__strcat_c): Likewise.
24237         (__strcat_g): Likewise.
24239 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24241         [BZ #18592]
24242         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24244 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24246         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24247         New function.  (__ieee754_sqrtf): New function.
24248         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24249         New function.
24250         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24251         New function.
24253 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24255         * sysdeps/ieee754/support.c: Remove unused file.
24257 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24259         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24260         registers instead of d ones so the layout is kernel abi compatible.
24261         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24262         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24263         Likewise.
24265 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24267         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24269 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24271         [BZ #18619]
24272         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24273         and return argument in case of subnormal argument.
24275 2015-07-01  Martin Sebor  <msebor@redhat.com>
24277         [BZ #18435]
24278         * nptl/Makefile: Add tst-once5.cc.
24279         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24280         Remove macro redefinitions.
24281         * nptl/tst-once5.cc: New test.
24283 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24285         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24287         * sysdeps/arm/libm-test-ulps: Regenerated.
24289         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24290         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24292 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24294         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24295         lll_lock_wait_private and lll_futex_wake probes.
24297         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24298         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24299         Likewise.
24300         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24301         atomic_spin_nop.
24302         * sysdeps/x86_64/bits/atomic.h: Likewise.
24303         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24304         to atomic_spin_nop and move ...
24305         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24306         ... here and ...
24307         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24308         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24309         atomic_spin_nop instead of BUSY_WAIT_NOP.
24310         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24311         Likewise.
24312         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24313         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24314         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24315         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24316         instead of atomic_delay.
24318 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24320         [BZ #18613]
24321         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24322         X_ADJ not X when adjusting exponent.
24323         (__ieee754_gamma_r): Do intermediate computations in
24324         round-to-nearest then adjust overflowing and underflowing results
24325         as needed.
24326         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24327         of X_ADJ not X when adjusting exponent.
24328         (__ieee754_gammaf_r): Do intermediate computations in
24329         round-to-nearest then adjust overflowing and underflowing results
24330         as needed.
24331         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24332         log of X_ADJ not X when adjusting exponent.
24333         (__ieee754_gammal_r): Do intermediate computations in
24334         round-to-nearest then adjust overflowing and underflowing results
24335         as needed.  Use 1.0L not 1.0f as numerator of division.
24336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24337         log of X_ADJ not X when adjusting exponent.
24338         (__ieee754_gammal_r): Do intermediate computations in
24339         round-to-nearest then adjust overflowing and underflowing results
24340         as needed.  Use 1.0L not 1.0f as numerator of division.
24341         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24342         of X_ADJ not X when adjusting exponent.
24343         (__ieee754_gammal_r): Do intermediate computations in
24344         round-to-nearest then adjust overflowing and underflowing results
24345         as needed.  Use 1.0L not 1.0f as numerator of division.
24346         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24347         to auto-libm-test-in.
24348         (tgamma_test): Use ALL_RM_TEST.
24349         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24350         tests of tgamma with spurious-overflow.
24351         * math/auto-libm-test-out: Regenerated.
24352         * math/gen-libm-have-vector-test.sh: Do not check for START.
24353         * sysdeps/i386/fpu/libm-test-ulps: Update.
24354         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24356         [BZ #18612]
24357         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24358         arguments, just return 0.5 times the argument, with underflow
24359         forced as needed.
24360         * math/auto-libm-test-in: Add more tests of j1.
24361         * math/auto-libm-test-out: Regenerated.
24363         [BZ #16559]
24364         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24365         (__ieee754_j1): Force underflow exception for small results.
24366         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24367         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24368         (__ieee754_j1f): Force underflow exception for small results.
24369         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24370         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24371         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24372         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24373         (__ieee754_j1l): Force underflow exception for small results.
24374         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24375         * math/auto-libm-test-in: Add more tests of j1 and jn.
24376         * math/auto-libm-test-out: Regenerated.
24378         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24379         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24380         (PF_MPLS): Likewise.
24381         (AF_IB): Likewise.
24382         (AF_MPLS): Likewise.
24383         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24384         value and macro.
24385         (MS_RMT_MASK): Include MS_LAZYTIME.
24387 2015-06-26  Mel Gorman  <mgorman@suse.de>
24389         [BZ #18502]
24390         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24391         already minimal.
24393 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24395         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24396         (DT_MIPS_NUM): Update.
24397         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24398         DT_MIPS_RLD_MAP_REL.
24400 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24402         [BZ #16559]
24403         [BZ #18602]
24404         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24405         round-to-nearest internally then recompute results that
24406         underflowed to zero in the original rounding mode.
24407         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24410         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24411         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24412         * sysdeps/i386/fpu/libm-test-ulps: Update.
24413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24415 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24417         * NEWS: Fixed description of link with vector math library.
24419 2015-06-25  Andreas Schwab  <schwab@suse.de>
24421         [BZ #18549]
24422         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24423         * libio/test-fmemopen.c (do_test): Add test for it.
24425 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24427         [BZ #17841]
24428         * Makeconfig (no-pie-ldflag): New.
24429         (+link): Set to $(+link-pie) if default to PIE.
24430         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24431         * config.make.in (build-pie-default): New.
24432         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24433         is default.  AC_SUBST.
24434         * configure: Regenerated.
24435         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24437 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24439         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24440         to 'unsigned int'.
24442         * resolv/gai_misc.h (struct waitlist): Change type of field
24443         counterp to 'volatile unsigned int *'.
24444         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24445         FUTEXADDR and OLDVAL.
24446         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24447         Give local variable TOTAL type 'volatile unsigned int'.
24448         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24449         * resolv/gai_suspend.c (gai_suspend):
24450         Give local variable CNTR type 'unsigned int'.
24452         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24453         counterp to 'volatile unsigned int *'.
24454         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24455         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24456         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24457         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24458         Give local variable TOTAL type 'volatile unsigned int'.
24459         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24461 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24463         [BZ #18383]
24464         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24465         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24466         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24467         comment for i386/x86-64.
24468         (test-xfail-tst-tlsalign-extern-static): Removed.
24470 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24472         * math/test-double.h: New file.
24473         * math/test-float.h: Likewise.
24474         * math/test-ldouble.h: Likewise.
24475         * math/test-math-inline.h: Likewise.
24476         * math/test-math-no-inline.h: Likewise.
24477         * math/test-math-scalar.h: Likewise.
24478         * math/test-math-vector.h: Likewise.
24479         * math/test-vec-loop.h: Remove file.  Contents moved into
24480         test-math-vector.h.
24481         * math/libm-test.inc (MATHCONST): Do not document macro.
24482         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24483         and test-math-scalar.h.
24484         (FUNC): Remove macro.
24485         (FUNC_TEST): Likewise.
24486         (FLOAT): Likewise.
24487         (MATHCONST): Likewise.
24488         (PRINTF_EXPR): Likewise.
24489         (PRINTF_XEXPR): Likewise.
24490         (PRINTF_NEXPR): Likewise.
24491         (TEST_DOUBLE): Likewise.
24492         (TEST_MATHVEC): Likewise.
24493         (__NO_MATH_INLINES): Likewise.
24494         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24495         and test-math-scalar.h.
24496         (FUNC): Remove macro.
24497         (FUNC_TEST): Likewise.
24498         (FLOAT): Likewise.
24499         (MATHCONST): Likewise.
24500         (PRINTF_EXPR): Likewise.
24501         (PRINTF_XEXPR): Likewise.
24502         (PRINTF_NEXPR): Likewise.
24503         (TEST_FLOAT): Likewise.
24504         (TEST_MATHVEC): Likewise.
24505         (__NO_MATH_INLINES): Likewise.
24506         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24507         and test-math-scalar.h.
24508         (FUNC): Remove macro.
24509         (FUNC_TEST): Likewise.
24510         (FLOAT): Likewise.
24511         (MATHCONST): Likewise.
24512         (PRINTF_EXPR): Likewise.
24513         (PRINTF_XEXPR): Likewise.
24514         (PRINTF_NEXPR): Likewise.
24515         (TEST_DOUBLE): Likewise.
24516         (TEST_MATHVEC): Likewise.
24517         (TEST_INLINE): Likewise.
24518         (__NO_MATH_INLINES): Likewise.
24519         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24520         test-math-scalar.h.
24521         (FUNC): Remove macro.
24522         (FUNC_TEST): Likewise.
24523         (FLOAT): Likewise.
24524         (MATHCONST): Likewise.
24525         (PRINTF_EXPR): Likewise.
24526         (PRINTF_XEXPR): Likewise.
24527         (PRINTF_NEXPR): Likewise.
24528         (TEST_FLOAT): Likewise.
24529         (TEST_MATHVEC): Likewise.
24530         (TEST_INLINE): Likewise.
24531         (__NO_MATH_INLINES): Likewise.
24532         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24533         and test-math-scalar.h.
24534         (FUNC): Remove macro.
24535         (FUNC_TEST): Likewise.
24536         (FLOAT): Likewise.
24537         (MATHCONST): Likewise.
24538         (PRINTF_EXPR): Likewise.
24539         (PRINTF_XEXPR): Likewise.
24540         (PRINTF_NEXPR): Likewise.
24541         (TEST_LDOUBLE): Likewise.
24542         (TEST_MATHVEC): Likewise.
24543         (TEST_INLINE): Likewise.
24544         (__NO_MATH_INLINES): Likewise.
24545         * math/test-ldouble.c: Include test-ldouble.h,
24546         test-math-no-inline.h and test-math-scalar.h.
24547         (FUNC): Remove macro.
24548         (FUNC_TEST): Likewise.
24549         (FLOAT): Likewise.
24550         (MATHCONST): Likewise.
24551         (PRINTF_EXPR): Likewise.
24552         (PRINTF_XEXPR): Likewise.
24553         (PRINTF_NEXPR): Likewise.
24554         (TEST_LDOUBLE): Likewise.
24555         (TEST_MATHVEC): Likewise.
24556         (__NO_MATH_INLINES): Likewise.
24557         * math/test-double-vlen2.h: Include test-double.h,
24558         test-math-no-inline.h and test-math-vector.h.
24559         (FLOAT): Remove macro.
24560         (FUNC): Likewise.
24561         (MATHCONST): Likewise.
24562         (PRINTF_EXPR): Likewise.
24563         (PRINTF_XEXPR): Likewise.
24564         (PRINTF_NEXPR): Likewise.
24565         (TEST_DOUBLE): Likewise.
24566         (TEST_MATHVEC): Likewise.
24567         (__NO_MATH_INLINES): Likewise.
24568         (CNCT): Likewise.
24569         (CONCAT): Likewise.
24570         (WRAPPER_NAME): Likewise.
24571         (WRAPPER_DECL): Likewise.
24572         (WRAPPER_DECL_ff): Likewise.
24573         (WRAPPER_DECL_fFF): Likewise.
24574         (VECTOR_WRAPPER): Likewise.
24575         (VECTOR_WRAPPER_ff): Likewise.
24576         (VECTOR_WRAPPER_fFF): Likewise.
24577         (VEC_LEN): New macro.
24578         * math/test-double-vlen4.h: Include test-double.h,
24579         test-math-no-inline.h and test-math-vector.h.
24580         (FLOAT): Remove macro.
24581         (FUNC): Likewise.
24582         (MATHCONST): Likewise.
24583         (PRINTF_EXPR): Likewise.
24584         (PRINTF_XEXPR): Likewise.
24585         (PRINTF_NEXPR): Likewise.
24586         (TEST_DOUBLE): Likewise.
24587         (TEST_MATHVEC): Likewise.
24588         (__NO_MATH_INLINES): Likewise.
24589         (CNCT): Likewise.
24590         (CONCAT): Likewise.
24591         (WRAPPER_NAME): Likewise.
24592         (WRAPPER_DECL): Likewise.
24593         (WRAPPER_DECL_ff): Likewise.
24594         (WRAPPER_DECL_fFF): Likewise.
24595         (VECTOR_WRAPPER): Likewise.
24596         (VECTOR_WRAPPER_ff): Likewise.
24597         (VECTOR_WRAPPER_fFF): Likewise.
24598         (VEC_LEN): New macro.
24599         * math/test-double-vlen8.h: Include test-double.h,
24600         test-math-no-inline.h and test-math-vector.h.
24601         (FLOAT): Remove macro.
24602         (FUNC): Likewise.
24603         (MATHCONST): Likewise.
24604         (PRINTF_EXPR): Likewise.
24605         (PRINTF_XEXPR): Likewise.
24606         (PRINTF_NEXPR): Likewise.
24607         (TEST_DOUBLE): Likewise.
24608         (TEST_MATHVEC): Likewise.
24609         (__NO_MATH_INLINES): Likewise.
24610         (CNCT): Likewise.
24611         (CONCAT): Likewise.
24612         (WRAPPER_NAME): Likewise.
24613         (WRAPPER_DECL): Likewise.
24614         (WRAPPER_DECL_ff): Likewise.
24615         (WRAPPER_DECL_fFF): Likewise.
24616         (VECTOR_WRAPPER): Likewise.
24617         (VECTOR_WRAPPER_ff): Likewise.
24618         (VECTOR_WRAPPER_fFF): Likewise.
24619         (VEC_LEN): New macro.
24620         * math/test-float-vlen4.h: Include test-float.h,
24621         test-math-no-inline.h and test-math-vector.h.
24622         (FLOAT): Remove macro.
24623         (FUNC): Likewise.
24624         (MATHCONST): Likewise.
24625         (PRINTF_EXPR): Likewise.
24626         (PRINTF_XEXPR): Likewise.
24627         (PRINTF_NEXPR): Likewise.
24628         (TEST_FLOAT): Likewise.
24629         (TEST_MATHVEC): Likewise.
24630         (__NO_MATH_INLINES): Likewise.
24631         (CNCT): Likewise.
24632         (CONCAT): Likewise.
24633         (WRAPPER_NAME): Likewise.
24634         (WRAPPER_DECL): Likewise.
24635         (WRAPPER_DECL_ff): Likewise.
24636         (WRAPPER_DECL_fFF): Likewise.
24637         (VECTOR_WRAPPER): Likewise.
24638         (VECTOR_WRAPPER_ff): Likewise.
24639         (VECTOR_WRAPPER_fFF): Likewise.
24640         (VEC_LEN): New macro.
24641         * math/test-float-vlen8.h: Include test-float.h,
24642         test-math-no-inline.h and test-math-vector.h.
24643         (FLOAT): Remove macro.
24644         (FUNC): Likewise.
24645         (MATHCONST): Likewise.
24646         (PRINTF_EXPR): Likewise.
24647         (PRINTF_XEXPR): Likewise.
24648         (PRINTF_NEXPR): Likewise.
24649         (TEST_FLOAT): Likewise.
24650         (TEST_MATHVEC): Likewise.
24651         (__NO_MATH_INLINES): Likewise.
24652         (CNCT): Likewise.
24653         (CONCAT): Likewise.
24654         (WRAPPER_NAME): Likewise.
24655         (WRAPPER_DECL): Likewise.
24656         (WRAPPER_DECL_ff): Likewise.
24657         (WRAPPER_DECL_fFF): Likewise.
24658         (VECTOR_WRAPPER): Likewise.
24659         (VECTOR_WRAPPER_ff): Likewise.
24660         (VECTOR_WRAPPER_fFF): Likewise.
24661         (VEC_LEN): New macro.
24662         * math/test-float-vlen16.h: Include test-float.h,
24663         test-math-no-inline.h and test-math-vector.h.
24664         (FLOAT): Remove macro.
24665         (FUNC): Likewise.
24666         (MATHCONST): Likewise.
24667         (PRINTF_EXPR): Likewise.
24668         (PRINTF_XEXPR): Likewise.
24669         (PRINTF_NEXPR): Likewise.
24670         (TEST_FLOAT): Likewise.
24671         (TEST_MATHVEC): Likewise.
24672         (__NO_MATH_INLINES): Likewise.
24673         (CNCT): Likewise.
24674         (CONCAT): Likewise.
24675         (WRAPPER_NAME): Likewise.
24676         (WRAPPER_DECL): Likewise.
24677         (WRAPPER_DECL_ff): Likewise.
24678         (WRAPPER_DECL_fFF): Likewise.
24679         (VECTOR_WRAPPER): Likewise.
24680         (VECTOR_WRAPPER_ff): Likewise.
24681         (VECTOR_WRAPPER_fFF): Likewise.
24682         (VEC_LEN): New macro.
24683         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24684         test-vec-loop.h.
24685         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24686         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24687         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24688         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24689         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24690         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24691         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24693 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24695         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24696         (__getlogin_r): ... this.
24698 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24700         [BZ #18594]
24701         * math/s_ccosh.c (__ccosh): Compare with least normal value
24702         instead of comparing class with FP_SUBNORMAL.
24703         * math/s_ccoshf.c (__ccoshf): Likewise.
24704         * math/s_ccoshl.c (__ccoshl): Likewise.
24705         * math/s_cexp.c (__cexp): Likewise.
24706         * math/s_cexpf.c (__cexpf): Likewise.
24707         * math/s_cexpl.c (__cexpl): Likewise.
24708         * math/s_csin.c (__csin): Likewise.
24709         * math/s_csinf.c (__csinf): Likewise.
24710         * math/s_csinh.c (__csinh): Likewise.
24711         * math/s_csinhf.c (__csinhf): Likewise.
24712         * math/s_csinhl.c (__csinhl): Likewise.
24713         * math/s_csinl.c (__csinl): Likewise.
24714         * math/s_ctan.c (__ctan): Likewise.
24715         * math/s_ctanf.c (__ctanf): Likewise.
24716         * math/s_ctanh.c (__ctanh): Likewise.
24717         * math/s_ctanhf.c (__ctanhf): Likewise.
24718         * math/s_ctanhl.c (__ctanhl): Likewise.
24719         * math/s_ctanl.c (__ctanl): Likewise.
24720         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24721         csin, csinh, ctan and ctanh.
24722         * math/auto-libm-test-out: Regenerated.
24723         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24724         * sysdeps/i386/fpu/libm-test-ulps: Update.
24725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24727 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24729         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24730         return value is wrong, print the expected value too.
24732 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24734         [BZ #18585]
24735         * elf/readlib.c (is_gdb_python_file): New.
24736         (process_file): Don't issue errors on filenames with -gdb.py
24737         suffix.
24739 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24741         * math/auto-libm-test-in: Add more tests of csin and csinh.
24742         * math/auto-libm-test-out: Regenerated.
24743         * math/libm-test.inc (csin_test_data): Remove tests moved to
24744         auto-libm-test-in.
24745         (csinh_test_data): Likewise.
24747         [BZ #18593]
24748         * math/s_csin.c (__csin): Negate before rather than after possibly
24749         overflowing multiplication.
24750         * math/s_csinf.c (__csinf): Likewise.
24751         * math/s_csinh.c (__csinh): Likewise.
24752         * math/s_csinhf.c (__csinhf): Likewise.
24753         * math/s_csinhl.c (__csinhl): Likewise.
24754         * math/s_csinl.c (__csinl): Likewise.
24755         * math/auto-libm-test-in: Add some tests of csin and csinh.
24756         * math/auto-libm-test-out: Regenerated.
24757         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24758         (csinh_test_data): Likewise.
24759         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24761         [BZ #18586]
24762         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24763         underflow exception for small results.
24765 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
24767         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
24769         variable and included header.
24770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
24771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
24772         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
24773         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
24774         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
24775         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
24776         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
24777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
24778         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
24779         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
24780         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
24781         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
24782         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
24783         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
24784         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
24785         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
24787 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24789         [BZ #16526]
24790         [BZ #16538]
24791         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
24792         (__sin): Force underflow exception for arguments with small
24793         absolute value.
24794         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
24795         (__kernel_sinf): Force underflow exception for arguments with
24796         small absolute value.
24797         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
24798         (__kernel_sincosl): Force underflow exception for arguments with
24799         small absolute value.
24800         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
24801         (__kernel_sinl): Force underflow exception for arguments with
24802         small absolute value.
24803         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
24804         (__kernel_sincosl): Force underflow exception for arguments with
24805         small absolute value.
24806         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
24807         (__kernel_sinl): Force underflow exception for arguments with
24808         small absolute value.
24809         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
24810         (__kernel_sinl): Force underflow exception for arguments with
24811         small absolute value.
24812         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
24813         (__kernel_sinf): Force underflow exception for arguments with
24814         small absolute value.
24815         * math/auto-libm-test-in: Add more tests of sin and sincos.
24816         * math/auto-libm-test-out: Regenerated.
24818         [BZ #18245]
24819         [BZ #18583]
24820         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
24821         (__kernel_standard_l): Use feholdexcept and fesetenv around
24822         conversion to double instead of special-casing overflow and
24823         underflow.
24824         * math/libm-test.inc (fmod_test_data): Add more tests.
24825         (remainder_test_data): Likewise.
24826         (sqrt_test_data): Likewise.
24828 2015-06-23  Torvald Riegel  <triegel@redhat.com>
24830         [BZ #17403]
24831         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
24832         atomic_read_barrier, atomic_write_barrier): Define.
24833         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
24834         atomic_read_barrier, atomic_write_barrier): Define.
24836 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24838         * math/Makefile [$(PERL) != no]
24839         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
24840         dependency on libm-test.stmp below the inclusion of Rules.
24842 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
24844         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24845         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
24846         and included header.
24847         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
24848         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
24849         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
24850         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
24851         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
24852         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
24853         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
24854         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
24855         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
24856         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
24857         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
24858         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
24859         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
24860         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
24861         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
24862         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
24863         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
24864         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
24865         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
24867 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
24869         [BZ #18371]
24870         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
24871         intermediate but not final result might underflow.
24872         * math/s_csqrtf.c (__csqrtf): Likewise.
24873         * math/s_csqrtl.c (__csqrtl): Likewise.
24874         * math/auto-libm-test-in: Add more tests of csqrt.
24875         * math/auto-libm-test-out: Regenerated.
24876         * sysdeps/i386/fpu/libm-test-ulps: Update.
24878         [BZ #18219]
24879         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
24880         threshold on absolute value of exponent for which scaling is used.
24881         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
24882         * math/auto-libm-test-in: Add more tests of exp2.
24883         * math/auto-libm-test-out: Regenerated.
24885 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
24887         [BZ #17977]
24888         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
24889         when initializing interface list, based on the bug analysis
24890         and the patch proposed by Eric Newton.
24891         * resolv/tst-res_hconf_reorder.c: New test.
24892         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
24893         tst-res_hconf_reorder.
24894         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
24895         and $(shared-thread-library).
24896         (tst-res_hconf_reorder-ENV): New variable.
24898         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
24899         in comment.
24901 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
24903         [BZ #16353]
24904         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
24905         (__expm1): Force underflow exception for arguments with small
24906         absolute value.
24907         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
24908         (__expm1f): Force underflow exception for arguments with small
24909         absolute value.
24910         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
24911         (__expm1): Force underflow exception for arguments with small
24912         absolute value.
24913         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
24914         (__expm1f): Force underflow exception for arguments with small
24915         absolute value.
24916         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
24917         Check for small arguments before calling __expm1.
24918         * math/auto-libm-test-in: Do not mark underflow exceptions as
24919         possibly missing for bug 16353.
24920         * math/auto-libm-test-out: Regenerated.
24922 2015-06-22  Andreas Schwab  <schwab@suse.de>
24924         [BZ #18513]
24925         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
24926         PTR queries.
24928 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
24930         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
24932         * string/strcoll_l.c: Remove unused struct element idxnow.
24934 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
24936         [BZ #18569]
24937         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
24938         underflow and return argument in case of subnormal argument.
24939         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
24940         Likewise.
24941         * math/auto-libm-test-in: Add more tests of expm1.
24942         * math/auto-libm-test-out: Regenerated.
24944         [BZ #16361]
24945         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24946         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24947         tiny results.
24948         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
24949         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
24950         tiny results.
24951         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
24952         mark underflow exceptions as possibly missing for bug 16361.
24953         * math/auto-libm-test-out: Regenerated.
24955 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
24957         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
24958         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
24959         Remove variable.
24960         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
24961         (test-xfail-XOPEN2K8/utmpx.h/conform).
24963         * conform/conformtest.pl ($xerrors): New variable.
24964         (note_error): New function.
24965         (compiletest): New argument $xfail.  Use not_error.
24966         (runtest): Likewise.
24967         (top level): Handle xfail- lines.  Update calls to compiletest and
24968         runtest.  Handle xfail- and optional- in headers listed with
24969         allow-header.
24970         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
24971         (O_EXEC): Likewise.
24972         (O_SEARCH): Likewise.
24973         * conform/data/stropts.h-data (ioctl): Likewise.
24974         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
24975         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
24976         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
24977         (msghdr.msg_controllen): Likewise.
24978         (cmsghdr.cmsg_len): Likewise.
24979         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
24980         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
24981         variable.
24982         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
24983         (test-xfail-XPG4/stropts.h/conform): Likewise.
24984         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
24985         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
24986         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
24987         (test-xfail-UNIX98/stropts.h/conform): Likewise.
24988         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
24989         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
24990         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
24991         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
24992         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
24993         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
24994         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
24995         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
24996         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
24997         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
24998         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
24999         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25000         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25001         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25002         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25004 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25006         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25007         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25008         definitions for proper unfolding of __MATHDECL_VEC.
25010 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25012         * benchtests/bench-strcoll.c:
25013         Include string.h.
25014         (main): Remove unused variable res.
25016 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25018         * timezone/Makefile (%/UTC %/Universal):
25019         Generate test-result files for UTC and Universal.
25021 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25023         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25025 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
25027         [BZ #16350]
25028         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25029         for arguments with small absolute value.
25030         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25031         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25032         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25033         (__asinh): Force underflow exception for arguments with small
25034         absolute value.
25035         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25036         (__asinhf): Force underflow exception for arguments with small
25037         absolute value.
25038         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25039         (__asinhl): Force underflow exception for arguments with small
25040         absolute value.
25041         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25042         (__asinhl): Force underflow exception for arguments with small
25043         absolute value.
25044         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25045         (__asinhl): Force underflow exception for arguments with small
25046         absolute value.
25047         * math/auto-libm-test-in: Do not mark underflow exceptions as
25048         possibly missing for bug 16350.
25049         * math/auto-libm-test-out: Regenerated.
25051         * include/bits/ipc.h: Remove file.
25052         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25053         variable.
25054         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25055         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25056         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25057         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25058         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25059         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25060         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25061         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25062         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25064         * math/auto-libm-test-in: Remove spurious underflow allowance for
25065         tests of cexp.
25066         * math/auto-libm-test-out: Regenerated.
25068         [BZ #18558]
25069         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25070         unconditional definition.
25071         (MCAST_BLOCK_SOURCE): Likewise.
25072         (MCAST_UNBLOCK_SOURCE): Likewise.
25073         (MCAST_LEAVE_GROUP): Likewise.
25074         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25075         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25076         (MCAST_MSFILTER): Likewise.
25077         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25078         Remove variable.
25079         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25080         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25081         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25082         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25083         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25085 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
25087         * NEWS: Mention addition of x86_64 vector sincosf.
25088         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25089         * math/test-float-vlen4.h: Likewise.
25090         * math/test-float-vlen8.h: Likewise.
25091         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25092         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25093         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25094         * sysdeps/x86_64/fpu/Versions: New versions added.
25095         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25096         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25097         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25098         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25099         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25100         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25101         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25102         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25103         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25104         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25105         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25106         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25107         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25108         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25109         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25110         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25111         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25112         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25113         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25114         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25115         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25116         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25117         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25118         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25120         * NEWS: Mention addition of x86_64 vector sincos.
25121         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25122         * math/math.h (__MATHDECL_VEC): New macro.
25123         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25124         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25125         declaration under condition.
25126         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25127         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25128         TEST_VEC_LOOP change.
25129         * math/test-double-vlen4.h: Likewise.
25130         * math/test-double-vlen8.h: Likewise.
25131         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25132         * math/test-float-vlen4.h: Likewise.
25133         * math/test-float-vlen8.h: Likewise.
25134         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25135         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25136         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25137         * sysdeps/x86_64/fpu/Versions: New versions added.
25138         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25139         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25140         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25141         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25142         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25143         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25144         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25145         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25146         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25147         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25148         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25149         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25150         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25151         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25152         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25153         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25154         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25155         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25156         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25157         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25158         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25159         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25160         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25161         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25163         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25164         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25165         redirections for powf.
25166         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25167         * sysdeps/x86_64/fpu/Versions: New versions added.
25168         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25169         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25170         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25171         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25172         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25173         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25174         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25175         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25176         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25177         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25178         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25179         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25180         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25181         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25182         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25183         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25184         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25185         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25186         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25187         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25188         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25189         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25190         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25191         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25192         * math/test-float-vlen16.h: Fixed 2 argument macro.
25193         * math/test-float-vlen4.h: Likewise.
25194         * math/test-float-vlen8.h: Likewise.
25195         * NEWS: Mention addition of x86_64 vector powf.
25197 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
25199         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25200         and redefine.
25201         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25202         and redefine.
25203         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25204         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25205         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25207         [BZ #18553]
25208         * resource/getpriority.c (getpriority): Rename to __getpriority
25209         and define as weak alias of __getpriority.
25210         * resource/setpriority.c (setpriority): Rename to __setpriority
25211         and define as weak alias of __setpriority.
25212         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25213         __getpriority and define as weak alias of __getpriority.
25214         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25215         __setpriority and define as weak alias of __setpriority.
25216         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25217         strong name.
25218         (setpriority): Use __setpriority as strong name.
25219         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25220         __getpriority and define as weak alias of __getpriority.
25221         * include/sys/resource.h (__getpriority): Declare.  Use
25222         libc_hidden_proto.
25223         (__setpriority): Likewise.
25224         (getpriority): Don't use libc_hidden_proto.
25225         (setpriority): Likewise.
25226         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25227         getpriority.  Call __setpriority instead of setpriority.
25228         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25229         Remove variable.
25231         [BZ #18547]
25232         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25233         as weak alias of __getttynam.  Use prototype function definition.
25234         Call __setttyent, __getttyent and __endttyent instead of
25235         setttyent, getttyent and endttyent.
25236         (getttyent): Rename to __getttyent and define as weak alias of
25237         __getttyent.  Call __setttyent instead of setttyent.  Call
25238         __fgets_unlocked instead of fgets_unlocked.
25239         (setttyent): Rename to __setttyent and define as weak alias of
25240         __setttyent.
25241         (endttyent): Rename to __endttyent and define as weak alias of
25242         __endttyent.
25243         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25244         (__setttyent): Likewise.
25245         (__endttyent): Likewise.
25246         (getttyent): Don't use libc_hidden_proto.
25247         (setttyent): Likewise.
25248         (endttyent): Likewise.
25249         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25250         __endttyent instead of setttyent, getttyent and endttyent.
25251         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25252         Remove variable.
25254         [BZ #18546]
25255         * socket/recv.c (__recv): Use libc_hidden_def.
25256         * socket/socket.c (__socket): Likewise.
25257         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25258         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25259         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25260         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25261         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25262         libc_hidden_def.
25263         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25264         libc_hidden_weak.
25265         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25266         Use libc_hidden_proto.
25267         (__recv): Likewise.
25268         * socket/Versions (libc): Export __recv and __socket at version
25269         GLIBC_PRIVATE.
25270         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25271         instead of recv.
25272         (init_mq_netlink): Call __socket instead of socket.
25273         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25274         Remove variable.
25276         [BZ #18545]
25277         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25278         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25279         hidden_weak.
25280         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25281         define as alias of __mq_timedsend.  Use hidden_weak.
25282         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25283         __mq_timedsend as strong name.
25284         (mq_timedreceive): Use __mq_timedreceive as strong name.
25285         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25286         (__mq_timedreceive): Likewise.
25287         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25288         __mq_timedreceive instead of mq_timedreceive.
25289         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25290         instead of mq_timedsend.
25291         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25292         Remove variable.
25294         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25295         hidden_def and hidden_weak instead of libc_hidden_def and
25296         libc_hidden_weak.
25297         (top level): Refer to hidden_def in comment.
25298         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25299         macro.  Use it instead of libc_hidden_def.
25300         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25301         specify __GI_* name explicitly.
25302         (mq_timedreceive): Likewise.
25303         (mq_setattr): Likewise.
25305         [BZ #18544]
25306         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25307         __pthread_barrier_init and define as weak alias of
25308         __pthread_barrier_init.
25309         * sysdeps/sparc/nptl/pthread_barrier_init.c
25310         (pthread_barrier_init): Likewise.
25311         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25312         __pthread_barrier_wait and define as weak alias of
25313         __pthread_barrier_wait.
25314         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25315         (pthread_barrier_wait): Likewise.
25316         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25317         (pthread_barrier_wait): Likewise.
25318         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25319         (pthread_barrier_wait): Likewise.
25320         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25321         (pthread_barrier_wait): Likewise.
25322         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25323         __pthread_barrier_wait at version GLIBC_PRIVATE.
25324         * include/pthread.h (__pthread_barrier_init): Declare.
25325         (__pthread_barrier_wait): Likewise.
25326         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25327         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25328         (helper_thread): Likewise.
25329         (init_mq_netlink): Call __pthread_barrier_init instead of
25330         pthread_barrier_init.
25332         [BZ #18542]
25333         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25334         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25335         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25336         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25337         vswscanf.
25338         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25339         Remove variable.
25341         [BZ #18540]
25342         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25343         strong alias of _IO_fflush.  Use libc_hidden_def.
25344         * libio/iofflush_u.c (fflush_unlocked): Rename to
25345         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25346         Use libc_hidden_weak.
25347         * include/stdio.h (__fflush_unlocked): Declare.  Use
25348         libc_hidden_proto.
25349         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25350         fflush_unlocked.
25351         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25352         Remove variable.
25354         [BZ #18539]
25355         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25356         define as weak alias of __addseverity.
25357         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25358         Remove variable.
25359         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25360         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25361         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25363         [BZ #18536]
25364         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25365         (__tfind): Likewise.
25366         (__tdelete): Likewise.
25367         (__twalk): Likewise.
25368         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25369         __twalk to GLIBC_PRIVATE.
25370         * include/search.h (__tsearch): Use libc_hidden_proto.
25371         (__tfind): Likewise.
25372         (__tdelete): Likewise.
25373         (__twalk): Likewise.
25374         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25375         Call __tdelete instead of tdelete.
25376         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25377         tfind.  Call __tsearch instead of tsearch.
25378         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25379         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25380         Remove variable.
25381         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25383         [BZ #18534]
25384         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25385         (dprintf): Define as a weak alias of __dprintf, not a strong
25386         alias.
25387         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25388         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25389         dprintf.
25390         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25391         Remove variable.
25392         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25393         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25395         [BZ #18533]
25396         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25397         not a strong alias.
25398         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25399         Remove variable.
25401         [BZ #18532]
25402         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25403         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25404         (in6addr_loopback): Rename to __in6addr_loopback and define as
25405         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25406         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25407         libc_hidden_proto.
25408         (__in6addr_any): Likewise.
25409         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25410         in6addr_any.
25411         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25412         variable.
25413         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25415 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25417         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25418         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25419         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25420         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25421         redirections for pow.
25422         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25423         * sysdeps/x86_64/fpu/Versions: New versions added.
25424         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25426         build of SSE, AVX2 and AVX512 IFUNC versions.
25427         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25428         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25429         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25430         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25431         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25432         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25433         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25434         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25435         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25436         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25437         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25438         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25439         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25440         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25441         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25442         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25443         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25444         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25445         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25446         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25447         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25448         * NEWS: Mention addition of x86_64 vector pow.
25450         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25451         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25452         redirections for expf.
25453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25454         * sysdeps/x86_64/fpu/Versions: New versions added.
25455         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25456         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25457         build of SSE, AVX2 and AVX512 IFUNC versions.
25458         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25459         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25460         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25461         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25462         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25463         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25464         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25465         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25466         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25467         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25468         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25469         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25470         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25471         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25472         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25473         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25474         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25475         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25476         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25477         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25478         * NEWS: Mention addition of x86_64 vector expf.
25480         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25481         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25482         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25483         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25484         redirections for exp.
25485         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25486         * sysdeps/x86_64/fpu/Versions: New versions added.
25487         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25488         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25489         build of SSE, AVX2 and AVX512 IFUNC versions.
25490         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25491         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25492         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25493         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25494         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25495         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25496         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25497         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25498         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25499         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25500         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25501         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25502         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25503         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25504         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25505         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25506         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25507         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25508         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25509         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25510         * NEWS: Mention addition of x86_64 vector exp.
25512         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25513         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25514         redirections for logf.
25515         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25516         * sysdeps/x86_64/fpu/Versions: New versions added.
25517         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25518         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25519         build of SSE, AVX2 and AVX512 IFUNC versions.
25520         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25521         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25522         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25523         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25524         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25525         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25526         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25527         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25528         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25529         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25530         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25531         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25532         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25533         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25534         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25535         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25536         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25537         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25538         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25539         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25540         * NEWS: Mention addition of x86_64 vector logf.
25542         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25543         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25544         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25545         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25546         redirections for log.
25547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25548         * sysdeps/x86_64/fpu/Versions: New versions added.
25549         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25550         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25551         build of SSE, AVX2 and AVX512 IFUNC versions.
25552         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25553         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25554         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25555         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25556         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25557         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25558         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25559         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25560         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25561         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25562         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25563         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25564         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25565         test.
25566         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25567         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25569         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25570         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25571         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25572         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25573         * NEWS: Mention addition of x86_64 vector log.
25575 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25577         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25578         cfi_adjust_cfa_offset argument.
25579         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25580         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25582         [BZ #18034]
25583         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25584         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25585         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25586         ordering using ldar.
25587         (_dl_tlsdesc_dynamic): Likewise.
25588         (_dl_tlsdesc_return_lazy): Likewise.
25589         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25590         relaxed atomics instead of volatile and synchronize with release store.
25591         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25592         volatile.
25593         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25595 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25597         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25598         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25599         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25600         * sysdeps/x86_64/fpu/Versions: New versions added.
25601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25602         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25603         build of SSE, AVX2 and AVX512 IFUNC versions.
25604         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25605         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25606         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25607         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25608         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25609         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25610         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25611         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25612         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25613         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25614         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25615         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25616         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25617         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25618         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25619         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25620         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25621         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25622         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25623         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25624         * NEWS: Mention addition of x86_64 vector sinf.
25626 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25628         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25629         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25630         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25631         Remove variable.
25632         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25633         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25635 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25637         [BZ #18530]
25638         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25639         strong alias of _IO_fputs.  Use libc_hidden_def.
25640         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25641         and define as weak alias of __fputs_unlocked.  Use
25642         libc_hidden_weak.
25643         * include/stdio.h (__fputs_unlocked): Declare.  Use
25644         libc_hidden_proto.
25645         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25646         fputs_unlocked.
25648         [BZ #18529]
25649         * resolv/netdb.h [__USE_POSIX]: Change condition to
25650         [__USE_XOPEN2K].
25651         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25652         not expect.
25653         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25654         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25655         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25656         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25657         [XPG4 || UNIX98] (AI_ALL): Likewise.
25658         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25659         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25660         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25661         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25662         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25663         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25664         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25665         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25666         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25667         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25668         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25669         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25670         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25671         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25672         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25673         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25674         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25675         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25676         [XPG4 || UNIX98] (gai_strerror): Likewise.
25677         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25678         [XPG4 || UNIX98] (getnameinfo): Likewise.
25680         [BZ #18528]
25681         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25682         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25683         __USE_XOPEN2K8].
25684         (getgrent): Likewise.
25685         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25686         expect.
25687         [XPG3 || POSIX2008] (endgrent): Likewise.
25688         [XPG3] (setgrent): Likewise.
25689         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25690         variable.
25691         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25693         [BZ #18527]
25694         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25695         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
25696         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25697         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25698         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25699         * include/unistd.h (__getlogin_r): Declare.  Use
25700         libc_hidden_proto.
25701         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25702         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25703         variable.
25704         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25705         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25706         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25708 2015-06-12  Martin Sebor  <msebor@redhat.com>
25710         [BZ #18512]
25711         * Makerules (check-install-supported): New target.
25712         (install): Add check-install-supported as a dependency.
25713         * manual/install.texi (Installing the C Library): Document
25714         that overriding prefix and exec_prefix is not supported.
25715         Mention DESTDIR.
25716         * INSTALL: Regenerate from the above.
25718 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25720         [BZ #18519]
25721         * posix/Versions (libc): Export __libc_pread at version
25722         GLIBC_PRIVATE.
25723         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25724         instead of pread.
25725         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25726         variable.
25728         [BZ #18522]
25729         * misc/efgcvt_r.c
25730         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25731         (cvt_symbol): Use weak_alias instead of strong_alias.
25732         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25733         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25734         Remove variable.
25735         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25736         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25738         [BZ #18520]
25739         * inet/herrno.c (h_errno): Rename to __h_errno.
25740         (__libc_h_errno): Define as alias of __h_errno not h_errno.
25741         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25742         to __h_errno instead of h_errno.
25743         * nptl/herrno.c (h_errno): Rename to __h_errno.
25744         (__h_errno_location): Refer to __h_errno not h_errno.
25745         * resolv/Versions (h_errno): Rename to __h_errno.
25746         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25747         Remove variable.
25748         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25750 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
25752         * configure.ac: More strict check for AVX512 assembler support.
25753         * configure: Regenerated.
25755         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25756         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25757         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25758         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25759         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25760         * sysdeps/x86_64/fpu/Versions: New versions added.
25761         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25762         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25763         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25764         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25765         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25766         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25767         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25768         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
25769         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
25770         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
25771         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
25772         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
25773         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
25774         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
25775         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
25776         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
25777         test.
25778         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25779         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25780         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25781         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25782         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25783         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25784         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25785         * NEWS: Mention addition of x86_64 vector sin.
25787 2015-06-11  Florian Weimer  <fweimer@redhat.com>
25789         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
25790         comment.
25792 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25794         [BZ #18479]
25795         * nptl/pt-interp.c: New file.
25796         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
25797         Add pt-interp.
25798         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
25799         $(common-objpfx)runtime-linker.h.
25801 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
25803         * Makeconfig (+interp): Remove unused variable.
25804         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
25805         only.  Depend on $(common-objpfx)runtime-linker.h instead of
25806         $(elf-objpfx)runtime-linker.h.
25807         ($(elf-objpfx)runtime-linker.h): Rename to
25808         $(common-objpfx)runtime-linker.h and move ...
25809         * Makerules [$(build-shared) = yes]: ... here.
25810         * elf/interp.c: Include <runtime-linker.h> instead of
25811         <elf/runtime-linker.h>.
25813 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25815         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
25816         (__gettimeofday_syscall): Remove vsyscall fallback.
25817         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
25818         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
25819         Add syscall fallback function.
25820         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
25821         if vDSO is not present.
25822         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
25823         fallback function.
25824         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
25825         present.
25826         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
25827         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
25829 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
25831         [BZ #18497]
25832         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
25833         of wcscmp.
25834         (wcscmp): Define as weak alias of WCSCMP.
25835         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
25836         wcscoll.
25837         (USE_HIDDEN_DEF): Define.
25838         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
25839         __wcscoll.  Don't use libc_hidden_weak.
25840         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
25841         wcscmp.
25842         * sysdeps/i386/i686/multiarch/wcscmp-c.c
25843         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
25844         __GI_wcscmp.
25845         (weak_alias): Undefine and redefine.
25846         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
25847         __wcscmp and define as weak alias of __wcscmp.
25848         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
25849         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
25850         (__wcscoll): Likewise.
25851         (wcscmp): Don't use libc_hidden_proto.
25852         (wcscoll): Likewise.
25853         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
25854         wcscoll.
25855         * posix/regexec.c (check_node_accept_bytes): Likewise.
25856         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
25857         variable.
25858         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
25859         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
25861         [BZ #18507]
25862         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
25863         __fstatvfs and define as weak alias of __fstatvfs.  Use
25864         libc_hidden_weak.
25865         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
25866         and define as weak alias of __statvfs.  Use libc_hidden_weak.
25867         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
25868         Define as alias of __fstatvfs, not fstatvfs.
25869         (fstatvfs64): Likewise.
25870         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
25871         Define as alias of __statvfs, not statvfs.
25872         (statvfs64): Likewise.
25873         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
25874         Remove variable.
25876 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25879         (HAVE_GETCPU_VSYSCALL): Define.
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
25881         (HAVE_GETCPU_VSYSCALL): Likewise.
25882         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
25883         * sysdeps/unix/sysv/linux/sched_getcpu.c
25884         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
25885         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
25886         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
25887         prototype.
25888         * sysdeps/unix/sysv/linux/x86_64/init-first.c
25889         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
25890         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
25891         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
25892         Define.
25893         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
25894         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25895         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
25896         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25898 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
25900         * sysdeps/x86_64/fpu/Makefile: New file.
25901         * sysdeps/x86_64/fpu/Versions: New file.
25902         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
25903         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
25904         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
25905         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
25906         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
25907         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
25908         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
25909         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
25910         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
25911         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
25912         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
25913         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
25914         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
25915         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25916         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25917         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
25918         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
25919         * sysdeps/x86_64/configure.ac: Options for libmvec build.
25920         * sysdeps/x86_64/configure: Regenerated.
25921         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
25922         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
25923         * manual/install.texi (Configuring and compiling): Document
25924         --disable-mathvec.
25925         * INSTALL: Regenerated.
25926         * NEWS: Mention addition of libmvec and x86_64 vector cos.
25928         * math/Makefile: Added rules for vector tests.
25929         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
25930         declaration under condition.
25931         * math/test-double-vlen2.h: New file.
25932         * math/test-double-vlen4.h: New file.
25933         * math/test-double-vlen8.h: New file.
25934         * math/test-vec-loop.h: Added initialization macro.
25935         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
25936         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
25937         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
25938         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
25939         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
25940         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
25941         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
25942         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
25943         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
25944         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
25945         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
25947         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25948         * sysdeps/x86_64/fpu/Versions: New versions added.
25949         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
25950         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
25951         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
25952         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
25953         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
25954         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
25955         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
25956         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
25957         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
25958         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
25959         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
25960         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
25961         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
25962         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25963         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25964         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25965         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
25966         * NEWS: Mention addition of x86_64 vector cosf.
25968         * math/Makefile: Added CFLAGS for new tests.
25969         * math/test-float-vlen16.h: New file.
25970         * math/test-float-vlen4.h: New file.
25971         * math/test-float-vlen8.h: New file.
25972         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
25973         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
25974         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25975         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
25976         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
25977         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
25978         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
25979         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
25980         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
25981         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
25982         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
25984 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
25986         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
25987         * locale/programs/ld-ctype.c: Likewise.
25989 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
25991         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
25992         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
25993         bit_ZMM16_31_state): New macro.
25994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25995         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
25997 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
25999         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26001 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
26003         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26005 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
26007         [BZ #18498]
26008         * libio/memstream.c (open_memstream): Rename to __open_memstream
26009         and define as weak alias of __open_memstream.
26010         * include/stdio.h (__open_memstream): Declare.  Use
26011         libc_hidden_proto.
26012         (open_memstream): Don't use libc_hidden_proto.
26013         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26014         open_memstream.
26015         * posix/getopt.c (_getopt_internal_r): Likewise.
26016         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26017         variable.
26018         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26019         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26020         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26022         [BZ #18496]
26023         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26024         instead of wcrtomb.
26026         [BZ #18483]
26027         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26028         [__USE_XOPEN2K8].  Remove redundant #endif.
26029         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26030         Remove redundant #if.
26031         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26032         Remove variable.
26033         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26034         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26036         [BZ #18495]
26037         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26038         (__iswlower): Likewise.
26039         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
26040         (__iswlower): Likewise.
26041         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26042         instead of towlower.
26043         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26044         instead of iswlower.  Call __towupper instead of towupper.
26045         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26046         instead of iswalnum.
26048 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26050         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26051         errors to stderr.
26053 2015-06-05  Florian Weimer  <fweimer@redhat.com>
26055         [BZ #15661]
26056         [BZ #17322]
26057         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26058         Check for overflow properly.  Check for O_APPEND.  Ignore large
26059         file system block sizes.  Add comments about problems.
26060         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26061         * manual/filesys.texi (Storage Allocation): New node.
26063 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26065         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26066         cancellable syscalls.
26067         (SYS_ify): Add guard to no redefine it.
26068         (INLINE_SYSCALL): Likewise.
26069         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26070         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26071         SYSCALL_CANCEL instead.
26072         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26073         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26074         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26075         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26076         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26077         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26078         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26079         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26080         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26081         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26082         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26083         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26084         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26085         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26086         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26087         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26088         Likewise.
26089         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26090         (__libc_pread64): Likewise.
26091         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26092         (__libc_preadv): Likewise.
26093         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26094         (__libc_readv64): Likewise.
26095         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26096         (__libc_pwrite): Likewise.
26097         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26098         (__libc_pwrite64): Likewise.
26099         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26100         (__libc_pwritev): Likewise.
26101         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26102         (__libc_pwritev64): Likewise.
26103         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26104         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26105         (sync_file_range): Likewise.
26106         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26107         Likewise.
26108         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26109         Likewise.
26110         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26111         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26112         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26113         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26114         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26115         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26116         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26117         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26119         Likewise.
26120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26121         (__libc_read64): Likewise.
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26123         Likewise.
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26125         Likewise.
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26127         Likewise.
26128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26129         Likewise.
26130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26131         (__libc_pread64): Likewise.
26132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26133         Likewise.
26134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26135         (__libc_pwrite64): Likewise.
26136         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26137         (sync_file_range): Likewise.
26138         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26139         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26140         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26141         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26142         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26143         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26144         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26145         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26146         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26147         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26148         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26149         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26150         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26151         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26152         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26153         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26154         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26155         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26156         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26157         Likewise.
26158         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26159         Likewise.
26160         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26161         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26162         Likewise.
26163         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26164         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26165         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26166         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26167         Likewise.
26168         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26169         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26170         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26171         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26172         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26174 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
26176         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26177         Include dl-vdso.
26178         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26179         Use VDSO routines for gettimeofday, clock_gettime if
26180         available.
26181         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26182         Declare VDSO symbols.
26183         * sysdeps/unix/sysv/linux/arm/sysdep.h:
26184         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26185         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26186         * sysdeps/unix/sysv/linux/arm/Versions: Add
26187         __vdso_clock_gettime.
26189 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26191         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26192         be an inline implementation regardless of library is built within.
26193         (open_not_cancel_2): Likewise.
26194         (__read_nocancel): Likewise.
26195         (__write_nocancel): Likewise.
26196         (openat_not_cancel): Likewise.
26197         (openat_not_cancel_3): Likewise.
26198         (openat64_not_cancel): Likewise.
26199         (openat64_not_cancel_3): Likewise.
26200         (__close_nocancel): Likewise.
26201         (pause_not_cancel): Likewise.
26202         (nanosleep_not_cancel): Likewise.
26203         (sigsuspend_not_cancel): Likewise.
26205 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26207         [BZ #14958]
26208         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26209         wake-up.
26210         (__pthread_rwlock_rdlock_slow): Likewise.
26211         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26212         Likewise.
26213         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26214         Likewise.
26215         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26216         * nptl/tst-rwlock16.c: New file.
26217         * nptl/Makefile (tests): Add new test.
26219 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26221         [BZ #18324]
26222         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26223         missing wake-up of readers.
26224         * nptl/tst-rwlock15.c: New file.
26225         * nptl/Makefile (tests): Add new test.
26227 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26229         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26230         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26231         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26232         and __nacl_supply_interface_rtld.
26233         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26234         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26235         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26236         Add __nacl_supply_interface_rtld.
26237         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26239 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26241         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26242         isfinite.
26243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26244         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26246 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26248         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26249         __signbit* with standard C99 macros.
26250         * math/e_exp10l.c: Likewise.
26251         * math/e_exp2l.c: Likewise.
26252         * math/e_scalb.c: Likewise.
26253         * math/e_scalbf.c: Likewise.
26254         * math/e_scalbl.c: Likewise.
26255         * math/s_ldexp.c: Likewise.
26256         * math/s_ldexpf.c: Likewise.
26257         * math/s_ldexpl.c: Likewise.
26258         * math/w_atan2.c: Likewise.
26259         * math/w_atan2f.c: Likewise.
26260         * math/w_atan2l.c: Likewise.
26261         * math/w_cosh.c: Likewise.
26262         * math/w_coshf.c: Likewise.
26263         * math/w_coshl.c: Likewise.
26264         * math/w_exp10.c: Likewise.
26265         * math/w_exp10f.c: Likewise.
26266         * math/w_exp10l.c: Likewise.
26267         * math/w_exp2.c: Likewise.
26268         * math/w_exp2f.c: Likewise.
26269         * math/w_exp2l.c: Likewise.
26270         * math/w_fmod.c: Likewise.
26271         * math/w_fmodf.c: Likewise.
26272         * math/w_fmodl.c: Likewise.
26273         * math/w_hypot.c: Likewise.
26274         * math/w_hypotf.c: Likewise.
26275         * math/w_hypotl.c: Likewise.
26276         * math/w_jnl.c: Likewise.
26277         * math/w_lgamma.c: Likewise.
26278         * math/w_lgamma_r.c: Likewise.
26279         * math/w_lgammaf.c: Likewise.
26280         * math/w_lgammaf_r.c: Likewise.
26281         * math/w_lgammal.c: Likewise.
26282         * math/w_lgammal_r.c: Likewise.
26283         * math/w_pow.c: Likewise.
26284         * math/w_powf.c: Likewise.
26285         * math/w_powl.c: Likewise.
26286         * math/w_remainder.c: Likewise.
26287         * math/w_remainderf.c: Likewise.
26288         * math/w_remainderl.c: Likewise.
26289         * math/w_scalb.c: Likewise.
26290         * math/w_scalbf.c: Likewise.
26291         * math/w_scalbl.c: Likewise.
26292         * math/w_scalbln.c: Likewise.
26293         * math/w_scalblnf.c: Likewise.
26294         * math/w_scalblnl.c: Likewise.
26295         * math/w_sinh.c: Likewise.
26296         * math/w_sinhf.c: Likewise.
26297         * math/w_sinhl.c: Likewise.
26298         * math/w_tgamma.c: Likewise.
26299         * math/w_tgammaf.c: Likewise.
26300         * math/w_tgammal.c: Likewise.
26301         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26302         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26303         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26304         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26305         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26306         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26307         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26308         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26309         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26310         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26311         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26312         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26313         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26314         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26315         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26316         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26317         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26318         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26319         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26320         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26321         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26322         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26323         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26324         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26325         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26326         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26327         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26328         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26329         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26330         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26331         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26332         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26333         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26334         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26335         * stdio-common/printf_fp.c: Likewise.
26336         * stdio-common/printf_fphex.c: Likewise.
26337         * stdio-common/printf_size.c: Likewise.
26339 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26341         [BZ #18470]
26342         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26343         strnlen.
26344         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26345         Remove variable.
26346         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26347         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26348         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26349         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26350         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26351         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26352         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26353         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26354         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26355         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26357         [BZ #18468]
26358         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26359         weak alias of __wmemchr.  Use libc_hidden_weak.
26360         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26361         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26362         instead of wmemchr.
26364 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26366         [BZ #18383]
26367         * elf/tst-tlsalign-extern.c: New file.
26368         * elf/tst-tlsalign-extern-static.c: New file.
26369         * elf/tst-tlsalign-vars.c: New file.
26370         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26371         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26372         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26373         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26374         (test-xfail-tst-tlsalign-extern-static): New variable.
26376 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26378         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26379         Use variable name _sc_err instead of err.
26380         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26381         instead of ret.
26382         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26383         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26384         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26385         (INLINE_SYSCALL): Likewise.
26387         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26388         * include/string.h (__strnlen): Use libc_hidden_proto.
26389         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26390         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26391         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26392         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26393         (libc_hidden_def): Undefine and redefine.
26394         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26395         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26396         __GI_strnlen.
26397         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26398         libc_hidden_def.
26399         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26401         [BZ #18469]
26402         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26403         weak alias of __towlower.  Use libc_hidden_weak.
26404         (towupper): Rename to __towupper and define as weak alias of
26405         __towupper.  Use libc_hidden_weak.
26406         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26407         (__towupper): Likewise.
26408         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26409         __towlower instead of towlower.
26411 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26413         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26414         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26416 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26418         * sysdeps/aarch64/libm-test-ulps: Update.
26420 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26422         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26423         Define.
26424         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26425         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26426         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26427         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26428         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26429         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26430         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26432 2015-06-01  Martin Sebor  <msebor@redhat.com>
26434         [BZ #18116]
26435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26436         (__setcontext): Use extended four-operand version of mtsf whenever
26437         possible.
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26439         (__novec_swapcontext): Likewise.
26441 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26443         * benchtests/scripts/compare_bench.py: New file.
26444         * benchtests/scripts/import_bench.py (mean): New function.
26445         (split_list): Likewise.
26446         (do_for_all_timings): Likewise.
26447         (compress_timings): Likewise.
26449         * benchtests/scripts/import_bench.py: New file.
26450         * benchtests/scripts/validate_benchout.py: Import import_bench
26451         instead of jsonschema.
26452         (validate_bench): Remove function.
26453         (main): Use import_bench.
26455 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26457         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26458         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26460 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26464 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26466         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26467         set THREAD_SELF->tid to a magic value and futex-wake it.
26468         Pass its address to the thread_exit system call.
26469         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26470         bit is clear.
26471         * sysdeps/nacl/lowlevellock.h: New file.
26472         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26474         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26475         Add TIMEOUT to current time, don't subtract it.
26477 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26479         [BZ #2981]
26480         [BZ #18422]
26481         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26482         ($(objpfx)tst-audit2.out): Also depend on
26483         $(objpfx)tst-auditmod9b.so.
26484         * elf/tst-audit2.c: Include <dlfcn.h>.
26485         (calloc_called): New.
26486         (calloc): Allow to be called more than once.
26487         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26489 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26491         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26492         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26494 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26496         * stdlib/monetary.h: Fix comment.
26498 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26500         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26501         Avoid using variables in #defines that might cause shadowing.
26502         (INTERNAL_VSYSCALL_CALL): Likewise.
26504 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26506         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26508         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26509         * nptl/lll_timedlock_wait.c: ... to this new file.
26510         * nptl/Makefile (libpthread-routines): Add it.
26511         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26512         * nptl/lll_timedwait_tid.c: ... to this new file.
26513         * nptl/Makefile (libpthread-routines): Add it.
26514         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26515         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26516         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26517         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26518         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26519         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26520         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26521         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26522         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26523         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26525 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26527         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26528         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26529         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26530         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26531         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26532         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26533         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26534         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26535         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26536         * sysdeps/unix/sysv/linux/tile/sysdep.h
26537         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26538         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26539         using vDSO syscall macro.
26541 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26543         [BZ #17293]
26544         * uk_UA: Fix sorting order for Ukrainian locale
26546 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26548         * stdlib/monetary.h: Fix comment.
26550 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26552         [BZ #18234]
26553         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26554         st_mtim and st_ctim members.
26555         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26556         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26557         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26558         (struct stat64): Likewise.
26559         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26560         (struct stat64): Likewise.
26561         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26562         (struct stat64): Likewise.
26564 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26566         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26567         Define and include sysdep-vdso.h.
26568         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26569         Likewise.
26570         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26571         Likewise.
26572         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26573         Define with VDSO_SYMBOL and use PTR_MANGLE.
26574         (__vdso_clock_gettime): Likewise.
26575         (__vdso_clock_getres): Likewise.
26576         (_libc_vdso_platform_setup): Likewise.
26577         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26578         Likewise.
26579         (_libc_vdso_platform_setup): Likewise.
26580         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26581         Likewise.
26582         (__vdso_clock_gettime): Likewise.
26583         (__vdso_clock_getres): Likewise.
26584         (__vdso_get_tbfreq): Likewise.
26585         (__vdso_getcpu): Likewise.
26586         (__vdso_time): Likewise.
26587         (__vdso_sigtramp_rt64): Likewise.
26588         (__vdso_signtramp32): Likewise.
26589         (__vdso_sigtramp_rt32): Likewise.
26590         (_libc_vdso_platform_setup): Likewise.
26591         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26592         Likewise.
26593         (__vdso_clock_gettime): Likewise.
26594         (__vdso_clock_getres): Likewise.
26595         (_libc_vdso_platform_setup): Likewise.
26596         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26597         Likewise.
26598         (__vdso_clock_gettime): Likewise.
26599         (_libc_vdso_platform_setup): Likewise.
26600         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26601         Likewise.
26602         (__vdso_getcpu): Likewise.
26603         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26604         Use VDSO_SYMBOL macro to define.
26605         (__vdso_clock_gettime): Likewise.
26606         (__vdso_clock_getres): Likewise.
26607         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26608         Likewise.
26609         (__vdso_clock_gettime): Likewise.
26610         (__vdso_clock_getres): Likewise.
26611         (__vdso_get_tbfreq): Likewise.
26612         (__vdso_getcpu): Likewise.
26613         (__vdso_time): Likewise.
26614         (__vdso_sigtramp_rt64): Likewise.
26615         (__vdso_signtramp32): Likewise.
26616         (__vdso_sigtramp_rt32): Likewise.
26617         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26618         Likewise.
26619         (__vdso_clock_gettime): Likewise.
26620         (__vdso_clock_getres): Likewise.
26621         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26622         Likewise.
26623         (__vdso_clock_gettime): Likewise.
26624         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26625         Likewise.
26626         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26627         macro.
26628         (INTERNAL_VSYSCALL): Likewise.
26629         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26630         Remove macro.
26631         (INTERNAL_VSYSCALL): Likewise.
26632         (INTERNAL_VSYSCALL_NCS): Likewise.
26633         (INTERNAL_VSYSCALL_CALL): New macro.
26634         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26635         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26636         Likewise.
26637         (INTERNAL_VSYSCALL): Likewise.
26638         (INTERNAL_VSYSCALL_NCS): Likewise.
26639         (INTERNAL_VSYSCALL_CALL): New macro.
26640         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26642         (INLINE_VSYSCALL): Remove macro.
26643         (INTERNAL_VSYSCALL): Remove macro.
26644         (INTERNAL_VSYSCALL_NCS): Remove macro.
26645         (INTERNAL_VSYSCALL_CALL): New macro.
26646         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26647         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26648         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26649         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26650         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26652         (INLINE_VSYSCALL): Remove macro.
26653         (INTERNAL_VSYSCALL): Likewise.
26654         (INTERNAL_VSYSCALL_NCS): Likewise.
26655         (INTERNAL_VSYSCALL_CALL): New macro.
26656         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26657         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26658         PTR_DEMANGLE on vDSO pointer.
26659         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26660         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26661         macro.
26662         (INTERNAL_SYSCALL): Likewise.
26663         (INTERNAL_VSYSCALL_NCS): Remove macro.
26664         (INTERNAL_VSYSCALL_CALL): New macro.
26665         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26666         Remove macro.
26667         (INTERNAL_VSYSCALL): Likewise.
26668         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26669         sysdep-vdso.h instead of libc-vdso.h.
26670         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26671         definition.
26672         (INLINE_VSYSCALL): Likewise.
26673         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26674         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26675         definition.
26676         (INLINE_VSYSCALL): Likewise.
26677         (INTERNAL_VSYSCALL): Likewise.
26678         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26679         * sysdeps/unix/sysv/linux/timespec_get.c
26680         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26681         (timespec_get): Use ANSI prototype.
26682         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26683         and definition for Linux.
26685 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26687         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26688         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26690 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
26692         [BZ #2981]
26693         [BZ #18410]
26694         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26695         for missing DT_PLTRELSZ.
26697 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
26699         Remove obsolete aliases that broke 'locale -a'
26700         [BZ #18412]
26701         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26702         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26703         breaking some applications that use 'locale -a' output.
26704         Change the encoding of this file from Latin-1 to ASCII to avoid
26705         other potential problems with people grepping this file.
26707 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26709         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26710         -fasynchronous-unwind-tables.
26711         (CFLAGS-sendto.c): Likewise.
26712         (CFLAGS-sendmsg.c): Likewise.
26713         (CFLAGS-connect.c): Likewise.
26714         (CFLAGS-recvmsg.c): Likewise.
26715         (CFLAGS-recvfrom.c): Likewise.
26716         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26717         (SOCKETCALL): New macro: non-cancellable socketcall.
26718         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26719         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26720         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26721         * sysdeps/unix/sysv/linux/accept.c: New file.
26722         * sysdeps/unix/sysv/linux/bind.c: Likewise.
26723         * sysdeps/unix/sysv/linux/connect.c: Likewise.
26724         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26725         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26726         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26727         * sysdeps/unix/sysv/linux/listen.c: Likewise.
26728         * sysdeps/unix/sysv/linux/recv.c: Likewise.
26729         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26730         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26731         * sysdeps/unix/sysv/linux/send.c: Likewise.
26732         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26733         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26734         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26735         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26736         * sysdeps/unix/sysv/linux/socket.c: Likewise.
26737         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26738         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26739         prototype.
26740         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26741         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26742         instead of __internal_xxx function.
26743         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26744         prototype.
26745         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26746         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26747         instead of __internal_xxx function.
26748         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26749         prototype.
26750         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26751         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26752         instead of __internal_xxx function.
26753         * sysdeps/unix/sysv/linux/accept.S: Remove file.
26754         * sysdeps/unix/sysv/linux/bind.S: Likewise.
26755         * sysdeps/unix/sysv/linux/connect.S: Likewise.
26756         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26757         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26758         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26759         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26760         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26761         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26762         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26763         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26764         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26765         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26766         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26767         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26768         * sysdeps/unix/sysv/linux/listen.S: Likewise.
26769         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
26770         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
26771         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
26772         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
26773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
26774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
26775         * sysdeps/unix/sysv/linux/recv.S: Likewise.
26776         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
26777         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
26778         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
26779         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26780         * sysdeps/unix/sysv/linux/send.S: Likewise.
26781         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
26782         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
26783         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
26784         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
26785         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
26786         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
26787         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
26788         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
26789         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
26790         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
26791         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
26792         socketcall is implemented in GLIBC.
26794 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26796         * soft-fp/fmadf4.c: Include <libc-internal.h>.
26797         (__fma): Ignore uninitialized warnings around packing.
26798         * soft-fp/fmasf4.c: Include <libc-internal.h>.
26799         (__fmaf): Ignore uninitialized warnings around packing.
26800         * soft-fp/fmatf4.c: Include <libc-internal.h>.
26801         (__fmal): Ignore uninitialized warnings around packing.
26803         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
26804         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26805         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
26806         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
26808         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
26809         switch statement into default case.
26810         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
26812         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
26813         a conditional in forcing "inexact".
26814         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
26815         Likewise.
26817 2015-05-22  Roland McGrath  <roland@hack.frob.com>
26819         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
26820         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
26821         for each INTERNAL_SYSCALL use.
26823 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
26825         [BZ #438]
26826         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
26827         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
26828         variable.
26830         [BZ #18444]
26831         * string/basename.c (basename): Rename to __basename and define as
26832         weak alias of __basename.  Use libc_hidden_weak.
26833         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
26834         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
26835         __basename instead of basename.
26836         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
26837         Remove variable.
26838         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
26840 2015-05-18  Florian Weimer  <fweimer@redhat.com>
26842         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
26843         (_IO_JUMPS_FILE_plus): New.
26844         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
26845         _IO_CAST_FIELD_ACCESS.
26846         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
26847         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
26848         * libio/freopen.c (freopen): Likewise.
26849         * libio/freopen64.c (freopen64): Likewise.
26850         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
26851         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
26852         * libio/iofwide.c (_IO_fwide): Likewise.
26853         * libio/memstream.c (open_memstream): Likewise.
26854         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
26855         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
26856         * libio/oldiopopen.c (_IO_old_popen): Likewise.
26858 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
26860         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
26861         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
26862         NADJ.
26863         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
26864         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
26865         NADJ.
26866         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
26867         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
26868         NADJ.
26870         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
26871         (p == 4) case.
26873         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
26874         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
26875         Remove variable.
26876         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
26877         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
26878         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
26880 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26882         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
26883         Adjust jump table label generation macros.
26885 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26887         * stdio-common/vfprintf.c (vfprintf): Move local variables
26888         args_malloced, specs, specs_malloced, and the code after
26889         do_positional to the printf_positional function.
26890         (printf_positional): New function.
26892 2015-05-21  Florian Weimer  <fweimer@redhat.com>
26894         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
26895         function.
26896         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
26897         STEP4_TABLE, process_arg): Move macro definitions
26898         out of the vfprintf function.  (Cosmetic change only.)
26900 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
26902         * benchtests/Makefile (stdio-common-bench): Define.
26903         (benchset): Add stdio-common-bench.
26904         * sprintf-inputs: New file.
26905         * sprintf-source.c: New file.
26907 2015-05-21  Andreas Schwab  <schwab@suse.de>
26909         [BZ #13028]
26910         [BZ #17053]
26911         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
26912         of struct __res_state.
26913         * resolv/res_send.c (__libc_res_nsend): Likewise.
26914         (get_nsaddr): New function.
26915         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
26916         statp directly.
26918 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
26920         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
26921         -D_POSIX_C_SOURCE=199506L.
26923         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
26925         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
26926         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
26927         Do not mention otherwise.
26928         [POSIX] (_XOPEN_VERSION): Do not expect.
26929         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
26930         [POSIX] (_POSIX2_C_BIND): Likewise.
26931         [POSIX] (_POSIX2_VERSION): Likewise.
26932         [POSIX] (_XOPEN_XPG2): Likewise.
26933         [POSIX] (_XOPEN_XPG3): Likewise.
26934         [POSIX] (_XOPEN_XPG4): Likewise.
26935         [POSIX] (_XOPEN_UNIX): Likewise.
26936         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
26937         [POSIX] (_POSIX_BARRIERS): Likewise.
26938         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
26939         [POSIX] (_POSIX_CPUTIME): Likewise.
26940         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
26941         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
26942         [POSIX] (_POSIX_SHELL): Likewise.
26943         [POSIX] (_POSIX_SPAWN): Likewise.
26944         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
26945         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
26946         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
26947         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
26948         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
26949         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
26950         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
26951         [POSIX] (_XBS5_LP64_OFF64): Likewise.
26952         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
26953         [POSIX] (_POSIX_TIMEOUTS): Likewise.
26954         [POSIX] (_POSIX2_PBS): Likewise.
26955         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
26956         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
26957         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
26958         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
26959         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
26960         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
26961         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
26962         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
26963         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
26964         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
26965         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
26966         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
26967         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
26968         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
26969         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
26970         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
26971         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
26972         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
26973         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
26974         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
26975         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
26976         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
26977         [POSIX] (_SC_2_C_BIND): Likewise.
26978         [POSIX] (_SC_2_C_VERSION): Likewise.
26979         [POSIX] (_SC_2_PBS): Likewise.
26980         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
26981         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
26982         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
26983         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
26984         [POSIX] (_SC_2_PBS_TRACK): Likewise.
26985         [POSIX] (_SC_ATEXIT_MAX): Likewise.
26986         [POSIX] (_SC_BARRIERS): Likewise.
26987         [POSIX] (_SC_BASE): Likewise.
26988         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
26989         [POSIX] (_SC_DEVICE_IO): Likewise.
26990         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
26991         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
26992         [POSIX] (_SC_FD_MGMT): Likewise.
26993         [POSIX] (_SC_FIFO): Likewise.
26994         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
26995         [POSIX] (_SC_FILE_LOCKING): Likewise.
26996         [POSIX] (_SC_FILE_SYSTEM): Likewise.
26997         [POSIX] (_SC_IOV_MAX): Likewise.
26998         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
26999         [POSIX] (_SC_NETWORKING): Likewise.
27000         [POSIX] (_SC_PAGE_SIZE): Likewise.
27001         [POSIX] (_SC_PASS_MAX): Likewise.
27002         [POSIX] (_SC_PIPE): Likewise.
27003         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27004         [POSIX] (_SC_REGEXP): Likewise.
27005         [POSIX] (_SC_SHELL): Likewise.
27006         [POSIX] (_SC_SIGNALS): Likewise.
27007         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27008         [POSIX] (_SC_SPIN_LOCKS): Likewise.
27009         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27010         [POSIX] (_SC_USER_GROUPS): Likewise.
27011         [POSIX] (_SC_USER_GROUPS_R): Likewise.
27012         [POSIX] (_SC_STREAMS): Likewise.
27013         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27014         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27015         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27016         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27017         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27018         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27019         [POSIX] (_PC_FILESIZEBITS): Likewise.
27020         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27021         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27022         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27023         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27024         [POSIX] (uid_t): Likewise.
27025         [POSIX] (gid_t): Likewise.
27026         [POSIX] (off_t): Likewise.
27027         [POSIX] (pid_t): Likewise.
27028         [POSIX] (cuserid): Allow.
27029         (_SC_2_CHAR_TERM): Require constant.
27030         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27031         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27032         variable.
27034 2015-05-20  Roland McGrath  <roland@hack.frob.com>
27036         * sysdeps/nacl/pthread-pids.h: New file.
27037         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27038         (create_thread): Use __nacl_get_tid to initialize PD->tid.
27040         * nptl/pthread-pids.h: New file.
27041         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27042         * nptl/nptl-init.c: Include <pthread-pids.h>.
27043         (__pthread_initialize_minimal_internal):
27044         Call __pthread_initialize_pids instead of set_tid_address syscall.
27046         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27047         * sysdeps/posix/usleep.c: ... here.
27049 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27051         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27052         call_pselect6 object.
27053         [$(subdir) = io]: Remove call_sync_file_range object.
27054         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27055         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27056         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27057         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27059 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
27061         * math/s_cproj.c: Add include "math_private.h".
27062         * math/s_cprojf.c: Likewise.
27063         * math/s_cprojl.c: Likewise.
27065 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
27067         [BZ #18244]
27068         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27069         high mantissa bit when testing whether P is a NaN.
27070         * math/libm-test.inc (remainder_test_data): Add more tests.
27071         (remquo_test_data): Likewise.
27073         [BZ #18049]
27074         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27075         below -32, return the argument, with underflow if subnormal.
27076         * math/auto-libm-test-in: Add more tests of atanh.
27077         * math/auto-libm-test-out: Regenerated.
27079 2015-05-19  Roland McGrath  <roland@hack.frob.com>
27081         [BZ #18434]
27082         * nptl/tst-sem15.c: New file.
27083         * nptl/Makefile (tests): Add it.
27084         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27085         s/<</>>/ to fix typo in EOVERFLOW check.
27086         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27088 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27090         * manual/strings.texi (envz_remove): Fix typo in safety
27091         annotations.
27093 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
27094             Steve Ellcey  <sellcey@imgtec.com>
27096         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27097         in order to avoid strict alias warnings.
27098         (iruserok_af): Ditto for ra.
27100 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
27102         [BZ #17581]
27103         * malloc/hooks.c
27104         (magicbyte): Convert to a function and avoid returning 0x01.
27105         (mem2mem_check): Avoid using a length byte equal to the magic byte.
27106         (mem2chunk_check): Fix unsigned comparisons to zero.
27107         Hoist defs of sz and magic.
27109 2015-05-19  Richard Henderson  <rth@redhat.com>
27111         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27113         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27115 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27117         [BZ #16159]
27118         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27119         * malloc/arena.c (arena_lock): Check if arena is corrupt.
27120         (reused_arena): Find a non-corrupt arena.
27121         (heap_trim): Pass arena to unlink.
27122         * malloc/hooks.c (malloc_check_get_size): Pass arena to
27123         malloc_printerr.
27124         (top_check): Likewise.
27125         (free_check): Likewise.
27126         (realloc_check): Likewise.
27127         * malloc/malloc.c (malloc_printerr): Add arena argument.
27128         (unlink): Likewise.
27129         (munmap_chunk): Adjust.
27130         (ARENA_CORRUPTION_BIT): New macro.
27131         (arena_is_corrupt): Likewise.
27132         (set_arena_corrupt): Likewise.
27133         (sysmalloc): Use mmap if there are no usable arenas.
27134         (_int_malloc): Likewise.
27135         (__libc_malloc): Don't fail if arena_get returns NULL.
27136         (_mid_memalign): Likewise.
27137         (__libc_calloc): Likewise.
27138         (__libc_realloc): Adjust for additional argument to
27139         malloc_printerr.
27140         (_int_free): Likewise.
27141         (malloc_consolidate): Likewise.
27142         (_int_realloc): Likewise.
27143         (_int_memalign): Don't touch corrupt arenas.
27144         * malloc/tst-malloc-backtrace.c: New test case.
27146         * Makefile (summarize-tests): Fix return value on success.
27148         * manual/string.texi (Envz Functions): Add envz_remove.
27150 2015-05-18  Roland McGrath  <roland@hack.frob.com>
27152         * sysdeps/posix/opendir.c: Include <stdbool.h>.
27153         (invalid_name): New function, broken out of ...
27154         (__opendirat): ... here.  Call it.
27155         (need_isdir_precheck): New function, broken out of ...
27156         (__opendirat): ... here.  Call it.
27157         Use __fxstatat64, not __xstatat64.
27158         (opendir_oflags): New function, broken out of ...
27159         (__opendirat): ... here.  Call it.
27160         (opendir_tail): New function, broken out of ...
27161         (__opendirat): ... here.  Call it.
27162         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27163         opendir_tail, rather than punting to __opendirat.
27164         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27166 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27168         * .gitignore: Ignore generated *.pyc.
27170 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
27172         * include/stdio.h: Define __need_wint_t.
27173         * test-skeleton.c: Avoid `for' loop initial declaration.
27174         * nptl/tst-initializers1.c: Use test-skeleton.c.
27176 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27178         [BZ #18418]
27179         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27181 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27183         [BZ #16352]
27184         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27185         (__ieee754_atanh): Force underflow exception for results with
27186         small absolute value.
27187         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27188         (__ieee754_atanhf): Force underflow exception for results with
27189         small absolute value.
27190         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27191         (__ieee754_atanh): Force underflow exception for results with
27192         small absolute value.
27193         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27194         (__ieee754_atanhf): Force underflow exception for results with
27195         small absolute value.
27196         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27197         (__ieee754_atanhl): Force underflow exception for results with
27198         small absolute value.
27199         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27200         (__ieee754_atanhl): Force underflow exception for results with
27201         small absolute value.
27202         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27203         (__ieee754_atanhl): Force underflow exception for results with
27204         small absolute value.
27205         * math/auto-libm-test-in: Do not allow missing underflow
27206         exceptions from atanh.
27207         * math/auto-libm-test-out: Regenerated.
27209         [BZ #18221]
27210         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27211         2**-28 as threshold for returning x or +/- 1/x.
27212         * math/auto-libm-test-in: Add more tests of tan.
27213         * math/auto-libm-test-out: Regenerated.
27215         [BZ #18220]
27216         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27217         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27218         * math/auto-libm-test-in: Add another test of lgamma.
27219         * math/auto-libm-test-out: Regenerated.
27221 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
27223         * stdio-common/printf_fp.c (___printf_fp): Use abs.
27224         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
27225         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27226         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27227         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27228         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27229         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27230         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27231         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27232         (log1): Use fabs.  (my_log2): Use fabs.
27233         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27234         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27235         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27236         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27237         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27238         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27239         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27240         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27241         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27242         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27243         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27245 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27247         [BZ #18217]
27248         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27249         as threshold for returning 1 - x.
27250         * math/auto-libm-test-in: Add more tests of erfc.
27251         * math/auto-libm-test-out: Regenerated.
27253 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27255         [BZ #18196]
27256         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27257         threshold for large arguments.
27258         * math/auto-libm-test-in: Add another test of atan.
27259         * math/auto-libm-test-out: Regenerated.
27261         [BZ #16339]
27262         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27263         (__log1p): Force underflow exception for results with small
27264         absolute value.
27265         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27266         (__log1pf): Force underflow exception for results with small
27267         absolute value.
27268         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27269         (__log1p): Force underflow exception for results with small
27270         absolute value.
27271         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27272         (__log1pf): Force underflow exception for results with small
27273         absolute value.
27274         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27275         (__log1pl): Force underflow exception for results with small
27276         absolute value.
27277         * math/auto-libm-test-in: Do not allow missing underflow
27278         exceptions from log1p.
27279         * math/auto-libm-test-out: Regenerated.
27281 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27282             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27284         [BZ #16704]
27285         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27287 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27289         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27290         (libmvec): New variable.
27291         * configure.ac: Added option for mathvec build.
27292         * configure: Regenerated.
27293         * mathvec/Depend: New file.
27294         * mathvec/Makefile: New file.
27295         * shlib-versions: Added libmvec.
27296         * math/Makefile: Added rule for libm.so installation.
27298         * bits/math-vector.h: New file.
27299         * bits/libm-simd-decl-stubs.h: New header.
27300         * math/Makefile (headers): Added new header
27301         libm-simd-decl-stubs.h.
27302         * math/math.h (__MATHCALL_VEC): New macro.
27304         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27305         for conditions in testing functions.
27306         * math/Makefile: Added call of libm-have-vector-test.sh.
27307         * math/libm-test.inc (HAVE_VECTOR): New macros.
27309         * math/libm-test.inc: START refactored.
27310         * math/test-double.c (TEST_MATHVEC): Add define.
27311         * math/test-float.c: Likewise.
27312         * math/test-idouble.c: Likewise.
27313         * math/test-ifloat.c: Likewise.
27314         * math/test-ildoubl.c: Likewise.
27315         * math/test-ldouble.c: Likewise.
27316         * sysdeps/generic/math-tests-arch.h
27317         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27318         architecture check.
27320         * math/test-double.c (FUNC_TEST): New macro.
27321         * math/test-float.c: Likewise.
27322         * math/test-idouble.c: Likewise.
27323         * math/test-ifloat.c: Likewise.
27324         * math/test-ildoubl.c: Likewise.
27325         * math/test-ldouble.c: Likewise.
27326         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27328 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27330         * sysdeps/nacl/fdopendir.c: New file.
27332         * dirent/scandir-tail.c: New file.
27333         * dirent/scandir64-tail.c: New file.
27334         * dirent/Makefile (routines): Add them.
27335         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27336         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27337         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27338         [!SCANDIR] (SCANDIR_TAIL): New macro.
27339         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27340         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27341         (SCANDIRAT): Macro removed.
27342         (SCANDIR_TAIL): New macro.
27343         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27344         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27345         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27346         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27347         (READDIR): Macro removed.
27348         (SCANDIR_TAIL): New macro.
27349         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27350         (SCANDIR_TAIL): New macro.
27352         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27353         * dirent/scandir-cancel.c: ... to this new file.
27354         * dirent/Makefile (routines): Add it.
27355         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27356         * sysdeps/unix/sysv/linux/i386/scandir64.c
27357         (SKIP_SCANDIR_CANCEL): Macro removed.
27358         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27360         * dirent/tst-scandir.c: New file.
27361         * dirent/tst-scandir64.c: New file.
27362         * dirent/Makefile (tests): Add them.
27364 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27366         [BZ #18409]
27367         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27369 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27371         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27372         list.
27374 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27376         * benchtests/bench-strcoll.c: New benchmark.
27377         * benchtests/Makefile: Generate locales and run benchmark.
27378         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27379         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27380         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27381         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27382         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27383         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27384         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27385         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27386         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27387         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27388         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27389         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27390         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27391         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27392         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27393         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27394         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27395         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27396         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27397         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27398         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27399         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27400         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27401         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27403 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27405         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27406         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27408 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27410         * posix/uname-values.h: New file.
27411         * posix/uname.c: Include that instead of <config-name.h>.
27412         * sysdeps/nacl/uname-values.h: New file.
27413         * sysdeps/arm/nacl/uname-values.h: New file.
27415 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27417         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27418         splitting into fields.
27420 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27422         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27423         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27424         * locale/localeinfo.h: Add enum collation_encoding_type.
27425         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27426         * programs/ld-collate.c (collate_output): Add encoding type info.
27427         * string/strcoll_l.c (STRDIFF): New function.
27428         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27429         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27431 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27433         [BZ #18397]
27434         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27435         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27436         <fpu_control.h> instead of <math/fpu_control.c>.
27437         * sysdeps/mips/mips32/fpu/Makefile: New file.
27439 2015-05-11  Andreas Schwab  <schwab@suse.de>
27441         [BZ #18007]
27442         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27443         nss_endgrent.
27444         (_nss_compat_endgrent): Call nss_endgrent.
27445         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27446         nss_endpwent.
27447         (_nss_compat_endpwent): Call nss_endpwent.
27448         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27449         needent, call nss_setspent only if non-zero.
27450         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27451         (internal_endspent): Don't call nss_endspent.
27452         (_nss_compat_endspent): Call nss_endspent.
27453         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27454         Remove.  All uses removed.
27455         (internal_setent): Remove parameter stayopen, add parameter
27456         stream.  Use it instead of global variable.
27457         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27458         (internal_endent, internal_getent): Add parameter stream.  Use it
27459         instead of global variable.
27460         (CONCAT(_nss_files_end,ENTNAME))
27461         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27462         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27463         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27464         uses removed.
27465         (internal_setent, internal_endent): Add parameter stream.  Use it
27466         instead of global variable.
27467         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27468         stream.
27469         (get_next_alias): Add parameter stream.
27470         (_nss_files_getaliasent_r): Pass global stream.
27471         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27472         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27473         (_nss_files_gethostbyname4_r): Pass local stream to
27474         internal_setent, internal_getent and internal_endent.  Remove
27475         locking.
27477 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27479         * tst-strfmon1.c (tests): Update expected currency symbol.
27481 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27483         * sysdeps/nacl/gethostname.c: New file.
27485 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27487         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27488         and sinh.
27489         * math/auto-libm-test-out: Regenerated.
27490         * sysdeps/i386/fpu/libm-test-ulps: Update.
27491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27493 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27495         [BZ #18125]
27496         * stdlib/tst-setcontext3.c: New file.
27497         * stdlib/tst-setcontext3.sh: New file.
27498         * stdlib/Makefile (tests): Add tst-setcontext3.
27499         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27500         to verify test program created output file.
27501         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27502         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27503         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27504         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27506 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27508         [BZ #18383]
27509         * elf/tst-tlsalign.c: New file.
27510         * elf/tst-tlsalign-static.c: New file.
27511         * elf/tst-tlsalign-lib.c: New file.
27512         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27513         (tests-static): Add tst-tlsalign-static.
27514         (modules-names): Add tst-tlsalign-lib.
27515         (test-xfail-tst-tlsalign): New variable.
27516         (test-xfail-tst-tlsalign-static): New variable.
27518         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27519         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27521 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27523         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27524         csqrt, erfc, sin and sincos.
27525         * math/auto-libm-test-out: Regenerated.
27526         * sysdeps/i386/fpu/libm-test-ulps: Update.
27527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27529 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27531         * sysdeps/aarch64/libm-test-ulps: Update.
27533 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27535         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27536         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27537         * math/auto-libm-test-out: Regenerated.
27538         * sysdeps/i386/fpu/libm-test-ulps: Update.
27539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27541 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27543         [BZ #18265]
27544         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27545         (wcsncpy): Likewise.
27547 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27549         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27550         Assume __ASSUME_FALLOCATE is always true.
27551         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27552         (__posix_fallocate64_l64): Likewise.
27553         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27554         (posix_fallocate): Likewise.
27555         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27556         (__posix_fallocate64_l64): Likewise.
27557         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27558         [!__ASSUME_FALLOCATE]: Add comment.
27560 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27562         * sysdeps/unix/sysv/linux/i386/Makefile
27563         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27564         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27565         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27566         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27567         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27568         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27569         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27571 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27573         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27574         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27575         tgamma.
27576         * math/auto-libm-test-out: Regenerated.
27577         * sysdeps/i386/fpu/libm-test-ulps: Update.
27578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27580 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27582         * math/auto-libm-test-in: Add more tests of tgamma.
27583         * math/auto-libm-test-out: Regenerated.
27584         * sysdeps/i386/fpu/libm-test-ulps: Update.
27585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27587         * math/auto-libm-test-in: Add more tests of tanh.
27588         * math/auto-libm-test-out: Regenerated.
27589         * sysdeps/i386/fpu/libm-test-ulps: Update.
27590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27592         * math/auto-libm-test-in: Add more tests of tan.
27593         * math/auto-libm-test-out: Regenerated.
27594         * sysdeps/i386/fpu/libm-test-ulps: Update.
27595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27597         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27598         * math/auto-libm-test-out: Regenerated.
27599         * sysdeps/i386/fpu/libm-test-ulps: Update.
27600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27602         * math/auto-libm-test-in: Add another test of pow.
27603         * math/auto-libm-test-out: Regenerated.
27604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27606         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27612         log1p.
27613         * math/auto-libm-test-out: Regenerated.
27614         * sysdeps/i386/fpu/libm-test-ulps: Update.
27615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27617 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27619         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27620         Elf64_Chdr structs and ELFCOMPRESS constants.
27622 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27624         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27625         expm1.
27626         * math/auto-libm-test-out: Regenerated.
27627         * sysdeps/i386/fpu/libm-test-ulps: Update.
27628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27630         * math/auto-libm-test-in: Add more tests of erf and erfc.
27631         * math/auto-libm-test-out: Regenerated.
27632         * sysdeps/i386/fpu/libm-test-ulps: Update.
27633         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27635 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27637         * config.h.in (HAVE_AARCH64_BE): Add.
27639 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27641         * math/auto-libm-test-in: Add more tests of csqrt.
27642         * math/auto-libm-test-out: Regenerated.
27643         * sysdeps/i386/fpu/libm-test-ulps: Update.
27644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27646         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27647         * math/auto-libm-test-out: Regenerated.
27648         * sysdeps/i386/fpu/libm-test-ulps: Update.
27649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27651         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27653 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27655         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27656         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27658         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27659         (euidaccess, eaccess): Define as weak aliases.
27661         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27662         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27663         but __suseconds_t is often 'long int' so some sources assume that
27664         type is being used (e.g. they use %ld to print tv_usec).
27666 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27668         [BZ #18007]
27669         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27670         (CVE-2014-8121)
27671         * nss/tst-nss-getpwent.c: New file.
27672         * nss/Makefile (tests): Add new test.
27674 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27676         [BZ #18346]
27677         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27678         exponents less than 48 as cases where high part of mantissa needs
27679         examining to determine whether argument is integral.
27680         * math/libm-test.inc (round_test_data): Add more tests.
27682 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27684         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27686 2015-04-27  David S. Miller  <davem@davemloft.net>
27688         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27689         __tls_get_addr.
27690         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27692 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
27694         [BZ#18333]
27695         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27697 2015-04-27  Florian Weimer  <fweimer@redhat.com>
27699         [BZ#18333]
27700         * time/tzset.c (parse_tzname): Return error on memory allocation
27701         failure.
27702         * test-skeleton.c (struct temp_name_list): Change type of name
27703         member to non-const.
27704         (add_temp_file): Create a copy of the file name.
27705         (delete_temp_files): Deallocate memory.
27706         (create_temp_file): Add comment.
27708 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27710         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27711         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27713 2015-04-24  Roland McGrath  <roland@hack.frob.com>
27715         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27716         * sysdeps/arm/configure: Regenerated.
27718 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27720         [BZ #17715]
27721         * time/tzfile.c (__tzfile_read): Check for large values of
27722         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
27723         * time/tzset.c (__tzstring_len): New function, based on the old
27724         __tzstring function.
27725         (__tzstring): Call __tzstring_len.
27726         (parse_tzname): New helper function extracted from
27727         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
27728         the input string.
27729         (parse_offset): New helper function extracted from
27730         __tzset_parse_tz.  Replace switch with fallthrough with
27731         initialization before sscanf.
27732         (parse_rule): Likewise.
27733         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
27734         new-style function definition.
27735         * timezone/Makefile (tests): Add tst-tzset.
27736         (tst-tzset.out): Dependencies on time zone files.
27737         (tst-tzset-ENV): Set TZDIR.
27738         (testdata/XT%): Copy crafted time zone files.
27739         * timezone/README: Mention crafted time zone files.
27740         * timezone/testdata/XT1, timezone/testdata/XT2,
27741         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27742         files.
27743         * timezone/tst-tzset.c: New test.
27745 2015-04-24  Florian Weimer  <fweimer@redhat.com>
27747         * Makeconfig (+gccwarn): Remove -Winline.
27749 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27751         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27753 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
27755         * NEWS: Mention sysconf() cache information support for s390.
27756         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27758 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
27760         * math/k_casinh.c (__kernel_casinh): Use __copysign.
27761         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27762         (__nearbyint): Likewise.
27763         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27764         (copysignl): Likewise.
27766 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
27768         [BZ #18287]
27769         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
27770         based on padding.  (CVE-2015-1781)
27772 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27774         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
27775         libc-vdso.h.
27776         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
27777         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
27778         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
27779         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
27780         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
27781         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
27782         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
27783         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27784         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
27785         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
27786         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
27787         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27788         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
27789         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
27790         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
27791         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
27792         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
27793         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
27794         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
27795         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
27796         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
27797         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
27798         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
27800 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
27802         * stdlib/setenv.c (__add_to_environ):
27803         Dump core quickly if setenv (..., NULL, ...) is called.
27804         This time, do it the right way, and pacify GCC with a pragma.
27806 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27808         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
27809         IMAP->l_prev cannot be null, and #if out the code for the contrary
27810         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
27811         believe that NS (&_dl_ns[NSID]) could point outside the array.
27813         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
27814         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
27815         before using NSID as an index.
27817 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
27819         [BZ #17825]
27820         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
27821         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
27822         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27824 2015-04-17  Roland McGrath  <roland@hack.frob.com>
27826         Add preliminary port to Google Native Client on ARM.
27827         * abi-tags (.*-.*-nacl.*): New entry.
27828         * sysdeps/arm/nacl: New directory.
27829         * sysdeps/nacl: New directory.
27831 2015-04-16  David S. Miller  <davem@davemloft.net>
27833         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
27834         lowlevellock-futex.h
27836 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
27838         * sysdeps/tile/configure.ac: New file.
27839         * sysdeps/tile/configure: Regenerated.
27841 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27843         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
27844         conditionals for weak_alias and libc_hidden_weak.
27845         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
27846         libc_hidden_weak and weak_alias.
27847         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
27848         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
27849         and weak_alias for static one.
27851 2015-04-15  David S. Miller  <davem@davemloft.net>
27853         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
27855 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27857         [BZ #18206]
27858         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
27859           Use signed comparision instead of substraction to avoid
27860           overflow bug.
27861         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
27862           Take the sign of ret.
27863         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
27864           Do not expect precise return values. Only the sign matters.
27865         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
27866         * wcsmbs/test-wcsncmp.c: New File.
27867         * string/test-strncmp.c: Add wcsncmp support.
27869 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27871         [BZ #6792]
27872         * math/w_log1p.c: New file.
27873         * math/w_log1pf.c: Likewise.
27874         * math/w_log1pl.c: Likewise.
27875         * math/Makefile (libm-calls): Add w_log1p.
27876         * math/s_log1pl.c (log1pl): Remove weak_alias.
27877         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
27878         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
27879         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
27880         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
27881         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
27882         [NO_LONG_DOUBLE] (log1pl): Likewise.
27883         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
27884         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
27885         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
27886         (log1p): Remove long_double_symbol.
27887         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
27888         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
27889         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
27890         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
27891         remove weak_alias for corresponding log1p function.
27892         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
27893         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
27894         * sysdeps/ia64/fpu/w_log1p.c: New file.
27895         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
27896         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
27897         * math/libm-test.inc (log1p_test_data): Add errno expectations.
27899 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
27901         [BZ #18247]
27902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
27903         decimal exponent by 1.
27904         * stdlib/tst-strtod-round-data: Add more tests.
27905         * stdlib/tst-strtod-round.c (tests): Regenerated.
27907 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
27909         * math/auto-libm-test-in: Add more tests of clog and clog10.
27910         * math/auto-libm-test-out: Regenerated.
27911         * sysdeps/i386/fpu/libm-test-ulps: Update.
27912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27914 2015-04-09  Roland McGrath  <roland@hack.frob.com>
27916         * Makeconfig (module-cppflags): Exclude all .v.i files.
27917         (skip-module-cppflags): Variable removed.
27919         * configure.ac (libc_config_ok): Initialize before reading
27920         preconfigure scripts, not after.
27921         * configure: Regenerated.
27923         * test-skeleton.c (TIMEOUT): Move #define to top level.
27924         (main): Grok environment variable TEST_DIRECT.  If set, print
27925         test expectation details into that file and then behave as if
27926         given --direct.
27928 2015-04-09  Florian Weimer  <fweimer@redhat.com>
27930         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
27931         warning on 32-bit.
27933 2015-04-08  David S. Miller  <davem@davemloft.net>
27935         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27937 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27939         * math/auto-libm-test-in: Add more tests of atanh.
27940         * math/auto-libm-test-out: Regenerated.
27941         * sysdeps/i386/fpu/libm-test-ulps: Update.
27942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27944         * math/auto-libm-test-in: Add more tests of atan.
27945         * math/auto-libm-test-out: Regenerated.
27946         * sysdeps/i386/fpu/libm-test-ulps: Update.
27947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27949 2015-04-08  Florian Weimer  <fweimer@redhat.com>
27951         * elf/pldd.c (main): Rewrite to use struct
27952         scratch_buffer instead of extend_alloca.
27953         * elf/pldd-xx.c (find_maps): Likewise.
27954         * grp/initgroups.c: Include <scratch_buffer.h> instead of
27955         <alloca.h>.
27956         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
27957         scratch_buffer instead of extend_alloca.
27958         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
27959         grp/compat-initgroups.c.
27960         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
27961         Rewrite to use struct scratch_buffer instead of extend_alloca.
27962         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
27963         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
27965 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
27967         * math/auto-libm-test-in: Add more tests of cbrt.
27968         * math/auto-libm-test-out: Regenerated.
27969         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27971         * math/auto-libm-test-in: Add more tests of cabs.
27972         * math/auto-libm-test-out: Regenerated.
27973         * sysdeps/i386/fpu/libm-test-ulps: Update.
27974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27976         [BZ #18210]
27977         [BZ #18211]
27978         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
27979         (__ieee754_atan2): Set FE_TONEAREST mode for internal
27980         computations.
27981         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
27982         clog10.
27983         * math/auto-libm-test-out: Regenerated.
27984         * sysdeps/i386/fpu/libm-test-ulps: Update.
27985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27987         [BZ #18197]
27988         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
27989         (atan): Set FE_TONEAREST mode for internal computations.
27990         * math/auto-libm-test-in: Add more tests of atan.
27991         * math/auto-libm-test-out: Regenerated.
27993 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
27995         [BZ #17930]
27996         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
27998 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28000         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28002 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28004         * include/scratch_buffer.h: New file.
28005         * malloc/scratch_buffer_grow.c: Likewise.
28006         * malloc/scratch_buffer_grow_preserve.c: Likewise.
28007         * malloc/scratch_buffer_set_array_size.c: Likewise.
28008         * malloc/tst-scratch_buffer.c: Likewise.
28009         * malloc/Makefile (routines): Add scratch_buffer_grow.
28010         (tests): Add test case.
28011         * malloc/Versions (GLIBC_PRIVATE): Export
28012         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28013         __libc_scratch_buffer_set_array_size.
28015 2015-04-06  Richard Henderson  <rth@redhat.com>
28017         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28018         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28020         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28021         unsigned int before printing.
28023 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28025         [BZ #17596]
28026         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28027         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28029 2015-04-02  Florian Weimer  <fweimer@redhat.com>
28031         * include/libc-internal.h (libc_max_align_t): Define.
28033 2015-04-02  Andreas Schwab  <schwab@suse.de>
28035         [BZ #16850]
28036         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28038 2015-04-02  Mel Gorman  <mgorman@suse.de>
28040         [BZ #17195]
28041         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28042         as well as the main arena.
28044 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28046         [BZ #18185]
28047         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28048         sharing L2 cache to 2 for Silvermont/Knights Landing.
28050 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28052         [BZ #17711]
28053         * config.make.in (have-protected-data): New.
28054         * configure.ac: Check linker support for protected data symbol.
28055         * configure: Regenerated.
28056         * elf/Makefile (modules-names): Add tst-protected1moda and
28057         tst-protected1modb if $(have-protected-data) is yes.
28058         (tests): Add tst-protected1a and tst-protected1b if
28059         $(have-protected-data) is yes.
28060         ($(objpfx)tst-protected1a): New.
28061         ($(objpfx)tst-protected1b): Likewise.
28062         (tst-protected1modb.so-no-z-defs): Likewise.
28063         * elf/tst-protected1a.c: New file.
28064         * elf/tst-protected1b.c: Likewise.
28065         * elf/tst-protected1mod.h: Likewise.
28066         * elf/tst-protected1moda.c: Likewise.
28067         * elf/tst-protected1modb.c: Likewise.
28069 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28071         [BZ #17711]
28072         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28073         indicates it is called from do_lookup_x on relocation against
28074         protected data, skip the data definion in the executable from
28075         copy reloc.
28076         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28077         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28078         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28079         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28080         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28081         otherwise to 0.
28082         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28083         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28084         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28085         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28086         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28087         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28089 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
28091         * sysdeps/nptl/pthread.h: Remove duplicate definition of
28092         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28094 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
28096         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28097         THREAD_SETMEM_NC.
28098         * sysdeps/x86_64/nptl/tls.h: Ditto.
28100 2015-03-27  Roland McGrath  <roland@hack.frob.com>
28102         * dlfcn/tststatic.c (main): Converted to ...
28103         (do_test): ... this.
28104         (TEST_FUNCTION): New macro.
28105         Include test-skeleton.c.
28107 2015-03-26  Alan Modra  <amodra@gmail.com>
28109         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28110         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
28111         zero for undefined weak.
28112         (elf_machine_plt_conflict): Similarly.
28114 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28116         * math/auto-libm-test-in: Add more tests of acosh, asinh and
28117         atanh.
28118         * math/auto-libm-test-out: Regenerated.
28119         * sysdeps/i386/fpu/libm-test-ulps: Update.
28120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28122         * math/auto-libm-test-in: Add another test of asin.
28123         * math/auto-libm-test-out: Regenerated.
28124         * sysdeps/i386/fpu/libm-test-ulps: Update.
28125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28127         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28128         Remove macro.
28129         (LLL_EBX_REG): Likewise.
28130         (LLL_ENTER_KERNEL): Likewise.
28132         * math/auto-libm-test-in: Add more tests of asin.
28133         * math/auto-libm-test-out: Regenerated.
28134         * sysdeps/i386/fpu/libm-test-ulps: Update.
28135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28137         [BZ #18138]
28138         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28139         libc_do_syscall_args): New structure.
28140         (INTERNAL_SYSCALL_MAIN_0): New macro.
28141         (INTERNAL_SYSCALL_MAIN_1): Likewise.
28142         (INTERNAL_SYSCALL_MAIN_2): Likewise.
28143         (INTERNAL_SYSCALL_MAIN_3): Likewise.
28144         (INTERNAL_SYSCALL_MAIN_4): Likewise.
28145         (INTERNAL_SYSCALL_MAIN_5): Likewise.
28146         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
28147         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28148         Replace conditional definitions by conditional definitions of ....
28149         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
28150         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28151         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28152         (libpthread-sysdep_routines): Add libc-do-syscall.
28153         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28154         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28155         to __NR_futex not 240.
28157 2015-03-25  Alan Modra  <amodra@gmail.com>
28159         * NEWS: Advertise TLS optimization.
28160         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28161         (DT_PPC_NUM): Increment.
28162         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28163         (CHECK_STATIC_TLS): Use here.
28164         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28165         TLS descriptors.
28166         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28167         * sysdeps/powerpc/dl-tls.c: New file.
28168         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28169         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28170         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28171         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28176 2015-03-25  Alan Modra  <amodra@gmail.com>
28178         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28179         for overlapping .opd entries" to "support...".
28180         * sysdeps/powerpc/powerpc64/configure: Regenerate
28182 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28184         * math/auto-libm-test-in: Add more tests of acos.
28185         * math/auto-libm-test-out: Regenerated.
28186         * sysdeps/i386/fpu/libm-test-ulps: Update.
28187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28189         * math/auto-libm-test-in: Add more tests of expm1.
28190         * math/auto-libm-test-out: Regenerated.
28191         * sysdeps/i386/fpu/libm-test-ulps: Update.
28192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28194 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
28196         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28197         * math/auto-libm-test-out: Regenerated.
28198         * sysdeps/i386/fpu/libm-test-ulps: Update.
28199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28201         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28204         * math/auto-libm-test-in: Add more tests of log2.
28205         * math/auto-libm-test-out: Regenerated.
28206         * sysdeps/i386/fpu/libm-test-ulps: Update.
28207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28209 2015-03-23  Roland McGrath  <roland@hack.frob.com>
28211         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28212         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
28213         _IO_IS_APPENDING bit in READ_WRITE instead.
28215 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28217         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28218         (__determine_cpumask_size): Replace extend_alloca with a
28219         variable-length array.  Do not treat res == 0 as an error.
28221 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28223         [BZ #18100]
28224         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28225         and integer overflow.
28226         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28227         (main): Add integer overflow tests.
28228         * manual/pattern.texi (Calling Wordexp): Document additional use
28229         for WRDE_SYNTAX.
28231 2015-03-23  Alan Modra  <amodra@gmail.com>
28233         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28234         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28235         and false branch of conditional.
28236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28237         Likewise.
28239 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28241         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28242         libc-modules.h
28243         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28244         unused declaration of _hurd_intr_rpc_msg_in_trap.
28245         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28246         defined instead of whether it is non-zero.
28247         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28248         input constraint instead of both input and output constraint.  Use ecx
28249         clobber instead of %ecx.
28250         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28251         mutex_unlock): Use a statement expression instead of an expression list.
28252         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28253         type to vm_size_t instead of vm_address_t.
28254         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28255         defined instead of whether it is non-zero.
28256         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28257         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28258         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28259         comparisons with mapaddr.
28260         * nscd/nscd-client.h: Include <time.h>.
28261         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28262         9th parameter to __vm_region instead of int.
28263         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28264         * scripts/check-local-headers.sh (exclude): Add device/,
28265         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28266         cthreads.h.
28268 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28270         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28271         to account for alignment padding.
28272         * sysdeps/arm/memmove.S: Likewise.
28274 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28276         * sysdeps/unix/sysv/linux/generic/README: New file.
28278 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28280         [BZ #18138]
28281         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28282         (futex_abstimed_wait)
28283         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28284         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28285         of lll_futex_timed_wait.
28287 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28289         [BZ #17542]
28290         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28292 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28294         [BZ #17090]
28295         [BZ #17620]
28296         [BZ #17621]
28297         [BZ #17628]
28298         * NEWS: Update.
28299         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28300         entries with Static TLS too.  Skip entries past the end of the
28301         allocated DTV, from Alan Modra.
28302         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28303         Static TLS DTV entry set up from...
28304         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28305         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28306         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28307         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28308         for Static TLS.
28309         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28310         that the slot we find is associated with the given map before
28311         using its generation count.
28312         * nptl_db/db_info.c: Include ldsodefs.h.
28313         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28314         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28315         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28316         (link_map::l_tls_offset): New struct field.
28317         (dtv_t::counter): Likewise.
28318         (rtld_global): New struct.
28319         (_rtld_global): New rtld variable.
28320         (dl_tls_dtv_slotinfo_list): New rtld global field.
28321         (dtv_slotinfo_list): New struct.
28322         (dtv_slotinfo): Likewise.
28323         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28324         (td_lookup): Rename to...
28325         (td_mod_lookup): ... this.  Use new mod parameter instead of
28326         LIBPTHREAD_SO.
28327         * nptl_db/td_thr_tlsbase.c: Include link.h.
28328         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28329         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28330         addresses even if the DTV is out of date or missing them.
28331         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28332         index zero-length arrays.
28333         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28334         (td_lookup): Make it a macro implemented in terms of...
28335         (td_mod_lookup): ... this declaration.
28336         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28337         (DB_MAIN_VARIABLE): Likewise.
28339 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28341         [BZ #18134]
28342         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28344 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28346         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28348 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28350         [BZ #18128]
28351         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28352         (atomic_add, atomic_increment_and_test)
28353         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28355 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28357         * stdlib/setenv.c (__add_to_environ):
28358         Dump core quickly if setenv (..., NULL, ...) is called.
28360 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28362         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28363         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28364         all the necessary asm magic in one place.
28365         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28366         using those.
28368 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28370         [BZ #14906]
28371         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28372         traced file mtime. Use consistent log message.
28373         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28374         (register_traced_file): Call install_watches. Always set mtime.
28375         (invalidate_cache): Iterate over all trace files. Call install_watches.
28376         (inotify_check_files): Don't inline. Handle watching parent
28377         directories and configuration file movement in and out.
28378         (handle_inotify_events): New function.
28379         (main_loop_poll): Call handle_inotify_events.
28380         (main_loop_epoll): Likewise.
28381         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28382         (struct traced_file): Use array of inotify fds. Add parent directory,
28383         and basename.
28384         (struct database_dyn): Remove unused file_mtime.
28385         (init_traced_file): New inline function.
28386         (define_traced_file): New macro.
28387         * nss/nss_db/db-init.c: Use define_traced_file.
28388         (_nss_db_init): Use init_traced_file.
28389         * nss/nss_files/files-init.c: Use define_traced_file.
28390         (_nss_files_init): Use init_traced_file.
28392 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28394         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28395         [_LIBC]: Do not include <stdlib.h>.
28396         [!_LIBC] (abort): Remove declaration.
28397         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28398         _FP_STATIC_ASSERT instead of conditionally calling abort.
28399         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28400         (_FP_EXTEND_CNAN): Likewise.
28401         (FP_TRUNC): Likewise.
28402         (__FP_CLZ): Likewise.
28403         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28405 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28407         * manual/string.texi (XPG basename): Fix prototype.
28409 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28411         [BZ #18080]
28412         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28413         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28414         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28415         (__setcontext): Likewise.
28416         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28417         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28418         Call rt_sigprocmask syscall one time to set new signal mask
28419         and retrieve the current signal mask instead of two calls.
28420         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28421         (__swapcontext): Likewise.
28422         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28423         * stdlib/tst-setcontext2.c: New file.
28425 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28427         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28429 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28431         [BZ #18093]
28432         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28433         the wrong size.
28435 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28437         [BZ #18043]
28438         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28440 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28442         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28443         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28444         Remove define.
28445         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28446         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28447         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28448         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28449         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28450         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28451         define.
28452         * nptl_db/td_symbol_list.c (td_lookup): Remove
28453         HAVE_ASM_GLOBAL_DOT_NAME code.
28454         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28455         HAVE_ASM_GLOBAL_DOT_NAME check.
28456         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28457         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28458         (DOT_LABEL): Remove define.
28459         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28460         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28461         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28462         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28463         (__TLS_GET_ADDR): Likewise.
28464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28465         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28467 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28469         [BZ #18111]
28470         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28471         (_FPU_SETCW): Initialize cw from fpsr before storing.
28472         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28473         (fesetexceptflag): Rewrite using fpu_control.h.
28474         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28476 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28478         [BZ #18110]
28479         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28480         asms.
28481         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28483 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28485         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28486         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28487         abort.
28488         (_FP_FMA): Likewise.
28489         (_FP_DIV): Likewise.
28491 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28493         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28494         with 0 in that case.
28495         * Makefile (summarize-tests): New canned sequence, factored out of
28496         commands for targets tests and xtests.  Display summary lines that
28497         don't start with PASS: or XFAIL: rather than ones that do start with
28498         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28499         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28500         do start with ERROR: or FAIL:.
28501         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28502         (except for [$(build-shared) = yes]).
28503         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28504         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28505         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28506         * nptl/Makefile: Revert 2015-03-04 changes.
28507         [$(CXX) empty] (tests-unsupported): New variable.
28508         * debug/Makefile: Likewise.
28510         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28511         gnulib file.  Replace __attribute with __attribute__ throughout.
28513 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28515         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28517 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28519         [BZ #18104]
28520         * math/auto-libm-test-in: Add another test of pow.
28521         * math/auto-libm-test-out: Regenerated.
28523 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28525         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28526         $(config-cflags-nofma).
28528 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28530         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28531         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28532         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28533         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28534         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28535         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28536         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28537         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28538         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28539         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28540         Add comment on closing #endif.
28542 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28544         * posix/wordexp.c (CHAR_IN_SET): New macro.
28545         (parse_param): Use it.
28547 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28549         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28551 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28553         [BZ #18043]
28554         * posix/wordexp.c (parse_param): Fix buffer overflow.
28555         * posix/wordexp-test.c (test_case): Add test case.
28557 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28559         [BZ #18042]
28560         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28561         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28563 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28565         [BZ #18043]
28566         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28567         (do_bz18043): Delete.
28568         (at_page_end): New.
28569         (testit): Refactor to have words at the edge of unreadable page.
28571 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28573         [BZ #16734]
28574         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28575         Cleanup read-only streams as well.
28576         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28578 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28580         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28581         <bits/libc-lockP.h>
28583 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28585         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28586         on [__KERNEL__].
28587         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28588         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28589         * soft-fp/op-common.h (_FP_DECL): Likewise.
28591 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28593         * elf/ifuncdep2.c (global): Replace
28594         __attribute__((visibility("protected"))) with
28595         asm (".protected global").
28596         * elf/ifuncmod1.c (global): Likewise.
28597         * elf/ifuncmod5.c (global): Likewise.
28599 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28601         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28602         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28604 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28606         * manual/install.texi (Configuring and compiling):
28607         Document test-wrapper-env-only.
28608         * INSTALL: Regenerated.
28610 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28612         [BZ #18043]
28613         * posix/wordexp.c (parse_param): Fix buffer overflow.
28614         * posix/wordexp-test.c (do_bz18043): Add test case.
28616 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28618         * time/tst-strptime2.c (do_test): Ensure failing tests are
28619         reported correctly.
28620         * time/tst-strptime3.c (do_test): Likewise.
28622 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28624         Fix aio_error thread-safety.
28625         * sysdeps/pthread/aio_error.c: New file
28626         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28627         synchronization.
28629 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28631         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28632         (group_number, vfprintf): Use it.
28633         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28634         (JUMP, REF): Use it.
28635         (WORK_BUFFER_SIZE): New enum constant.
28636         (process_arg, vfprintf): Use it.
28638 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28640         * manual/errno.texi (Error Messages): Complete example function
28641         by adding missing #define.
28642         (program_invocation_name): Add statement indicating GNU
28643         extension and reference which header file declares the variable.
28644         (program_invocation_short_name): Likewise.
28646 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28648         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28649         compatibility note.
28651 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28653         * Makeconfig (test-wrapper-env-only): New variable.
28654         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28655         then use that with $(test-wrapper-env-only) rather than using
28656         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28658 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28660         [BZ #18082]
28661         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28662         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28663         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28664         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28665         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28666         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28667         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28668         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28669         Likewise.
28670         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28671         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28672         Likewise.
28673         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28674         Likewise.
28675         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28676         Likewise.
28677         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28678         Likewise.
28679         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28680         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28681         Likewise.
28682         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28683         Likewise.
28684         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28685         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28687 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28689         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28690         (ETH_ALEN): New macro.
28691         (struct ether_addr): Use it for length of ether_addr_octet.
28693         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28694         (setdb): Don't call __nss_configure_lookup for "rpc".
28695         (do_test): Don't call test_rpc.
28696         (output_rpcent, test_rpc): Functions moved ...
28697         * sunrpc/test-rpcent.c: ... to this new file.
28698         * sunrpc/Makefile (tests): Add it.
28700         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28701         __xpg_sigpause.
28702         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28703         * nptl/tst-signal6.c: Likewise.
28704         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28705         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28707         * configure.ac (libc_cv_cxx_link_ok): New check.
28708         Reset CXX to empty if it fails to link.
28709         * configure: Regenerated.
28710         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28711         bug-atexit3-lib only if $(CXX) is nonempty.
28712         * nptl/Makefile (tests): Likewise for tst-cancel24.
28713         (tests, tests-static): Likewise for tst-cancel24-static.
28714         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28715         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28716         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28717         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28719 2015-03-04  Andreas Schwab  <schwab@suse.de>
28721         [BZ #17631]
28722         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28723         for non-GCC compilers.
28724         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28725         Likewise.
28727 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28729         [BZ #17776]
28730         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28731         integer before bitwise and assembly operations.
28732         (feclearexcept): Likewise.
28733         * math/test-fenvinline.c: New file.
28734         * math/Makefile: Add test-fenvinline test.
28736 2015-03-03  Alan Modra  <amodra@gmail.com>
28738         [BZ #16512]
28739         * scripts/localplt.awk: Strip off symbol version.
28740         * NEWS: Mention bug fix.
28742 2015-03-02  Roland McGrath  <roland@hack.frob.com>
28744         * sysdeps/pthread/timer_routines.c
28745         (timer_free_list, thread_free_list, thread_active_list): Make static.
28747 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
28749         [BZ #17779]
28750         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28751         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28752         Undefine.
28753         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28754         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28755         Likewise.
28756         * sysdeps/unix/sysv/linux/sh/kernel-features.h
28757         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28758         Likewise.
28760 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
28762         [BZ #18036]
28763         * posix/fnmatch_loop.c (END): Detect invalid pattern.
28764         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28766 2015-03-02  Andreas Schwab  <schwab@suse.de>
28768         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
28769         variable name.
28771 2015-03-02  Florian Weimer  <fweimer@redhat.com>
28773         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
28774         Return error status.
28776 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
28778         [BZ #15969]
28779         * locale/findlocale.c (_nl_find_locale): Introduce const
28780         version of loc_name and drop unsafe type casts.
28782 2015-02-27  Roland McGrath  <roland@hack.frob.com>
28784         * dlfcn/tststatic2.c (main): Converted to ...
28785         (do_test): ... this.
28786         (TEST_FUNCTION): New macro.
28787         Include test-skeleton.c.
28789 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
28791         [BZ #17711]
28792         * elf/Makefile (tests): Add vismain only if PIE is enabled.
28793         (tests-pie): Add vismain.
28794         (CFLAGS-vismain.c): New.
28795         * elf/vismain.c: Add comments for PIE requirement.
28797 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28799         [BZ #18046]
28800         [BZ #18047]
28801         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
28802         0x1p-56L as threshold for just returning the argument.
28803         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
28804         0x1p-32L as threshold for just returning the argument.
28805         * math/auto-libm-test-in: Add more tests of atanh.
28806         * math/auto-libm-test-out: Regenerated.
28807         * sysdeps/i386/fpu/libm-test-ulps: Update.
28808         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
28810 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28812         * string/bcopy.c (bcopy): Call memmove for performance.
28814 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
28816         * string/bzero.c (__bzero): Call memset for performance.
28818 2015-02-27  John David Anglin  <dave.anglin@bell.net>
28820         [BZ #18068]
28821         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
28822         to 00100000.
28824 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
28826         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
28828 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28830         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
28831         (__kernel_standard): Use CSTR macro when setting exc.name.
28832         * sysdeps/ieee754/Makefile [$(subdir) = math]
28833         (CFLAGS-k_standard.c): Remove variable.
28835         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
28836         setting p and q from "else if" to "else".
28837         (qzero): Likewise.
28838         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
28839         (qone): Likewise.
28840         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
28841         (qzerof): Likewise.
28842         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
28843         (qonef): Likewise.
28844         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
28845         (qzero): Likewise.
28846         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
28847         (qone): Likewise.
28849         [BZ #18038]
28850         [BZ #18039]
28851         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
28852         return pi/2 for arguments below 0x1p-113L.
28853         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
28854         return pi/2 for arguments below 0x1p-106L.
28855         * math/auto-libm-test-in: Add more tests of acos.
28856         * math/auto-libm-test-out: Regenerated.
28858         [BZ #16351]
28859         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
28860         (MO): New macro.
28861         (__ieee754_asin): Force underflow exception for results with small
28862         absolute value.
28863         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
28864         (MO): New macro.
28865         (__ieee754_asinf): Force underflow exception for results with
28866         small absolute value.
28867         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
28868         (__ieee754_asin): Force underflow exception for results with small
28869         absolute value.
28870         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
28871         (__ieee754_asinf): Force underflow exception for results with
28872         small absolute value.
28873         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
28874         (__ieee754_asinl): Force underflow exception for results with
28875         small absolute value.
28876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
28877         (__ieee754_asinl): Force underflow exception for results with
28878         small absolute value.
28879         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
28880         (__ieee754_asinl): Force underflow exception for results with
28881         small absolute value.
28882         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
28883         Include <math.h>.
28884         * math/auto-libm-test-in: Do not mark underflow exceptions as
28885         possibly missing for bug 16351.
28886         * math/auto-libm-test-out: Regenerated.
28888         [BZ #18030]
28889         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
28890         of power of 2 down when low part has opposite sign.
28891         * math/libm-test.inc (logb_test_data): Add more tests.
28893 2015-02-26  Andreas Schwab  <schwab@suse.de>
28895         [BZ #18032]
28896         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
28897         over collating symbol inside a bracket expression.  Minor cleanup.
28898         * posix/tst-fnmatch3.c (do_test): Add test case.
28900 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
28902         [BZ #18029]
28903         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
28904         Adjust exponent of power of 2 down when low part has opposite
28905         sign.
28906         * math/libm-test.inc (ilogb_test_data): Add more tests.
28908 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
28910         [BZ #15969]
28911         * locale/findlocale.c (_nl_find_locale): Fix constness error in
28912         the previous change.
28914         [BZ #15969]
28915         * locale/findlocale.c (_nl_find_locale): Retry archive search
28916         after alias expansion.
28918 2015-02-25  Roland McGrath  <roland@hack.frob.com>
28920         * iconv/tst-iconv3.c (main): Converted to ...
28921         (do_test): ... this.
28922         (TEST_FUNCTION): New macro.
28923         Include test-skeleton.c.
28925         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
28926         (convert): Make function static.
28927         (test_unalign): Likewise.  Add const to argument pointee types.
28928         (main): Replace with static function do_test.
28929         Print "Succeeded." only if RET is zero.
28930         (TEST_FUNCTION): New macro.
28931         Include test-skeleton.c.
28933         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
28934         returns a null pointer.
28936 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28938         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
28939         to __memcpy_ppc only for static builds.
28941 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
28943         [BZ #18020]
28944         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
28945         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
28946         * math/auto-libm-test-in: Add more tests of asinh.
28947         * math/auto-libm-test-out: Regenerated.
28948         * sysdeps/i386/fpu/libm-test-ulps: Update.
28949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28951 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
28953         [BZ #15850]
28954         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
28955         and ip6_mtuinfo definitions here.
28956         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
28957         in this define too.  Update comment.
28959 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
28961         * elf/sprof.c (load_shobj): Tweak error message to match others.
28963 2015-02-24  Kevin Easton  <kevin@guarana.org>
28965         [BZ #16145] (partial fix)
28966         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
28967         to reduce lock contention.
28969 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
28971         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
28972         (struct timex): Update time comment.
28973         (ADJ_SETOFFSET): Define.
28975 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28977         [BZ #18019]
28978         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28979         2**56 not 2**28 as threshold for log (2x) formula.
28980         * math/auto-libm-test-in: Add more tests of acosh.
28981         * math/auto-libm-test-out: Regenerated.
28982         * sysdeps/i386/fpu/libm-test-ulps: Update.
28983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28985 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
28987         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
28988         parenthesis around the buf assignment.
28989         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
28991 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
28993         [BZ #16783]
28994         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
28995         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
28996         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
28997         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28998         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
28999         * math/libm-test.inc (scalb_test_data): Add more tests.
29001 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29003         [BZ #17916]
29004         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29005         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29007 2015-02-24  Eric Rannaud  <e@nanocritical.com>
29009         [BZ #17523]
29010         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29011         * io/bits/fcntl2.h (open): Use it.
29012         (openat): Likewise.
29013         * io/open.c (__libc_open): Likewise.
29014         * io/open64.c (__libc_open64): Likewise.
29015         * io/open64_2.c (__open64_2): Likewise.
29016         * io/open_2.c (__open_2): Likewise.
29017         * io/openat.c (__openat): Likewise.
29018         * io/openat64.c (__openat64): Likewise.
29019         * io/openat64_2.c (__openat64_2): Likewise.
29020         * io/openat_2.c (__openat_2): Likewise.
29021         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29022         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29023         * sysdeps/posix/open64.c (__libc_open64): Likewise.
29024         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29025         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29026         (__open_nocancel): Likewise.
29027         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29028         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29029         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29031 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29033         [BZ #14841]
29034         * resolv/gethnamaddr.c (getanswer): Skip logging if
29035         RES_USE_DNSSEC is set.
29036         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29038 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29040         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29042 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
29044         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29045         201304L, for Unicode 7.
29047 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
29049         [BZ #17836]
29050         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29051         shared library.  Add gmon-start.os otherwise.
29052         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29053         $(objpfx)gmon-start.os if builing shared library.
29054         ($(objpfx)g$(static-start-installed-name)): Likewise.
29056 2015-02-23  Andreas Schwab  <schwab@suse.de>
29058         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29060 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29062         [BZ #17269]
29063         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29064         (enlarge_userbuf): Likewise.
29066 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
29068         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29069         * math/atest-exp.c (TIMEOUT): Adjust to 200.
29070         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29071         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29073 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
29075         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29076         expression inside statement expression.
29078 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29080         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29081         <sysdeps/nptl/lowlevellock.h> and remove macros and
29082         functions that are now defined there.
29083         (SYS_futex): Remove.
29084         (lll_compare_and_swap): Remove.
29085         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29087 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
29089         [BZ #17999]
29090         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29091         instead of scandirat.
29092         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29093         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29094         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29095         __scandirat.
29096         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29097         (__scandirat): Declare.  Use libc_hidden_proto.
29098         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29099         Remove variable.
29100         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29102 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29104         [BZ #15319]
29105         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29106         (MO): New macro.
29107         (__ieee754_atan2): For results with small absolute value, force
29108         underflow exception and remove excess range and precision from
29109         return value.
29110         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29111         (MO): New macro.
29112         (__ieee754_atan2f): For results with small absolute value, force
29113         underflow exception and remove excess range and precision from
29114         return value.
29115         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29116         (MO): New macro.
29117         (__atan): For results with small absolute value, force underflow
29118         exception and remove excess range and precision from return value.
29119         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29120         (MO): New macro.
29121         (__atanf): For results with small absolute value, force underflow
29122         exception and remove excess range and precision from return value.
29123         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29124         <math.h>.
29125         (__ieee754_atan2): Force underflow exception for results with
29126         small absolute value.
29127         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29128         <math_private.h>.
29129         (atan): Force underflow exception for results with small absolute
29130         value.
29131         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29132         (__atanf): Force underflow exception for results with small
29133         absolute value.
29134         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29135         <math.h>.
29136         (__atanl): Force underflow exception for results with small
29137         absolute value.
29138         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29139         (__atanl): Force underflow exception for results with small
29140         absolute value.
29141         * sysdeps/x86/fpu/bits/mathinline.h
29142         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29143         (__ieee754_atan2): Only define inline for long double.
29144         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29145         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29146         * math/auto-libm-test-in: Do not mark underflow exceptions as
29147         possibly missing for bug 15319.  Add more tests of atan2.
29148         * math/auto-libm-test-out: Regenerated.
29149         * math/libm-test.inc (casin_test_data): Do not mark underflow
29150         exceptions as possibly missing for bug 15319.
29151         (casinh_test_data): Likewise.
29152         * sysdeps/i386/fpu/libm-test-ulps: Update.
29154 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
29156         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29157         * sysdeps/mips/bits/endian.h: Fix comments.
29159 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29161         [BZ #17996]
29162         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29163         (hdestroy_r): Likewise.
29164         (hsearch_r): Likewise.
29165         (__hcreate_r): Declare and use libc_hidden_proto.
29166         (__hdestroy_r): Likewise.
29167         (__hsearch_r): Likewise.
29168         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29169         (hcreate): Call __hcreate_r instead of hcreate_r.
29170         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29171         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29172         as weak alias of __hcreate_r.
29173         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29174         __hdestroy_r.
29175         (hsearch_r): Rename to __hsearch_r and define as weak alias of
29176         __hsearch_r.
29177         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29178         Remove variable.
29179         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29180         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29181         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29182         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29184 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29186         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29187         arena_lock into a single arena_get.
29189 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
29191         * dl-reloc.c: Inlucde libc-internal.h.
29192         (_dl_try_allocate_static_tls): Call ALIGN_UP.
29193         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29194         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29195         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29196         (grow_heap): Likewise.
29197         * malloc/malloc.c: Include libc-internal.h.
29198         (do_check_malloc): Call powerof2.
29199         (sysmalloc): Use pagesize. Call ALIGN_UP.
29200         (systrim): Use pagesize.
29201         (mremap_chunk): Use pagesize. Call ALIGN_UP.
29202         (__libc_valloc): Use pagesize.
29203         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29205 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29207         [BZ #17991]
29208         * include/sys/resource.h (__getrlimit64): Declare.  Use
29209         libc_hidden_proto.
29210         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29211         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
29212         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29213         getrlimit64.
29214         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29215         __getrlimit64.
29216         [!getrlimit64] (getrlimit64): Define as weak alias of
29217         __getrlimit64.  Use libc_hidden_weak.
29218         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29219         using __getrlimit64 not __new_getrlimit64.
29220         (__GI_getrlimit64): Likewise.
29221         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29222         Likewise.
29223         (__GI_getrlimit64): Likewise.
29224         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29225         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29226         (getrlimit): Add __getrlimit64 alias.
29227         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29228         Likewise.
29229         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29230         Remove variable.
29231         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29232         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29234 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29236         * libio/fileops.c: Add missing sys/mman.h
29237         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29239 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29241         * manual/math.texi (Errors in Math Functions): Clarify goals
29242         regarding inexact and underflow exceptions.
29244 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29246         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29247         * sysdeps/mips/memset.S: Ditto.
29249 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29251         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29253 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29255         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29256         (__v1longjmp): Remove versioned symbol.
29257         (__v1siglongjmp): Remove alias and versioned symbol.
29258         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29259         (__v2siglongjmp): Likewise.
29261 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29263         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29265 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29267         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29269 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29271         [BZ #17987]
29272         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29273         zero result does not depend on the sign resulting from
29274         subtraction.
29275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29276         Likewise.
29277         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29278         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29279         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29280         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29281         * math/libm-test.inc (remquo_test_data): Add more tests.
29283 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29285         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29286         Problem reported by J William Piggott.
29288 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29290         [BZ #17978]
29291         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29292         products 4 * y and 2 * y where those would overflow.
29293         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29294         Likewise.
29295         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29296         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29297         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29298         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29299         * math/libm-test.inc (remquo_test_data): Add more tests.
29301         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29303         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29304         [defined _COMPILING_NEWLIB].
29305         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29306         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29308         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29309         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29311 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29313         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29314         acquired.
29316 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29318         [BZ #17792]
29319         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29320         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29321         HOST_STACK_END_ADDR): Likewise.
29323 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29325         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29326         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29327         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29329 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29331         * sysdeps/generic/c++-types.data: New file.
29332         * sysdeps/generic/ld.abilist: New file.
29333         * sysdeps/generic/libBrokenLocale.abilist: New file.
29334         * sysdeps/generic/libanl.abilist: New file.
29335         * sysdeps/generic/libc.abilist: New file.
29336         * sysdeps/generic/libcrypt.abilist: New file.
29337         * sysdeps/generic/libdl.abilist: New file.
29338         * sysdeps/generic/libm.abilist: New file.
29339         * sysdeps/generic/libpthread.abilist: New file.
29340         * sysdeps/generic/libresolv.abilist: New file.
29341         * sysdeps/generic/librt.abilist: New file.
29343 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29345         [BZ #17569]
29346         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29347         Compute absolute value of x as modified by fmod, not original
29348         value of x.
29349         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29350         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29351         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29352         RUN_TEST_ffI_f1_mod8.
29353         (remquo_test_data): Add more tests.
29355 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29357         * sysdeps/init_array/pt-crti.S: New file.
29359 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29361         [BZ #17967]
29362         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29363         __builtin_fmaf instead of relying on contraction of a * b + c.
29365 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29367         [BZ #17969]
29368         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29369         node.
29371 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29373         [BZ #17964]
29374         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29375         __builtin_fma instead of relying on contraction of a * b + c.
29377 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29379         * Makeconfig (ASFLAGS): Add -Werror=undef.
29380         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29381         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29382         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29384         * Makeconfig (after-link): New variable.
29385         (+link-pie, +link-pie-tests): Use it.
29386         (+link-static, +link-static-tests): Likewise.
29387         (+link, +link-tests): Likewise.
29388         * Makerules (build-module, build-module-asneeded): Likewise.
29389         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29390         Likewise.
29391         * elf/Makefile ($(objpfx)ld.so): Likewise.
29393 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29395         [BZ #17965]
29396         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29397         both struct timeval and struct timespec.
29399 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29401         [BZ #16560]
29402         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29403         and redefine.
29404         (__ieee754_exp2l): Do not multiply small fractional parts by
29405         M_LN2l.
29406         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29407         small argument.
29408         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29409         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29410         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29411         * math/auto-libm-test-in: Add more tests of exp2.
29412         * math/auto-libm-test-out: Regenerated.
29414 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29416         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29417         unaligned path.
29419 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29421         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29422         little endian.
29424 2015-02-12  Andreas Schwab  <schwab@suse.de>
29426         [BZ #15790]
29427         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29428         Filter out elision flags from value returned in kind.
29429         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29430         * nptl/tst-pthread-mutexattr.c: New file.
29432 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29434         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29435         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29436         into gnu-gnu, and update comment to refer to abi-tags.
29438 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29440         [BZ #15467]
29441         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29442         (__sincos): Set errno to EDOM for infinite argument.
29443         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29444         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29445         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29446         (__sincosl): Set errno to EDOM for infinite argument.
29447         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29448         (__sincosl): Set errno to EDOM for infinite argument.
29449         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29450         (__sincosl): Set errno to EDOM for infinite argument.
29451         * math/libm-test.inc (sincos_test_data): Test errno setting.
29453 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29455         * string/strxfrm_l.c: Remove #define STRCMP.
29456         * string/strcoll_l.c: Remove #define STRLEN.
29457         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29458         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29460 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29462         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29463         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29464         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29465         * sysdeps/mips/mips64/Makefile: ... here.
29466         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29467         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29468         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29469         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29470         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29471         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29472         * sysdeps/mips/mips64/n64/Implies: Likewise.
29474 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29476         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29477         <sys/time.h>, <string.h>, and <errno.h>.
29478         (dest_offset, dest_address, value, zero): Remove unused variables.
29479         (ldouble): Remove typedef.
29480         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29481         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29482         1).  Fix code style.
29483         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29484         (check): Function removed.
29485         (CHECK): New macro.
29486         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29487         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29488         Don't call set_sigaction_FP and remove_sigaction_FP here.
29489         (ldouble_test): Just use 'long double' as macro argument, no need for
29490         the 'ldouble' typedef.
29491         (do_test): Set up SIGFPE handler at start, using plain signal rather
29492         than sigaction.  Fix code style.
29494 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29496         [BZ #17949]
29497         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29498         jump label.
29500 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29502         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29503         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29505         * sysdeps/powerpc/configure.ac: Remove file.
29506         * sysdeps/powerpc/configure: Likewise.
29508         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29509         [sysdep_routines]: Remove wordcopy-power6 object.
29510         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29511         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29512         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29513         (__memmove_ppc32): Likewise.
29514         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29515         file.
29516         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29517         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29518         Remove preprocessor.
29520         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29521         [sysdep_routines]: Remove wide chars objects.
29522         [wcsmbs]: New rule for wide char objects.
29524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29525         Remove wordcopy-power6 obejct.
29526         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29527         Use local call for wordcopy and memcpy symbols.
29528         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29529         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29530         implementation for loader.
29531         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29533         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29534         Remove wordcopy-power7 object.
29535         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29537         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29538         (_wordcopy_fwd_dest_aligned): Likewise.
29539         (_wordcopy_bwd_aligned): Likewise.
29540         (_wordcopy_bwd_dest_aligned): Likewise.
29542         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29543         Rewrite to call __memmove_ppc instead of include default
29544         implementation.
29546         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29547         Remove wide chars objects.
29548         [wcsmbs]: New rule for wide char objects.
29550 2015-02-09  Andreas Schwab  <schwab@suse.de>
29552         [BZ #17912]
29553         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29554         in terms of __O_DIRECTORY.
29556 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29558         * time/getdate.c: Include <stdbool.h>.
29559         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29560         call PTR_MANGLE.
29561         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29562         PTR_DEMANGLE.
29564 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29566         Add ersatz _Static_assert on older C hosts
29567         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29568         pre-C11 C platform that is not known to support _Static_assert.
29570 2015-02-07  Richard Braun  <rbraun@sceen.net>
29572         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29573         sigstate.
29574         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29576 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29578         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29579         priority against unexistent AIO_PRIO_DELTA_MAX.
29580         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29581         instead of int.
29582         * misc/fchflags.c (fchflags): Likewise.
29583         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29584         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29585         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29586         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29587         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29588         Declare macros.
29589         [__USE_MISC] (chflags, fchflags): Declare functions.
29590         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29591         EINVAL when nfds is greater than FD_SETSIZE.
29592         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29593         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29594         45.
29595         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29596         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29597         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29598         MACH_RCV_TIMED_OUT.
29599         * hurd/hurd/signal.h (_hurd_self_sigstate,
29600         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29601         Explicit casts from void *.
29602         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29603         * abi-tags: Rename gnu-gnu os into gnu.
29605         [BZ #4719]
29606         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29607         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29608         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29609         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29610         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29611         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29613         [BZ #17944]
29614         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29615         duplicates ADDR->sun_path with sockaddr LEN limitation.
29616         * sysdeps/mach/hurd/connect.c: Include <string.h>
29617         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29618         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29619         * sysdeps/mach/hurd/sendto.c: Likewise.
29620         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29621         implementing it by hand.
29623 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29625         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29626         Use sfi_breg on ldr.
29627         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29628         Likewise.
29630         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29631         it's defined.
29632         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29633         Test SIGSETXID only if it's defined.
29635         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29637         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29638         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29640         * nptl/tst-align2.c: Moved ...
29641         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29642         * nptl/Makefile (tests): Remove tst-align2.
29643         * sysdeps/unix/sysv/linux/Makefile
29644         [$(subdir) = nptl] (tests): Add tst-align-clone.
29645         * nptl/tst-getpid1.c: Moved ...
29646         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29647         * nptl/tst-getpid2.c: Moved ...
29648         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29649         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29650         * sysdeps/unix/sysv/linux/Makefile
29651         [$(subdir) = nptl] (tests): ... here.
29652         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29653         * sysdeps/unix/sysv/linux/Makefile
29654         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29656         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29657         Drop trailing \n from perror argument.  Use return rather than exit.
29659         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29660         on [SA_SIGINFO].
29661         * nptl/tst-cancel21.c (do_test): Likewise.
29662         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29663         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29664         [!SA_SIGINFO]: Make it a stub test.
29666         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29667         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29669         * posix/tst-getlogin.c: Move to ...
29670         * login/tst-getlogin.c: ... here.
29671         * posix/Makefile (tests): Move tst-getlogin to ...
29672         * login/Makefile (tests): ... here.
29674         * libio/tst-atime.c (do_test): Move local variables SV and E
29675         inside [ST_NOATIME] conditional.
29677         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29679         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29681         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29682         (wait_code): New function replaces macro.
29683         Call nanosleep rather than syscall.
29685         * nptl/pt-system.c: Rewritten.  Put everything under
29686         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29687         Use IFUNC to redirect when possible.
29689         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29690         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29691         Use IFUNC to redirect when possible.
29693         * nptl/pt-fork.c: Rewritten.  Put everything under
29694         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29695         Use IFUNC to redirect when possible.
29696         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29698         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29699         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29700         unconditionally nowadays.  This included the only reference to
29701         __vdso_clock_gettime that appears outside libc proper.
29702         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29703         Remove version set (containing only __vdso_clock_gettime).
29704         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29705         Add attribute_hidden.
29706         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29707         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29708         libc_hidden_data_def.
29709         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29710         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29712         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29713         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29714         setrpcent, and getrpcport to ...
29715         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29716         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29717         getrpcbynumber_r, and getrpcent_r to ...
29718         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29719         * inet/getrpcbyname.c: Moved ...
29720         * sunrpc/getrpcbyname.c: ... here.
29721         * inet/getrpcbyname_r.c: Moved ...
29722         * sunrpc/getrpcbyname_r.c: ... here.
29723         * inet/getrpcbynumber.c: Moved ...
29724         * sunrpc/getrpcbynumber.c: ... here.
29725         * inet/getrpcbynumber_r.c: Moved ...
29726         * sunrpc/getrpcbynumber_r.c: ... here.
29727         * inet/getrpcent.c: Moved ...
29728         * sunrpc/getrpcent.c: ... here.
29729         * inet/getrpcent_r.c: Moved ...
29730         * sunrpc/getrpcent_r.c: ... here.
29731         * inet/Makefile (routines): Move those to ...
29732         * sunrpc/Makefile (routines): ... here.
29733         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29734         the $(subdirs) list.
29735         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
29736         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29737         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29738         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29740         * elf/Makefile (routines): Include $(all-dl-routines), not just
29741         $(dl-routines).
29742         (rtld-routines): Likewise.  Use = rather than :=.
29743         * sysdeps/aarch64/Makefile [$(subdir) = elf]
29744         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29745         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29746         * sysdeps/arm/Makefile: Likewise.
29747         * sysdeps/i386/Makefile: Likewise.
29748         * sysdeps/x86_64/Makefile: Likewise.
29749         * sysdeps/hppa/Makefile [$(subdir) = elf]
29750         (sysdep_routines, sysdep-rtld-routines): Don't add
29751         $(sysdep-dl-routines) to these.
29752         * sysdeps/ia64/Makefile: Likewise.
29753         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29754         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29755         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29756         Don't add dl-static to these; sysdep-dl-routines alone is enough.
29757         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29758         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29759         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29760         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29761         * sysdeps/powerpc/Makefile [$(subdir) = elf]
29762         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29763         these; sysdep-dl-routines alone is enough.
29765 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
29767         [BZ #17932]
29768         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
29769         where multiplication results in zero and third argument is finite
29770         and nonzero.
29771         * math/auto-libm-test-in: Add more tests of fma.
29772         * math/auto-libm-test-out: Regenerated.
29774         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
29775         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
29776         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
29777         (_FP_CMP_EQ): Likewise.
29778         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
29780         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
29781         extra argument CHECK_NAN.  Redefine as wrapper around
29782         _FP_EXTEND_CNAN.
29784 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
29786         * version.h (RELEASE): Set to "stable".
29787         (VERSION): Set to "2.21"
29788         * include/features.h (__GLIBC_MINOR__): Set to 21.
29790         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
29792 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29793             Paul Eggert  <eggert@cs.ucla.edu>
29795         [BZ #16618]
29796         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
29797         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
29798         size in bytes. Store needed elements in wpmax. Use needed size
29799         in bytes for extend_alloca.
29801 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
29803         * manual/install.texi: Latest tested versions are GCC 4.9.2,
29804         binutls 2.25, and texinfo 5.2.
29805         * INSTALL: Regenerate.
29806         * sysdeps/nios2/configure: Regenerate.
29807         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
29808         * manual/contrib.texi: Update.
29809         * po/be.po: Update.
29810         * po/bg.po: Update.
29811         * po/ca.po: Update.
29812         * po/cs.po: Update.
29813         * po/da.po: Update.
29814         * po/de.po: Update.
29815         * po/el.po: Update.
29816         * po/eo.po: Update.
29817         * po/es.po: Update.
29818         * po/fi.po: Update.
29819         * po/fr.po: Update.
29820         * po/gl.po: Update.
29821         * po/hr.po: Update.
29822         * po/hu.po: Update.
29823         * po/ia.po: Update.
29824         * po/id.po: Update.
29825         * po/it.po: Update.
29826         * po/ja.po: Update.
29827         * po/ko.po: Update.
29828         * po/lt.po: Update.
29829         * po/nb.po: Update.
29830         * po/nl.po: Update.
29831         * po/pl.po: Update.
29832         * po/pt_BR.po: Update.
29833         * po/ru.po: Update.
29834         * po/rw.po: Update.
29835         * po/sk.po: Update.
29836         * po/sl.po: Update.
29837         * po/sv.po: Update.
29838         * po/tr.po: Update.
29839         * po/uk.po: Update.
29840         * po/vi.po: Update.
29841         * po/zh_CN.po: Update.
29842         * po/zh_TW.po: Update.
29844         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
29845         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
29846         * sysdeps/hppa/dl-irel.h: Remove #warning.
29847         * sysdeps/hppa/entry.h: Provide prototype for
29848         __canonicalize_funcptr_for_compare and cast argument.
29849         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
29850         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
29851         * sysdeps/hppa/sotruss-lib.c: New file.
29852         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
29853         (atomic_compare_and_exchange_val_acq): Use __typeof__.
29854         (atomic_compare_and_exchange_bool_acq): Likewise.
29855         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
29856         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
29858         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
29859         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
29860         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
29862 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
29864         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
29865         called function in non-PIC case.
29867 2015-01-31  David S. Miller  <davem@davemloft.net>
29869         * sysdeps/sparc/sparc32/bits/atomic.h
29870         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
29871         unlock not after it.
29872         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
29873         volatile register usage warnings from the compiler.
29875         * sysdeps/sparc/nptl/sem_init.c: Delete.
29876         * sysdeps/sparc/nptl/sem_post.c: Delete.
29877         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
29878         * sysdeps/sparc/nptl/sem_wait.c: Delete.
29879         * sysdeps/sparc/sparc32/sem_init.c: New file.
29880         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
29881         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
29882         padding explicitly initialized.
29883         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
29884         padding for in-semaphore spinlock.
29885         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
29886         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
29887         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
29888         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
29889         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
29890         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
29891         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
29892         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
29893         version.
29894         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
29895         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
29897 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
29899         [BZ #17801]
29900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29901         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
29902         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
29903         New.
29904         (index_AVX_Fast_Unaligned_Load): Likewise.
29905         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
29906         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
29907         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
29908         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
29909         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
29910         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
29911         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
29912         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
29913         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
29915 2015-01-29  Andreas Schwab  <schwab@suse.de>
29917         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
29919 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
29921         [BZ #17892]
29922         * nscd/nscd_stat.c (send_stats): Initialize DATA.
29924 2015-01-28  Martin Sebor  <msebor@redhat.com>
29926         * math/README.libm-test: Clarify. Add "How to read the test output."
29928 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
29930         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
29931         Define to 0.
29933 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
29935         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
29936         (__HAVE_64B_ATOMICS): Define to 0.
29938 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29940         [BZ #17885]
29941         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
29942         value to set as new flag.
29944         [BZ #16576]
29945         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
29946         and use _ARCH_PPCSQ instead.
29947         (__ieee754_sqrt): Likewise.
29948         (__ieee754_sqrtf): Likewise.
29949         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
29950         _ARCH_PPCSQ is defined.
29951         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
29952         fsqrt instruction.
29953         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
29954         _ARCH_PPCSQ is defined.
29955         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
29956         fsqrts instruction.
29957         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
29959 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29961         * iconv/loop.c: Suppress array out of bound warning caused by GCC
29962         bug (GCC BZ #64739).
29964 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
29966         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
29967         Mark _retval as used.
29968         (lll_futex_wake_unlock): Likewise.
29969         (lll_futex_timed_wait_requeue_pi): Likewise.
29971         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29972         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
29973         register variables.
29975         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
29976         libm_hidden_def.
29978         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
29979         (__bswap_64): Mark as __always_inline.
29981 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
29983         [BZ #15378]
29984         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
29985         when none of the search directories exist.
29987 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29989         [BZ #17869]
29990         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
29991         power8 in .machine directive.
29993         [BZ #17868]
29994         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
29995         set dependency from opd value.
29997 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
29999         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30000         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30001         architecture.
30003 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
30005         [BZ #17870]
30006         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30007         with uint64_t.
30008         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30009         (uint64_t) 1.
30010         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30011         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30012         Replace 1UL with (uint64_t) 1.
30013         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30014         int with uint64_t.
30016 2015-01-23  Roland McGrath  <roland@hack.frob.com>
30018         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30019         (if_freenameindex): Likewise.
30021         * resource/getrlimit64.c: Add missing libc_hidden_def.
30023 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
30025         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30026         __label__.
30027         (_FP_FMA): Likewise.
30028         (_FP_TO_INT_ROUND): Likewise.
30029         (_FP_FROM_INT): Likewise.
30031 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30033         [BZ #16418]
30034         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30035         Make code racy and cancel safe.
30037 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
30039         * sysdeps/arm/unwind-resume.h: Fix copyright year.
30040         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30041         attribution.
30043         * pwd/tst-getpw.c: Rewrite.
30045         [BZ #17702]
30046         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30047         (modules-names): Add moddummy1 and moddummy2.
30048         ($(objpfx)tst-rec-dlopen): Define.
30049         * dlfcn/moddummy1.c: New file.
30050         * dlfcn/moddummy2.c: New file.
30051         * dlfcn/tst-rec-dlopen.c: New file.
30052         * elf/dl-cache.c (_dl_load_cache_lookup):
30053         Return char*. Copy result with alloca/strcpy/strdup.
30054         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30055         returns char*. Free cached. If not saving realname
30056         free cached.
30057         * elf/dl-open.c (dl_open_worker): Do not assert that
30058         _r_debug->r_state is RT_CONSISTENT.
30059         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30060         returns char*.
30062 2015-01-21  Torvald Riegel  <triegel@redhat.com>
30063             Carlos O'Donell  <carlos@redhat.com>
30065         [BZ #12674]
30066         * nptl/sem_waitcommon.c: New file.
30067         * nptl/sem_wait.c: Include sem_waitcommon.c.
30068         (__sem_wait_cleanup, do_futex_wait): Remove.
30069         (__new_sem_wait): Adapt.
30070         (__new_sem_trywait): New function.
30071         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30072         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30073         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30074         (sem_timedwait): Adapt.
30075         * nptl/sem_post.c (__new_sem_post): Adapt.
30076         (futex_wake): New function.
30077         (__old_sem_post): Add release MO fence.
30078         * nptl/sem_open.c (sem_open): Adapt.
30079         * nptl/sem_init.c (__new_sem_init): Adapt.
30080         (futex_private_if_supported): New function.
30081         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30082         (__old_sem_getvalue): Add using previous code.
30083         * sysdeps/nptl/internaltypes.h: Adapt.
30084         * nptl/tst-sem13.c (do_test): Adapt.
30085         * nptl/tst-sem11.c (main): Adapt.
30086         * nptl/sem_trywait.c: Remove.
30087         * nptl/DESIGN-sem.txt: Remove.
30088         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30089         (gen-as-const-headers): Remove structsem.sym.
30090         * nptl/structsem.sym: Remove.
30091         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30092         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30093         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30094         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30095         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30096         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30097         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30098         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30099         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30100         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30101         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30102         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30103         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30104         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30105         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30106         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30107         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30108         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30109         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30110         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30111         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30112         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30114 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
30116         * INSTALL: Regenerated.
30118         * po/libc.pot: Regenerated.
30120 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
30121             Sandra Loosemore  <sandra@codesourcery.com>
30122             Andrew Jenner  <andrew@codesourcery.com>
30123             Joseph Myers  <joseph@codesourcery.com>
30124             Nathan Sidwell  <nathan@codesourcery.com>
30126         * NEWS: Mention new Nios II port.
30127         * sysdeps/nios2/Implies: New file.
30128         * sysdeps/nios2/Makefile: New file.
30129         * sysdeps/nios2/Subdirs: New file.
30130         * sysdeps/nios2/Versions: New file.
30131         * sysdeps/nios2/__longjmp.S: New file.
30132         * sysdeps/nios2/abort-instr.h: New file.
30133         * sysdeps/nios2/backtrace.c: New file.
30134         * sysdeps/nios2/bits/endian.h: New file.
30135         * sysdeps/nios2/bits/fenv.h: New file.
30136         * sysdeps/nios2/bits/link.h: New file.
30137         * sysdeps/nios2/bits/setjmp.h: New file.
30138         * sysdeps/nios2/bsd-_setjmp.S: New file.
30139         * sysdeps/nios2/bsd-setjmp.S: New file.
30140         * sysdeps/nios2/configure: New generated file.
30141         * sysdeps/nios2/configure.ac: New file.
30142         * sysdeps/nios2/crti.S: New file.
30143         * sysdeps/nios2/crtn.S: New file.
30144         * sysdeps/nios2/dl-init.c: New file.
30145         * sysdeps/nios2/dl-machine.h: New file.
30146         * sysdeps/nios2/dl-sysdep.h: New file.
30147         * sysdeps/nios2/dl-tls.h: New file.
30148         * sysdeps/nios2/dl-trampoline.S: New file.
30149         * sysdeps/nios2/gccframe.h: New file.
30150         * sysdeps/nios2/gmp-mparam.h: New file.
30151         * sysdeps/nios2/jmpbuf-offsets.h: New file.
30152         * sysdeps/nios2/jmpbuf-unwind.h: New file.
30153         * sysdeps/nios2/ldsodefs.h: New file.
30154         * sysdeps/nios2/libc-tls.c: New file.
30155         * sysdeps/nios2/libm-test-ulps: New file.
30156         * sysdeps/nios2/machine-gmon.h: New file.
30157         * sysdeps/nios2/math-tests.h: New file.
30158         * sysdeps/nios2/math_private.h: New file.
30159         * sysdeps/nios2/memusage.h: New file.
30160         * sysdeps/nios2/nptl/Makefile: New file.
30161         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30162         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30163         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30164         * sysdeps/nios2/nptl/pthreaddef.h: New file.
30165         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30166         * sysdeps/nios2/nptl/tls.h: New file.
30167         * sysdeps/nios2/preconfigure: New file.
30168         * sysdeps/nios2/s_fma.c: New file.
30169         * sysdeps/nios2/s_fmaf.c: New file.
30170         * sysdeps/nios2/setjmp.S: New file.
30171         * sysdeps/nios2/sfp-machine.h: New file.
30172         * sysdeps/nios2/sotruss-lib.c: New file.
30173         * sysdeps/nios2/stackguard-macros.h: New file.
30174         * sysdeps/nios2/stackinfo.h: New file.
30175         * sysdeps/nios2/start.S: New file.
30176         * sysdeps/nios2/sysdep.h: New file.
30177         * sysdeps/nios2/tls-macros.h: New file.
30178         * sysdeps/nios2/tst-audit.h: New file.
30179         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30180         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30181         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30182         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30183         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30184         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30185         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30186         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30187         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30188         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30189         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30190         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30191         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30192         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30193         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30194         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30195         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30196         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30197         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30198         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30199         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30200         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30201         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30202         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30203         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30204         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30205         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30206         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30207         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30208         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30209         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30210         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30211         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30212         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30213         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30214         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30215         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30216         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30217         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30218         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30219         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30220         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30221         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30222         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30224 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30226         [BZ #17844]
30227         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30228         (getutent): Use weak_alias in non SHARED case
30229         and default_symbol_version in SHARED case.
30230         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30231         (getutent_r, pututline): Likewise.
30232         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30233         (getutid): Likewise.
30234         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30235         (getutid_r): Likewise.
30236         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30237         (getutline): Likewise.
30238         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30239         (getutline_r): Likewise.
30240         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30241         (updwtmp): Likewise.
30243 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30245         [BZ #17848]
30246         * sysdeps/s390/s390-32/memcmp.S
30247         (memcmp_g5): Rename to __memcmp_g5.
30248         * sysdeps/s390/s390-32/memcpy.S
30249         (memcpy_g5): Rename to __memcpy_g5.
30250         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30251         (memcpy_mvcle) Rename to __memcpy_mvcle.
30252         * sysdeps/s390/s390-32/memset.S
30253         (memset_g5): Rename to __memset_g5.
30254         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30255         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30256         and use prefixed functions.
30257         * sysdeps/s390/s390-32/multiarch/memcmp.S
30258         (memcmp_z196): Rename to __memcmp_z196.
30259         (memcmp_z10): Rename to __memcmp_z10.
30260         (memcmp): Set alias to __memcmp_g5.
30261         (bcmp): Set alias to __memcmp_g5.
30262         * sysdeps/s390/s390-32/multiarch/memcpy.S
30263         (memcpy_z196): Rename to __memcpy_z196.
30264         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30265         (memcpy_z10): Rename to __memcpy_z10.
30266         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30267         (memcpy): Set alias to __memcpy_g5.
30268         * sysdeps/s390/s390-32/multiarch/memset.S
30269         (memset_z196): Rename to __memset_z196.
30270         Jump to __memset_mvcle instead of memset_mvcle.
30271         (memset_z10): Rename to __memset_z10.
30272         Jump to __memset_mvcle instead of memset_mvcle.
30273         (memset_mvcle) Rename to __memset_mvcle.
30274         (memset): Set alias to __memset_g5.
30275         * sysdeps/s390/s390-64/memcmp.S
30276         (memcmp_z900): Rename to __memcmp_z900.
30277         * sysdeps/s390/s390-64/memcpy.S
30278         (memcpy_z900): Rename to __memcpy_z900.
30279         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30280         (memcpy_mvcle) Rename to __memcpy_mvcle.
30281         * sysdeps/s390/s390-64/memset.S
30282         (memset_z900): Rename to __memset_z900.
30283         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30284         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30285         and use prefixed functions.
30286         * sysdeps/s390/s390-64/multiarch/memcmp.S
30287         (memcmp_z196): Rename to __memcmp_z196.
30288         (memcmp_z10): Rename to __memcmp_z10.
30289         (memcmp): Set alias to __memcmp_z900.
30290         (bcmp): Set alias to __memcmp_z900.
30291         * sysdeps/s390/s390-64/multiarch/memcpy.S
30292         (memcpy_z196): Rename to __memcpy_z196.
30293         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30294         (memcpy_z10): Rename to __memcpy_z10.
30295         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30296         (memcpy): Set alias to __memcpy_z900.
30297         * sysdeps/s390/s390-64/multiarch/memset.S
30298         (memset_z196): Rename to __memset_z196.
30299         Jump to __memset_mvcle instead of memset_mvcle.
30300         (memset_z10): Rename to __memset_z10.
30301         Jump to __memset_mvcle instead of memset_mvcle.
30302         (memset_mvcle) Rename to __memset_mvcle.
30303         (memset): Set alias to __memset_z900.
30305 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30307         [BZ #17748]
30308         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30309         __fesetenv instead of fesetenv.
30311 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30313         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30314         macro.
30316 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30318         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30319         regression on LE.
30321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30322         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30323         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30324         strncmp-power8 object.
30325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30326         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30327         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30328         * NEWS: Update.
30330 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30331             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30333         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30334         trailing byte check.
30336 2015-01-13  David S. Miller  <davem@davemloft.net>
30338         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30340 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30342         * login/logout.c (logout): Use memset rather than bzero.
30343         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30344         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30345         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30346         (_gethtbyaddr): Likewise.
30347         * locale/programs/simple-hash.c (bcopy): Macro removed.
30349 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30351         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30352         Add strcmp-power8 object.
30353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30354         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30355         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30356         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30357         __strcmp_power8 implementation.
30358         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30359         * NEWS: Update.
30361         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30362         Add strncpy-power8 and stpncpy-power8 objects.
30363         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30364         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30365         implementations.
30366         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30367         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30368         __stpncpy_power8 implementation.
30369         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30370         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30371         __strncpy_power8 implementation.
30372         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30373         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30374         * NEWS: Update.
30376         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30377         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30378         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30380         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30381         strncat-power8 object.
30382         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30383         __strcat_power8 implementation.
30384         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30385         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30386         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30387         optimized strcat for power8.
30389         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30390         strcpy-power8 and stpcpy-power8 objects.
30391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30392         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30393         implementations.
30394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30395         multiarch stpcpy implementation for POWER8.
30396         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30397         multiarch strcpy implementation for POWER8.
30398         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30399         __strcpy_power8 function.
30400         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30401         stpcpy for POWER8.
30402         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30403         strcpy for POWER8.
30404         * NEWS: Update.
30406 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30408         [BZ #16009]
30409         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30410         weights and rules. Use do_xfrm_cached if data fits in cache,
30411         do_xfrm otherwise.  Moved former main loop to...
30412         * (do_xfrm_cached): New function.
30413         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30414         find_idx, find_position and stack_push.
30415         * (find_idx): New function.
30416         * (find_position): Likewise.
30417         * localedata/sort-test.sh: Added test run for do_xfrm.
30418         * localedata/xfrm-test.c (main): Added command line option
30419         -nocache to run the test with strings that are too large for
30420         the STRXFRM cache.
30422 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30424         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30425         variable to lll_futex_wake call, not the value itself.
30427 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30429         [BZ #17803]
30430         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30431         twom64.  Adjust value to 0x1p-64L.
30432         (__scalblnl): Only return standard underflowing result for K <=
30433         -64 not K <= -63; adjust exponent for underflowing result by 64
30434         not 63.
30435         * math/libm-test.inc (scalbn_test_data): Add more tests.
30436         (scalbln_test_data): Likewise.
30438         [BZ #17834]
30439         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30440         0x1p63L.
30441         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30442         not HX.
30443         * math/libm-test.inc (scalbn_test_data): Add more tests.
30444         (scalbln_test_data): Likewise.
30446 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30447             Stefani Seibold  <stefani@seibold.net>
30449         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30450         (sysdep_routines): Add dl-vdso here, ...
30451         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30452         (sysdep_routines): ... not here.
30453         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30454         fallback when vDSO is not presented.
30455         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30456         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30457         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30458         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30459         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30460         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30461         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30462         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30463         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30465         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30466         fallback configurable symbol when vDSO is not available.
30467         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30468         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30469         be able to redefine fallback symbol when vDSO is not available.
30470         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30471         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30473 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30475         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30476         (TLS_INIT_TP): Add tm_capable initialization.
30477         (TLS_DEFINE_INIT_TP): Likewise.
30478         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30479         TCB.
30480         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30481         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30482         calculation.
30483         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30484         transactoion is lock elision is built and TCB tm_capable is set.
30485         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30487         (INTERNAL_SYSCALL_NCS): Likewise.
30488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30489         (INTERNAL_SYSCALL_NCS): Likewise.
30490         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30492         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30493         for powerpc.
30494         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30495         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30496         and remove it for 32 bits case.
30497         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30498         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30499         initialization.
30500         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30501         Disable lock elision with rdlocks if elision is not available.
30503         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30504         (sysdep_routines): Add lock elision objects.
30505         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30506         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30507         [pthread_mutex_t] (__elision): Add field.
30508         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30509         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30510         elision definitions for powerpc.
30511         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30512         implementation of lock elision for powerpc.
30513         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30514         implementation of timed lock elision for powerpc.
30515         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30516         implementation of trylock with lock elision for powerpc.
30517         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30518         implementaion of unlock for lock elision for powerpc.
30519         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30520         automatic enable lock elision for mutexes.
30521         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30522         transaction execution definitions for powerpc.
30523         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30524         definitions.
30525         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30526         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30527         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30528         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30529         * NEWS: Update.
30531 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30533         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30534         for #include of <shm-directory.h>.
30536 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30538         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30539         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30541 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30543         [BZ #17791]
30544         * NEWS: Mention bug fix.
30545         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30546         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30547         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30549 2015-01-09  Torvald Riegel <triegel@redhat.com>
30551         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30553 2015-01-09  Torvald Riegel <triegel@redhat.com>
30555         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30557 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30559         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30560         pointer and cast to uintptr_t.
30562 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30564         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30565         removed.
30566         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30568 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30570         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30571         of 0.
30573 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30575         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30576         <nptl/pthreadP.h> instead.
30577         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30579         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30580         already defined.
30581         [__SIGRTMIN] (init): Function removed.
30582         [__SIGRTMIN] (initialized): Variable removed.
30583         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30584         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30585         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30586         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30587         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30588         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30589         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30590         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30591         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30592         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30593         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30594         * sysdeps/nptl/allocrtsig.c: New file.
30595         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30596         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30597         * sysdeps/generic/testrtsig.h: File removed.
30599         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30600         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30602         * nptl/nptl-init.c (pthread_functions): Conditionalize
30603         .ptr__nptl_setxid initialization on [SIGSETXID].
30605         * sysdeps/nptl/sys/procfs.h: New file.
30606         * nptl_db/Makefile (headers): Add it.
30607         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30609         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30610         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30611         * nptl/pthread_attr_setaffinity.c: Include it.
30612         * nptl/pthread_setattr_default_np.c: Likewise.
30613         * nptl/check-cpuset.h: New file.
30615 2015-01-08  Richard Henderson  <rth@redhat.com>
30617         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30618         (CFLAGS-tst-execstack-prog.c): Likewise.
30619         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30621 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30622             Sandra Loosemore  <sandra@codesourcery.com>
30623             Andrew Jenner  <andrew@codesourcery.com>
30624             Joseph Myers  <joseph@codesourcery.com>
30625             Nathan Sidwell  <nathan@codesourcery.com>
30627         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30628         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30629         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30630         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30631         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30632         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30633         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30634         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30635         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30636         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30637         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30638         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30639         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30640         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30641         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30642         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30643         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30645 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30647         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30648         timespec struct member in syscall macro.
30649         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30650         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30651         first timeval struct member in syscall macro.
30652         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30654 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30656         [BZ #17748]
30657         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30658         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30659         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30660         __feupdateenv and define as weak alias of __feupdateenv.  Use
30661         libm_hidden_weak.
30662         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30663         libm_hidden_def.
30664         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30665         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30666         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30667         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30668         libm_hidden_def.
30669         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30670         __feupdateenv and define as weak alias of __feupdateenv.  Use
30671         libm_hidden_weak.
30672         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30673         libm_hidden_def.
30674         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30675         __feupdateenv and define as weak alias of __feupdateenv.  Use
30676         libm_hidden_weak.
30677         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30678         libm_hidden_def.
30679         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30680         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30681         (__feupdateenv): Likewise.
30682         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30683         __feupdateenv and define as weak alias of __feupdateenv.  Use
30684         libm_hidden_weak.
30685         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30686         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30687         libm_hidden_def.
30688         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30689         function.
30690         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30691         libm_hidden_def.
30692         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30693         __feupdateenv instead of feupdateenv.
30694         (default_libc_feupdateenv_test): Likewise.
30695         (libc_feresetround_ctx): Likewise.
30697 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30699         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30700         prototype.
30702 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
30704         * posix/regcomp.c (parse_bracket_exp): Initialize type to
30705         COLL_SYM in a couple of places to avoid uninitialized variable
30706         wanings on tilegx gcc 4.8.2.
30708 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30710         * sysdeps/aarch64/strcpy.S: New file.
30711         * sysdeps/aarch64/stpcpy.S: New file.
30712         * NEWS: Updated.
30714 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
30716         * sysdeps/aarch64/strrchr.S: New file.
30717         * NEWS: Updated.
30719 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
30721         [BZ #17658]
30722         * stdlib/setenv.c: Fix memory leak when setting large,
30723         duplicate string.
30725 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
30727         [BZ #17273]
30728         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30729         and tabs from buffer before parsing fstab entry.
30730         * misc/tst-mntent.c (main): Add test for mount entry with
30731         trailing spaces and tabs.
30733 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
30735         [BZ #17748]
30736         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
30737         * math/fesetround.c (fesetround): Rename to __fesetround and
30738         define as weak alias of __fesetround.  Use libm_hidden_weak.
30739         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30740         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30741         * sysdeps/arm/fesetround.c (fesetround): Likewise.
30742         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30743         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30744         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30745         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30746         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30747         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30748         __fesetround_inline.
30749         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30750         __fesetround_inline instead of __fesetround.
30751         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30752         __fesetround and define as weak alias of __fesetround.  Use
30753         libm_hidden_weak.  Call __fesetround_inline instead of
30754         __fesetround.
30755         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30756         __fesetround and define as weak alias of __fesetround.  Use
30757         libm_hidden_weak.
30758         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30759         Likewise.
30760         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30761         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30762         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30763         * sysdeps/tile/math_private.h (__fesetround): New inline function.
30764         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30765         __fesetround and define as weak alias of __fesetround.  Use
30766         libm_hidden_weak.
30767         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30768         __fesetround instead of fesetround.
30769         (default_libc_feholdexcept_setround): Likewise.
30770         (libc_feholdsetround_ctx): Likewise.
30771         (libc_feholdsetround_noex_ctx): Likewise.
30773         [BZ #17748]
30774         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
30775         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
30776         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30777         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30778         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30779         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
30780         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30781         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
30782         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30783         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30784         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30785         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30786         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30787         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30788         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
30789         libm_hidden_def.
30790         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
30791         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
30792         Likewise.
30793         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
30794         define as weak alias of __fesetenv.  Use libm_hidden_weak.
30795         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30796         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
30797         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
30798         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
30799         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
30800         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
30801         __fesetenv instead of fesetenv.
30802         (libc_feresetround_noex_ctx): Likewise.
30803         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
30804         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30805         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
30806         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
30807         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
30808         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
30809         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30810         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30811         (__feupdateenv): Likewise.
30812         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
30813         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30814         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
30815         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
30817 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30819         [BZ #17806]
30820         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
30821         addresses have been freed.
30823 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
30825         * resolv/res_init.c (__res_vinit): Improve comments about nserv
30826         and nservall.
30828 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
30830         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
30831         Clean up check_pf allocation pattern. addresses
30833 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30835         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
30836         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
30837         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
30838         * nptl/pthread_exit.c (__pthread_exit): Likewise.
30839         * nptl/pthread_join.c (pthread_join): Likewise.
30840         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
30841         * sysdeps/posix/waitid.c (__waitid): Likewise.
30842         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
30843         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
30844         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
30845         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
30846         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
30847         Likewise.
30848         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
30849         (__libc_pread64): Likewise.
30850         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
30851         (__libc_pwrite): Likewise.
30852         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
30853         (__libc_pwrite64): Likewsie.
30854         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
30855         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
30856         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
30857         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
30858         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
30859         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
30860         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
30861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
30862         Likewise.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30864         (__libc_pread64): Likewise.
30865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
30866         Likewise.
30867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30868         (__libc_pwrite64): Likewise.
30869         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
30870         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
30871         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
30872         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
30873         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
30874         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
30875         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
30876         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
30877         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
30878         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
30879         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
30880         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
30881         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
30882         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
30883         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
30884         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
30885         Likewise.
30887 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
30889         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
30890         (CFLAGS-test-double.c): Likewise.
30891         (CFLAGS-test-ldouble.c): Likewise.
30892         (CPPFLAGS-test-ifloat.c): Likewise.
30893         (CPPFLAGS-test-idouble.c): Likewise.
30894         (CPPFLAGS-test-ildoubl.c): Likewise.
30895         (CFLAGS-test-test-fenv.c): Remove variable.
30896         (CFLAGS-test-misc.c): Likewise.
30898 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
30900         [BZ #17797]
30901         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
30902         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
30903         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
30904         CLOCKS_PER_SEC == 1000000.
30905         * time/clocktest.c (main): Replace %ld with %jd and cast to
30906         intmax_t.
30908 2015-01-05  Roland McGrath  <roland@hack.frob.com>
30910         * sysdeps/generic/unwind-resume.h: New file.
30911         * sysdeps/gnu/unwind-resume.c: Include it.
30912         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
30913         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
30914         argument list.
30915         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
30916         global rather than static.
30917         (_Unwind_Resume): Update user.
30918         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
30919         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
30920         rather than static.  Add __attribute__ ((cold)).
30921         (_Unwind_Resume, __gcc_personality_v0): Update callers.
30922         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
30923         * sysdeps/arm/arm-unwind-resume.S: New file.
30924         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
30925         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
30926         * sysdeps/arm/Makefile [$(subdir) = csu]
30927         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
30928         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
30929         Add rt-arm-unwind-resume.
30930         [$(subdir) = nptl]
30931         (libpthread-sysdep_routines, libpthread-shared-only-routines):
30932         Add pt-arm-unwind-resume.
30933         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
30934         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
30936 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30938         [BZ #17748]
30939         * include/fenv.h (__feholdexcept): Declare.  Use
30940         libm_hidden_proto.
30941         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
30942         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
30943         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30944         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
30945         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
30946         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
30947         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
30948         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30949         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
30950         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
30951         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30952         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
30953         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
30954         (feholdexcept): Likewise.
30955         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
30956         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30957         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
30958         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
30959         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
30960         __feholdexcept instead of feholdexcept.
30961         (default_libc_feholdexcept_setround): Likewise.
30963 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30965         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
30966         to avoid using stl/str to align destination.
30968 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30970         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
30972 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
30974         [BZ #17796]
30975         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
30976         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
30977         Define as weak alias not strong alias.
30979 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
30981         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
30982         bltzal with addiupc.
30983         (RTLD_START): Ditto.
30985 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
30987         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
30988         for __vdso_* functions in declarations.
30989         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
30990         definitions.
30991         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
30992         INTERNAL_VSYSCALL): Use struct return types to check for error.
30994         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
30995         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
30996         function with cast from llround().
30997         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
30998         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
30999         Define.
31001 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31003         [BZ #17793]
31004         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31005         Define as weak alias not strong alias.
31007         [BZ #17635]
31008         * ctype/ctype-c99.c: New file.  isblank implementation moved from
31009         ...
31010         * ctype/ctype-extn.c: ... here.
31011         (__isblank_l): Move to ...
31012         * ctype/ctype-c99_l.c: ... here.  New file.
31013         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31014         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31015         Remove variable.
31016         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31017         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31018         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31019         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31020         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31022         [BZ #17777]
31023         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31024         (posix_fadvise64): Define as weak alias not strong alias.
31025         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31026         (posix_fallocate64): Likewise.
31027         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31028         Remove variable.
31029         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31030         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31031         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31032         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31033         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31035 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
31037         [BZ #16191]
31038         * NEWS: Mention bug fix.
31039         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31040         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31041         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31042         (HOST_STACK_END_ADDR): Likewise.
31044 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31046         [BZ #17748]
31047         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
31048         * math/fegetround.c (fegetround): Rename to __fegetround and
31049         define as weak alias of __fegetround.  Use libm_hidden_weak.
31050         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31051         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31052         * sysdeps/arm/fegetround.c (fegetround): Likewise.
31053         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31054         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31055         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31056         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31057         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31058         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31059         Undefine after rather than before function definition; use
31060         parentheses around function name in definition.
31061         (__fegetround): Also undefine macro after function definition.
31062         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31063         __fegetround and define as weak alias of __fegetround.  Use
31064         libm_hidden_weak.  Do not undefine as macro.
31065         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31066         Likewise.
31067         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31068         __fegetround and define as weak alias of __fegetround.  Use
31069         libm_hidden_weak.
31070         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31071         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31072         * sysdeps/tile/math_private.h (__fegetround): New inline function.
31073         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31074         __fegetround and define as weak alias of __fegetround.  Use
31075         libm_hidden_weak.
31076         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31077         __fegetround instead of fegetround.
31079         [BZ #17782]
31080         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31081         Condition macro definition on [__USE_MISC].
31083         [BZ #17781]
31084         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31085         (struct sigaction): Change type of sa_flags field to int.
31087         [BZ #17780]
31088         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31089         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31090         __glibc_reserved0.
31092         * nptl/version.c (banner): Use single year in copyright notice.
31094         * NEWS: Update copyright dates.
31095         * catgets/gencat.c (print_version): Likewise.
31096         * csu/version.c (banner): Likewise.
31097         * debug/catchsegv.sh: Likewise.
31098         * debug/pcprofiledump.c (print_version): Likewise.
31099         * debug/xtrace.sh (do_version): Likewise.
31100         * elf/ldconfig.c (print_version): Likewise.
31101         * elf/ldd.bash.in: Likewise.
31102         * elf/pldd.c (print_version): Likewise.
31103         * elf/sotruss.sh: Likewise.
31104         * elf/sprof.c (print_version): Likewise.
31105         * iconv/iconv_prog.c (print_version): Likewise.
31106         * iconv/iconvconfig.c (print_version): Likewise.
31107         * locale/programs/locale.c (print_version): Likewise.
31108         * locale/programs/localedef.c (print_version): Likewise.
31109         * login/programs/pt_chown.c (print_version): Likewise.
31110         * malloc/memusage.sh (do_version): Likewise.
31111         * malloc/memusagestat.c (print_version): Likewise.
31112         * malloc/mtrace.pl: Likewise.
31113         * manual/libc.texinfo: Likewise.
31114         * nptl/version.c (banner): Likewise.
31115         * nscd/nscd.c (print_version): Likewise.
31116         * nss/getent.c (print_version): Likewise.
31117         * nss/makedb.c (print_version): Likewise.
31118         * posix/getconf.c (main): Likewise.
31119         * scripts/test-installation.pl: Likewise.
31120         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31122 2015-01-02  Will Newton  <will.newton@linaro.org>
31124         * sysdeps/arm/armv7/configure: Removed.
31125         * sysdeps/arm/armv7/configure.ac: Likewise.
31127 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31129         * All files with FSF copyright notices: Update copyright dates
31130         using scripts/update-copyrights.
31131         * intl/plural.c: Regenerated.
31132         * locale/programs/charmap-kw.h: Likewise.
31133         * locale/programs/locfile-kw.h: Likewise.
31135 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31137         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31139 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31141         [BZ #17748]
31142         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31143         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31144         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31145         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31146         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31147         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31148         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31149         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31150         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31151         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31152         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31153         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31154         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31155         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31156         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31157         libm_hidden_def.
31158         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31159         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31160         Likewise.
31161         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31162         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31163         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31164         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31165         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31166         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31167         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31168         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31169         __fegetenv instead of fegetenv.
31170         (libc_feholdsetround_noex_ctx): Likewise.
31172 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31174         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31175         (Elf_MIPS_ABIFlags_v0): New structure.
31176         (EF_MIPS_FP64): Define.
31177         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31178         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31179         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31180         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31181         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31182         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31183         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31184         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31185         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31186         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31187         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31188         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31189         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31190         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31191         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31192         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31193         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31194         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31195         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31196         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31197         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31198         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31199         field.
31200         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31201         EF_MIPS_FP64.
31202         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31203         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31204         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31205         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31206         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31207         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31208         * sysdeps/mips/tst-abi-interlink.c: Likewise.
31209         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31210         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31211         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31212         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31213         record the current FP ABI extension.
31214         (mips-mode-switch): Define to show if kernel headers support mode
31215         switching.
31216         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31217         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31218         supported SYSV ABI version to 3.
31219         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31220         feature.
31222 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31223             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31225         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31226         path.
31227         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31229 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31231         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31232         __fegetround and redefine to call __fegetround.  Remove condition
31233         on [!__NO_MATH_INLINES].
31234         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31235         function.
31236         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31237         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31238         Remove macro.
31239         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31240         instead of <fenv_libc.h>.
31241         (__llrintl): Call fegetround instead of __fegetround.
31242         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31243         instead of <fenv_libc.h>.
31244         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31245         (__lrintl): Call fegetround instead of __fegetround.
31246         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31247         instead of <fenv_libc.h>.
31248         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31249         (__rintl): Call fegetround instead of __fegetround.
31251 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31253         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31254         arrays.
31256 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31258         [BZ #17775]
31259         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31260         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31261         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31263 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31265         * sysdeps/i386/tls-macros.h: Include <features.h>.
31266         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31267         (TLS_IE): Likewise.
31268         (TLS_LD): Likewise.
31269         (TLS_GD): Likewise.
31270         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31271         define for GCC >= 5.0.
31273 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31275         * math/test-fenv.c (test_single_exception, set_single_exc,
31276         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31277         feexcp_mask_test, feenable_test, fe_single_test): Add
31278         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31279         case where they are not used.
31280         * math/libm-test.inc: Likewise.
31281         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31282         unused in the absence of FP rounding/exception support.
31283         * stdio-common/tst-printf-round.c: Likewise.
31284         * stdlib/tst-strtod-round.c: Likewise.
31285         * stdlib/tst-strtod-underflow.c: Likewise.
31287 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31289         [BZ #17723]
31290         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31291         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31292         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31293         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31294         libm_hidden_weak.
31295         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31296         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31297         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31298         libm_hidden_def.
31299         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31300         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31301         libm_hidden_weak.
31302         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31303         Likewise.
31304         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31305         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31306         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31307         libm_hidden_weak.
31308         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31309         libm_hidden_def.
31310         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31311         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31312         (__feraiseexcept): Likewise.
31313         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31314         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31315         libm_hidden_weak.
31316         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31317         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31318         libm_hidden_def.
31319         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31320         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31321         Use libm_hidden_def.
31322         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31323         libm_hidden_def.
31324         (feraiseexcept): Define as weak not strong alias.  Use
31325         libm_hidden_weak.
31326         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31327         New inline function.  Factored out of ...
31328         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31329         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31330         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31331         feraiseexcept.
31332         * math/w_acos.c (__acos): Likewise.
31333         * math/w_asin.c (__asin): Likewise.
31334         * math/w_ilogb.c (__ilogb): Likewise.
31335         * math/w_j0.c (y0): Likewise.
31336         * math/w_j1.c (y1): Likewise.
31337         * math/w_jn.c (yn): Likewise.
31338         * math/w_log.c (__log): Likewise.
31339         * math/w_log10.c (__log10): Likewise.
31340         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31341         * sysdeps/aarch64/fpu/math_private.h
31342         (libc_feupdateenv_test_aarch64): Likewise.
31343         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31344         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31345         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31346         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31347         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31348         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31349         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31350         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31351         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31352         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31354 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31356         [BZ #17732]
31357         * io/test-utime.c (main): Replace %ld with %jd and cast to
31358         intmax_t.
31359         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31360         * nptl/tst-mutex5.c: Include <stdint.h>.
31361         (do_test): Replace %ld with %jd and cast to intmax_t.
31362         * posix/tst-regex.c (run_test): Likewise.
31363         (run_test_backwards): Likewise.
31364         * rt/tst-clock.c: Include <stdint.h>.
31365         (clock_test): Replace %ld with %jd and cast to intmax_t.
31366         * rt/tst-cpuclock1.c: Include <stdint.h>.
31367         (do_test): Replace %lu with %ju and cast to uintmax_t.
31368         * rt/tst-cpuclock2.c: Include <stdint.h>.
31369         (do_test): Replace %lu with %ju and cast to uintmax_t.
31370         * rt/tst-mqueue1.c: Include <stdint.h>.
31371         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31372         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31373         intmax_t.
31374         * rt/tst-mqueue4.c (do_test): Likewise.
31375         * rt/tst-timer4.c: Include <stdint.h>.
31376         (check_ts): Replace %ld with %jd and cast to intmax_t.
31377         (do_test): Likewise.
31378         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31379         and cast to intmax_t.
31380         * sysdeps/pthread/tst-timer.c (main): Likewise.
31381         * time/clocktest.c (main): Likewise.
31382         * time/tst-posixtz.c (do_test): Likewise.
31383         * timezone/tst-timezone.c (main): Likewise.
31385 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31386             H.J. Lu  <hongjiu.lu@intel.com>
31388         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31389         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31390         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31391         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31392         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31393         version if bit_Fast_Unaligned_Load is set.
31394         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31395         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31396         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31397         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31398         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31399         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31400         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31401         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31402         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31403         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31404         to 4.
31405         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31406         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31407         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31408         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31410 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31412         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31413         instead of #if to avoid a Wundef warning.
31414         * stdlib/tst-limits.c (do_test): Likewise.
31416         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31417         parallel other exception macros.
31418         (fegetenv): Convert from macro to extern inline so that it applies
31419         retroactively to inline functions already seen by the compiler.
31420         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31422         * posix/Makefile (before-compile): Use $(objpfx) for
31423         posix-conf-vars-def.h.
31425 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31427         * posix/getconf.c (main): Use size_t for type of I.
31428         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31429         NSPEC.
31431         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31432         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31433         * posix/posix-envs.def: Likewise.
31434         * sysdeps/posix/sysconf.c: Likewise.
31435         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31436         (specs): Remove array.
31437         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31438         array.
31440         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31441         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31442         (__sysconf): Use CONF_IS_* macros.
31444         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31445         ($(objpfx)posix-conf-vars-def.h): New target.
31446         * posix/posix-conf-vars.list: New file.
31447         * posix/posix-conf-vars.h: New file.
31448         * posix/confstr.c: Include posix-conf-vars.h.
31449         (confstr): Use CONF_IS_* macros.
31450         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31451         CONF_IS_* macros.
31452         * scripts/gen-posix-conf-vars.awk: New file.
31454 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31456         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31457         fegetround): Add no-op macros to avoid linknamespace issues.
31459         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31460         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31462         * sysdeps/unix/sysv/linux/tile/sysdep.h
31463         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31464         assembly-specific section to avoid a redefinition warning.
31466         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31467         long before casting to pointer to avoid a cast warning.
31469 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31471         * sysdeps/tile/tilegx/Implies: New file.
31473 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31475         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31477 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31479         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31481 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31484         not define.
31485         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31486         <kernel-features.h>.
31487         (__utimes) [__NR_utimes]: Make code unconditional.
31488         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31489         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31490         (__ASSUME_UTIMES): Do not undefine.
31491         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31492         (__ASSUME_UTIMES): Likewise.
31493         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31494         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31495         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31496         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31498 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31500         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31502 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31504         [BZ #17747]
31505         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31506         alias to weak alias for j0l, y0l.
31507         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31508         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31510         [BZ #17746]
31511         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31512         conversion.
31514 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31516         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31517         to zero if not already defined.
31519 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31521         [BZ #17724]
31522         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31523         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31524         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31525         (char *) casts added.
31526         * sysdeps/ieee754/k_standardf.c: New file.
31527         * sysdeps/ieee754/k_standardl.c: Likewise.
31528         * math/Makefile (libm-support): Remove k_standard.
31529         (libm-calls): Add k_standard.
31531 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31533         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31534         Optimize to avoid an unnecessary FPCR read.
31536 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31538         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31539         Optimize to reduce FPCR/FPSR accesses.
31541 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31543         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31544         Call libc_fetestexcept_aarch64.
31546 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31548         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31549         Call libc_fesetround_aarch64.
31551 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31553         [BZ #17733]
31554         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31555         (__bind): Do not define as weak alias.
31556         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31557         define.
31558         (__getsockname): Do not define as weak alias.
31560 2014-12-22  Will Newton  <will.newton@linaro.org>
31562         * manual/install.texi: Document that we require bison 2.7
31563         or above.
31564         * INSTALL: Regenerate.
31565         * configure.ac: Use AC_CHECK_PROG_VER instead of
31566         AC_PATH_PROG when checking for bison and check for
31567         version 2.7 or above.
31568         * configure: Regenerate.
31570 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31572         [BZ #17745]
31573         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31574         * sysdeps/tile/ffsll.c (ffsll): To here.
31576         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31578 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31580         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31581         if not defined.
31582         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31583         definition.
31584         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31585         hidden ___tls_get_addr.
31586         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31587         hidden __tls_get_addr.
31588         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31589         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31590         Likewise.
31592 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31594         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31595         _dl_init call.
31597 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31599         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31600         from "call _dl_init@PLT".
31601         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31603 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31605         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31606         guarantees.
31608 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31610         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31612 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31614         [BZ #17744]
31615         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31616         strnlen.
31618 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31620         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31621         of multu on MIPSr6.
31622         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31623         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31624         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31625         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31626         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31628 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31630         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31631         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31632         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31633         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31634         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31635         mips32r6/mips64r6.
31636         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31638 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31640         * string/strncat.c (STRNCAT): Simplify implementation.
31642 2014-12-19  David S. Miller  <davem@davemloft.net>
31644         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31645         access the quad as both a long double and as a series of 4 words.
31647         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31648         link_map->l_info array access.
31650 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31652         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31654         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31655         * math/atest-exp2.c (TIMEOUT): Likewise.
31656         * math/atest-sincos.c (TIMEOUT): Likewise.
31658 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31660         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31661         -Wno-error with -fno-builtin-lround.
31663 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31665         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31666         Contains futex constants and functions moved over from ...
31667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31668         <lowlevellock-futex.h>.
31669         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31670         (lll_timedwait_tid): Add comments and parentheses around macro
31671         arguments.
31673 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31675         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31676         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31677         (__lll_private_flag): Remove.
31678         (lll_futex_wait): Likewise.
31679         (lll_futex_timed_wait): Likewise.
31680         (lll_futex_wake): Likewise.
31681         (lll_futex_requeue): Likewise.
31682         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31683         (__lll_timedwait_tid): Spell out argument names.
31684         (lll_timedwait_tid): Add comments and parentheses around macro
31685         arguments.
31686         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31687         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31689 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31691         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31692         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31693         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31694         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31695         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31696         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31697         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31698         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31699         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31700         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31701         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31702         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31703         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31704         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31705         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31706         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31707         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31708         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31709         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31711 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31713         * sysdeps/x86_64/x32/Makefile: New file.
31715 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31717         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31718         1L with (mp_limb_t) 1.
31720 2014-12-17  Roland McGrath  <roland@hack.frob.com>
31722         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31723         * nptl/libc_pthread_init.c: ... here.
31724         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31725         * nptl/register-atfork.c: ... here.
31727         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31728         Use pthread_sigmask rather than INTERNAL_SYSCALL.
31729         Use assert_perror to check its return value.
31730         (__gai_create_helper_thread): Likewise.
31732         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31734         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31736 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
31738         [BZ #17725]
31739         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31740         __profil_counter.
31741         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31742         Likewise.
31743         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31744         Likewise.
31745         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31746         Likewise.
31747         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31748         (profil_counter): Likewise.
31749         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31750         (profil_counter): Likewise.
31751         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31752         Likewise.
31753         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31754         Likewise.
31755         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31756         (profil_counter): Likewise.
31757         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31758         Likewise.
31759         [!__profil_counter] (profil_counter): Define as weak alias of
31760         __profil_counter.
31761         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31762         (profil_counter): Rename to __profil_counter.
31763         [!__profil_counter] (profil_counter): Define as weak alias of
31764         __profil_counter.
31765         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31766         (profil_counter): Rename to __profil_counter.
31767         [!__profil_counter] (profil_counter): Define as weak alias of
31768         __profil_counter.
31769         * sysdeps/posix/profil.c: Update comment referring to
31770         profil_counter.
31771         (__profil): Use __profil_counter instead of profil_counter.
31772         * sysdeps/posix/sprofil.c (profil_counter): Rename to
31773         __profil_counter.  Use __profil_counter_ushort and
31774         __profil_counter_uint in definitions.
31775         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
31776         instead of profil_counter_uint and profil_counter_ushort.
31778         [BZ #17722]
31779         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
31780         define as weak alias of __inet_makeaddr.
31781         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
31782         as weak alias of __inet_addr.
31783         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
31784         as weak alias of __inet_pton.  Use libc_hidden_weak.
31785         * include/arpa/inet.h (__inet_pton): Declare.  Use
31786         libc_hidden_proto.
31787         (inet_makeaddr): Don't use libc_hidden_proto.
31788         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
31789         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
31790         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
31791         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
31792         Remove variable.
31793         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
31794         (test-xfail-POSIX/time.h/linknamespace): Likewise.
31796 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
31798         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
31800 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31802         * stdio-common/bug-vfprintf-nargs.c (do_test):
31803         Cast value to intptr_t to avoid format warning
31804         for usage with PRIdPTR printing macro.
31806 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
31808         * libio/tst-widetext.c (do_test):
31809         Use format type %td instead of %Zd for ptrdiff_t
31810         in order to avoid format warning.
31812 2014-12-17  Andreas Schwab  <schwab@suse.de>
31814         * nscd/mem.c (gc): Add size_t cast to match printf format.
31816 2014-12-16  Roland McGrath  <roland@hack.frob.com>
31818         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
31819         (init): Apply PTR_MANGLE to pointers before storing them.
31820         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
31821         before using them.
31823 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
31825         [BZ #17719]
31826         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
31827         define as weak alias of __memrchr.
31828         (__memrchr): Do not define as strong alias of memrchr.
31829         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
31830         Remove variable.
31831         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
31832         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
31833         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
31835         [BZ #17717]
31836         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
31837         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
31838         (if_indextoname): Rename to __if_indextoname and define as weak
31839         alias of __if_indextoname.  Use libc_hidden_weak.
31840         (if_freenameindex): Rename to __if_freenameindex and define as
31841         weak alias of __if_freenameindex.
31842         (if_nameindex): Rename to __if_nameindex and define as weak alias
31843         of __if_nameindex.
31844         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
31845         __if_nametoindex and define as weak alias of __if_nametoindex.
31846         Use libc_hidden_weak.
31847         (if_freenameindex): Rename to __if_freenameindex and define as
31848         weak alias of __if_freenameindex.
31849         (if_nameindex): Rename to __if_nameindex and define as weak alias
31850         of __if_nameindex.
31851         (if_indextoname): Rename to __if_indextoname and define as weak
31852         alias of __if_indextoname.  Use libc_hidden_weak.
31853         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
31854         __if_nametoindex and define as weak alias of __if_nametoindex.
31855         Use libc_hidden_weak.
31856         (if_freenameindex): Rename to __if_freenameindex and define as
31857         weak alias of __if_freenameindex.  Use libc_hidden_weak.
31858         (if_nameindex_netlink): Use __if_freenameindex instead of
31859         if_freenameindex.
31860         (if_nameindex): Rename to __if_nameindex and define as weak alias
31861         of __if_nameindex.  Use libc_hidden_weak.
31862         (if_indextoname): Rename to __if_indextoname and define as weak
31863         alias of __if_indextoname.  Use libc_hidden_weak.
31864         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
31865         libc_hidden_proto.
31866         [!_ISOMAC] (__if_freenameindex): Likewise.
31867         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
31868         if_nametoindex.
31869         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
31870         variable.
31871         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
31872         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
31873         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
31874         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
31875         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
31876         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
31877         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
31879         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
31880         Remove variable.
31881         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
31882         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
31884 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31886         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
31887         subscript above bounds'
31889         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
31890         bounds.
31892 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
31894         * libio/tst-fopenloc.c: Use test-skeleton.c.
31896         * stdlib/tst-bsearch.c: Use test-skeleton.c.
31897         (entry): Rename to ITEM.
31898         (do_test, comp): Adjust.
31900         * stdio-common/tst-fseek.c: Use test-skeleton.c.
31902 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31904         * string/tester.c: Include <libc-internal.h>.
31905         (test_memset): Ignore -Wmemset-transposed-args.
31907 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31909         * misc/tst-mntent2.c (do_test): Fix warning.
31911 2014-12-16  Torvald Riegel  <triegel@redhat.com>
31913         * elf/tst-unique4lib.cc(a): Mark as used.
31915 2014-12-16  Florian Weimer  <fweimer@redhat.com>
31917         [BZ #17630]
31918         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
31919         names.
31921 2014-12-16  Allan McRae  <allan@archlinux.org>
31923         * stdio-common/Makefile (tests): Re-add bug26.
31925 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
31927         [BZ #17657]
31928         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
31929         static array.
31931 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
31933         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
31934         (__lll_lock_wait): Likewise.
31935         (__lll_timedlock_wait): Likewise.
31936         (__lll_timedwait_tid): Likewise.
31937         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
31938         (__lll_robust_timedlock_wait): Likewise.
31939         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
31940         (lll_cond_trylock): Likewise.
31941         (__lll_lock): Likewise.
31942         (__lll_robust_lock): Likewise.
31943         (__lll_cond_lock): Likewise.
31944         (lll_robust_cond_lock): Likewise.
31945         (__lll_timedlock): Likewise.
31946         (__lll_robust_timedlock): Likewise.
31947         (__lll_unlock): Likewise.
31948         (__lll_robust_unlock): Likewise.
31949         (lll_wait_tid): Likewise.
31950         (lll_timedwait_tid): Likewise.
31952 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31954         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
31956 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31958         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
31960 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
31962         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
31963         * stdio-common/tst-sprintf.c: Likewise.
31965 2014-12-15  Torvald Riegel  <triegel@redhat.com>
31967         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
31969 2014-12-15  Jeff Law  <law@redhat.com>
31971         [BZ #16617]
31972         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
31973         on the heap.  (CVE-2012-3406)
31974         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
31975         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
31976         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
31978 2014-12-15  Will Newton  <will.newton@linaro.org>
31980         * manual/install.texi: Bump required version of texinfo
31981         to 4.7 from 4.5.
31982         * INSTALL: Regenerated.
31983         * configure.ac: Check for makeinfo version 4.7 and above.
31984         * configure: Regenerated.
31986 2014-12-12  Roland McGrath  <roland@hack.frob.com>
31988         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
31989         PREFIX, string constant to insert between directory and name.
31990         * sysdeps/posix/shm_open.c: Update caller.
31991         * sysdeps/posix/shm_unlink.c: Likewise.
31992         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
31993         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
31994         (SEM_SHM_PREFIX): New macro.
31995         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
31996         [$(have-thread-library) = no].
31997         * nptl/Makefile (libpthread-routines): Add shm-directory.
31998         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
31999         * sysdeps/nptl/shm-directory.h: New file.
32000         * sysdeps/posix/shm-directory.c
32001         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32002         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32003         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32004         INTERNAL_SYSCALL.
32005         (__where_is_shmfs): Function removed.
32006         (mountpoint, defaultmount, defaultdir, __namedsem_once):
32007         Variables removed.
32008         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32009         Use SHM_GET_NAME.
32010         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
32012         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32013         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32014         unconditional for use inside libpthread.
32015         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32017 2014-12-12  Roland McGrath  <roland@hack.frob.com>
32019         * nptl/pthread_getaffinity.c: New file.
32020         * nptl/pthread_setaffinity.c: New file.
32021         * nptl/pthread_getname.c: New file.
32022         * nptl/pthread_setname.c: New file.
32024         * nptl/pthread_create.c (START_THREAD_DEFN)
32025         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32027 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32028             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32030         * resolv/res_send.c (send_vc): Disable warning resplen may
32031         be used uninitialized.
32033 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32035         * nptl/tst-mutex6.c
32036         (ATTR_NULL): New define checks ATTR against NULL.
32037         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32038         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32040 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
32042         [BZ #17581]
32043         * malloc/hooks.c
32044         (mem2mem_check): Revert my previous change.
32045         (malloc_check_get_size): Revert my previous change.
32046         (mem2chunk_check): Revert my previous change.
32048 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32050         * sysdeps/posix/shm-directory.c: New file.
32051         * sysdeps/posix/shm-directory.h: New file.
32052         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32053         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32054         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
32055         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32056         Transmute EPERM to EACCES.
32057         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32058         from ...
32059         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
32060         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32062 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32064         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32065         pointer and cast to uintptr_t.
32066         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32067         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32068         Add cast to avoid warning.
32069         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32071 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32073         * nptl/semaphore.h: Move to ...
32074         * sysdeps/pthread/semaphore.h: ... here.
32075         * Makefile (installed-headers): Change nptl/semaphore.h to
32076         sysdeps/pthread/semaphore.h.
32078 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32080         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32081         generated error format strings.
32083         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32084         -Wformat-extra-args warnings for scanf formats.
32085         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32086         test of zero-length format (duh).
32087         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32088         corner-case scanf format test.
32089         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32090         generated fprintf format string.
32091         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32092         corner-case sprintf format tests.
32093         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32094         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32095         -Wformat-extra-args warnings throughout.
32096         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32097         (CFLAGS-scanf4.c): Likewise.
32098         (CFLAGS-scanf7.c): Likewise.
32099         (CFLAGS-tst-sprintf.c): Likewise.
32100         (CFLAGS-tst-printf.c): Likewise.
32101         (CFLAGS-tst-printfsz.c): Likewise.
32103 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32105         * include/cpio.h: New file.
32106         * include/fmtmsg.h: Likewise.
32108         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32109         corresponding format argument to size_t.
32110         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
32111         arguments.
32112         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
32113         corresponding format argument to size_t.
32114         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
32115         arguments.
32116         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
32117         corresponding format argument to size_t.
32118         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32119         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32120         (CFLAGS-tst-mbswcs2.c): Likewise.
32121         (CFLAGS-tst-mbswcs3.c): Likewise.
32122         (CFLAGS-tst-mbswcs4.c): Likewise.
32123         (CFLAGS-tst-mbswcs5.c): Likewise.
32124         (CFLAGS-tst-trans.c): Likewise.
32126 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32128         * posix/regexbug1.c (main): Use "%s" format with regerror results,
32129         rather than assuming they won't contain any '%'s.
32131 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
32133         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32134         inhibit_loop_to_libcall to avoid recursive calls.
32135         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32136         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32138 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32140         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32141         prototype.
32143 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32145         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32146         integer value instead of boolean.
32148 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32150         * malloc/malloc.c: Fix powerof2 check.
32152 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32154         * locale/programs/locfile.h (maybe_swap_uint32):
32155         Remove inline and add unused attribute.
32157 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32159         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32160         Truncating assembler expression to a .long expression.
32162 2014-12-11  Andreas Schwab  <schwab@suse.de>
32164         * elf/rtld.c (struct map_args): Constify str member.
32165         (do_preload): Constify fname argument.
32167 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32169         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32170         constants definition.
32172 2014-12-11  Andreas Schwab  <schwab@suse.de>
32174         [BZ #16657]
32175         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32176         FORCE_ELISION instead of DO_ELISION.
32177         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32178         Remove.
32179         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32180         Likewise.
32182         * iconvdata/gconv-modules: Remove duplicate entry.
32184 2014-12-11  Will Newton  <will.newton@linaro.org>
32186         Merge gettext 0.19.3 into intl/.
32188         This involves a number of cosmetic changes to comments
32189         and ANSI function definitions and prototypes throughout
32190         all the files. The gettext copyright header is used but
32191         with the date ranges taken from the glibc copy.
32193         * NEWS: Add gettext merge to 2.21.
32194         * intl/bindtextdom.c: Switch to gettext copyright.
32195         Use ANSI definitions and prototypes.
32196         Use gl_* locking primitives rather than __libc_* ones.
32197         Use __builtin_expect rather than __glibc_likely/unlikely.
32198         * intl/dcgettext.c: Switch to gettext copyright.
32199         Use ANSI definitions and prototypes.
32200         * intl/dcigettext.c: Switch to gettext copyright.
32201         Use ANSI definitions and prototypes.
32202         (INTDIV0_RAISES_SIGFPE): New define.
32203         Use gl_* locking primitives rather than __libc_* ones.
32204         Include eval-plural.h instead of plural-eval.c.
32205         Use __builtin_expect rather than __glibc_likely/unlikely.
32206         * intl/dcngettext.c: Switch to gettext copyright.
32207         Use ANSI definitions and prototypes.
32208         * intl/dgettext.c: Likewise.
32209         * intl/dngettext.c: Likewise.
32210         * intl/plural-eval.c: Renamed to...
32211         * intl/eval-plural.h: ...this.
32212         * intl/explodename.c: Switch to gettext copyright.
32213         Use ANSI definitions and prototypes.
32214         (_nl_explode_name): Use strchr instead of __rawmemchr.
32215         * intl/finddomain.c: Switch to gettext copyright.
32216         Use ANSI definitions and prototypes.
32217         Use gl_* locking primitives rather than __libc_* ones.
32218         (_nl_find_domain): Use malloc rather than alloca for
32219         allocation of temporary locale name.
32220         * intl/gettext.c: Switch to gettext copyright.
32221         Use ANSI definitions and prototypes.
32222         * intl/gettextP.h: Switch to gettext copyright.
32223         Use ANSI definitions and prototypes.
32224         Use gl_* locking primitives rather than __libc_* ones.
32225         * intl/gmo.h: Switch to gettext copyright.
32226         (struct sysdep_string): Move struct segment_pair outside of
32227         struct definition.
32228         * intl/hash-string.c: Use ANSI definitions and prototypes.
32229         * intl/hash-string.h: Switch to gettext copyright.
32230         Use ANSI definitions and prototypes.
32231         * intl/l10nflist.c: Switch to gettext copyright.
32232         Use ANSI definitions and prototypes.
32233         (_nl_normalize_codeset): Avoid integer overflow.
32234         * intl/loadinfo.h: Switch to gettext copyright.
32235         Use ANSI definitions and prototypes.
32236         (LIBINTL_DLL_EXPORTED): New define.
32237         (PATH_SEPARATOR): New define.
32238         * intl/loadmsgcat.c: Switch to gettext copyright.
32239         * intl/localealias.c: Switch to gettext copyright.
32240         Use ANSI definitions and prototypes.
32241         (_nl_expand_alias): Use PATH_SEPARATOR.
32242         * intl/ngettext.c: Switch to gettext copyright.
32243         Use ANSI definitions and prototypes.
32244         * intl/plural-exp.c: Likewise.
32245         * intl/plural-exp.h: Switch to gettext copyright.
32246         Use ANSI definitions and prototypes.
32247         (struct expression): Move definition of enum operator outside
32248         of struct definition.
32249         * intl/plural.c: Regenerate.
32250         * intl/plural.y: Switch to gettext copyright.
32251         Use ANSI definitions and prototypes.
32252         Port to bison 3.0.
32253         * intl/textdomain.c: Switch to gettext copyright.
32254         Use ANSI definitions and prototypes.
32255         Use gl_* locking primitives rather than __libc_* ones.
32257 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32259         * debug/warning-nop.c: Add used atrribute.
32261 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32263         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32265         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32266         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32267         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32269 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32270             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32272         [BZ #17634]
32273         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32274         Undefine after defining function.  Define as weak alias of
32275         __wcschr.  Use libc_hidden_weak.
32276         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32277         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32278         (libc_hidden_def): Also define __GI___wcschr alias.
32279         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32280         __wcschr and define as weak alias of __wcschr.
32281         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32282         __wcschr.
32283         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32284         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32285         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32286         libc_hidden_weak.  Do not use libc_hidden_def.
32287         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32288         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32289         __GI___wcschr alias.
32290         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32291         [IS_IN (libc)] (wcschr): Define as macro expanding to
32292         __redirect_wcschr.
32293         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32294         [IS_IN (libc)] (__wcschr_power6): Likewise.
32295         [IS_IN (libc)] (__wcschr_power7): Likewise.
32296         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32297         instead of wcschr.
32298         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32299         __libc_wcschr.
32300         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32301         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32302         __wcschr and define as weak alias of __wcschr.  Use
32303         libc_hidden_builtin_def.
32304         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32305         as weak alias of __wcschr.  Use libc_hidden_weak.
32306         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32307         wcschr.
32308         * time/era.c (_nl_init_era_entries): Likewise.
32309         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32310         variable.
32311         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32312         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32314 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32316         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32317         format for long int variable.
32319 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32321         [BZ #10672]
32322         * manual/search.texi: (Array Sort Function): Remove claim how to make
32323         qsort stable.
32325 2014-12-10  Andreas Schwab  <schwab@suse.de>
32327         [BZ #12847]
32328         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32329         user-controlled locks.
32331 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32333         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32334         register.
32336 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32338         * configure.ac (--disable-werror): New configure option.
32339         (enable_werror): New AC_SUBST.
32340         * configure: Regenerated.
32341         * config.make.in (enable-werror): New variable.
32342         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32343         -Wno-error=undef.
32344         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32345         * manual/install.texi (Configuring and compiling): Document
32346         --disable-werror.
32347         * INSTALL: Regenerated.
32348         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32349         (CFLAGS-tst-chk2.c): Likewise.
32350         (CFLAGS-tst-chk3.c): Likewise.
32351         (CFLAGS-tst-chk4.cc): Likewise.
32352         (CFLAGS-tst-chk5.cc): Likewise.
32353         (CFLAGS-tst-chk6.cc): Likewise.
32354         (CFLAGS-tst-lfschk1.c): Likewise.
32355         (CFLAGS-tst-lfschk2.c): Likewise.
32356         (CFLAGS-tst-lfschk3.c): Likewise.
32357         (CFLAGS-tst-lfschk4.cc): Likewise.
32358         (CFLAGS-tst-lfschk5.cc): Likewise.
32359         (CFLAGS-tst-lfschk6.cc): Likewise.
32361         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32362         (main): Disable -Wdeprecated-declarations around calls to
32363         register_printf_function.
32365         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32366         (do_test): Disable -Wdiv-by-zero around some calls to
32367         fwrite_unlocked and fread_unlocked.
32369         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32370         (DIAG_POP_NEEDS_COMMENT): Likewise.
32371         (_DIAG_STR1): Likewise.
32372         (_DIAG_STR): Likewise.
32373         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32374         * stdio-common/bug21.c: Include <libc-internal.h>.
32375         (do_test): Disable -Wformat around call to sscanf.
32376         * stdio-common/scanf14.c: Include <libc-internal.h>.
32377         (main): Disable -Wformat around some calls to scanf functions.
32379 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32381         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32383 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32385         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32386         stack variable alignment.
32388 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32390         [BZ #17682]
32391         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32392         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32393         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32394         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32395         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32396         __getrlimit instead of getrlimit.
32397         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32398         __gettimeofday instead of gettimeofday.
32399         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32400         Likewise.
32401         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32402         Likewise.
32403         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32404         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32405         Remove variable.
32406         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32407         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32409 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32411         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32412         for wide-character tests.
32414 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32416         * io/openat64.c: #include <libc-internal.h>
32417         (__openat64): Prototypify.  Use ignore_value on MODE.
32418         * io/openat.c: Likewise.
32419         * misc/reboot.c: #include <libc-internal.h>
32420         (reboot): Prototypify.  Use ignore_value on HOWTO.
32421         * misc/ptrace.c: #include <libc-internal.h>
32422         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32424 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32426         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32427         XPG4, UNIX98 and XOPEN2K.
32428         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32429         Remove variable.
32430         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32432 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32434         * libio/fileops.c: Use ISO C style for function definitions.
32435         * libio/iofopen.c: Likewise.
32436         * libio/wfileops.c: Likewise.
32438         [BZ #17653]
32439         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32440         offset on EOF.
32441         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32442         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32443         (fgets_func): Function pointer to fgets and fgetws.
32444         (do_ftell_test): Add test to verify ftell value after read
32445         EOF.
32446         (do_test): Set fgets_func.
32448         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32449         O_TRUNC flag for w and w+ modes.
32450         (do_rewind_test): Likewise.
32451         (do_ftell_test): Likewise.
32452         (do_write_test): Likewise.
32454         [BZ #17647]
32455         * libio/fileops.c (do_ftell): Seek only when there are
32456         unflushed writes.
32457         * libio/wfileops.c (do_ftell_wide): Likewise.
32458         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32459         test case.
32460         (do_one_test): Call it.
32462 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32464         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32465         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32466         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32467         Remove variable.
32468         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32469         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32470         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32472 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32474         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32475         Remove variable.
32476         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32478         [BZ #17668]
32479         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32480         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32481         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32482         __freeifaddrs.  Use libc_hidden_weak.
32483         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32484         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32485         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32486         __freeifaddrs.  Use libc_hidden_weak.
32487         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32488         __getifaddrs and define as weak alias of __getifaddrs.  Use
32489         libc_hidden_weak.
32490         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32491         __freeifaddrs.  Use libc_hidden_weak.
32492         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32493         Remove variable.
32494         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32495         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32497 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32499         [BZ #17601]
32500         * sysdeps/mips/start.S (__start): Use indirect jump to call
32501         __libc_start_main.
32503 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32505         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32507         * nptl/tst-mutex1.c: Include <stdbool.h>.
32508         [!ATTR] (ATTR_NULL): New macro.
32509         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32510         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32511         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32513         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32514         to char *.
32516         [BZ #17665]
32517         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32518         Change conditional to [__USE_MISC].
32520         [BZ #17664]
32521         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32522         fgets_unlocked.
32523         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32524         __fgets_unlocked.
32525         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32526         fgets_unlocked.
32527         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32528         Remove variable.
32529         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32530         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32531         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32532         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32533         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32534         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32535         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32536         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32537         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32539         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32541 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32543         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32544         Remove strpbrk objects.
32545         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32546         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32548         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32549         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32550         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32552         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32553         Remove strcspn objects.
32554         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32555         (__libc_ifunc_impl_list): Remove strcspn implementation.
32556         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32557         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32558         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32559         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32561         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32562         Remove strspn objetcs.
32563         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32564         (__libc_ifunc_impl_list): Remove strspn implementation.
32565         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32566         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32567         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32568         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32570 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32572         [BZ #17581]
32573         * malloc/hooks.c
32574         (mem2mem_check): Add a terminator to the chain of checking blocks.
32575         (malloc_check_get_size): Use it here.
32576         (mem2chunk_check): Ditto.
32578 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32580         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32581         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32583 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32585         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32587         * nptl/nptl-init.c: Include libc-internal.h.
32588         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32590         * elf/ldconfig.c (search_dir): Expand comment.
32592 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32594         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32595         variable.
32596         (linknamespace-symlist-stdlibs-tests): Likewise.
32597         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32598         instead of $(objpfx)symlist-stdlibs.
32599         (linknamespace-libs-isoc): New variable.
32600         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32601         (linknamespace-libs-ISO): New variable.
32602         (linknamespace-libs-ISO99): Likewise.
32603         (linknamespace-libs-ISO11): Likewise.
32604         (linknamespace-libs-XPG3): Likewise.
32605         (linknamespace-libs-XPG4): Likewise.
32606         (linknamespace-libs-POSIX): Likewise.
32607         (linknamespace-libs-UNIX98): Likewise.
32608         (linknamespace-libs-XOPEN2K): Likewise.
32609         (linknamespace-libs-POSIX2008): Likewise.
32610         (linknamespace-libs-XOPEN2K8): Likewise.
32611         ($(objpfx)symlist-stdlibs): Replace by
32612         $(linknamespace-symlist-stdlibs-tests).  Use
32613         $(linknamespace-libs-$*) as set of libraries.
32614         ($(linknamespace-header-tests)): Update dependencies.  Use
32615         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32616         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32617         * conform/linknamespace.pl: Remove comment about considering
32618         definitions of symbols from irrelevant libraries.
32620 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32622         [BZ #13862]
32623         * elf/dl-tls.c: Include <atomic.h>.
32624         (oom): Remove #ifdef SHARED/#endif.
32625         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32626         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32627         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32628         big enough.
32629         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32630         * nptl/Makefile (tests): Add tst-stack4.
32631         (modules-names): Add tst-stack4mod.
32632         ($(objpfx)tst-stack4): New.
32633         (tst-stack4mod.sos): Likewise.
32634         ($(objpfx)tst-stack4.out): Likewise.
32635         ($(tst-stack4mod.sos)): Likewise.
32636         (clean): Likewise.
32637         * nptl/tst-stack4.c: New file.
32638         * nptl/tst-stack4mod.c: Likewise.
32640 2014-11-27  J. Brown  <jb999@gmx.de>
32642         * sysdeps/x86/bits/string.h: Add recent CPUs.
32644 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32646         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32647         sigblock.
32649         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32650         feof.
32652         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32653         variable.
32655 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32657         * nscd/connections.c: Include libc-internal.h because of macro
32658         usage ignore_value.
32660 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32662         * string/bits/string3.h (__warn_memset_zero_len): Don't
32663         declare for gcc newer than 5.0.
32664         (memset): Don't test for zero-length __LEN for gcc newer than
32665         5.0.
32667 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32669         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32670         size_t for %zu format.
32672         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32673         difference, not %ju.
32675 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32677         * include/libc-internal.h (ignore_value): New macro.
32678         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32679         with ignore_value.
32681         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32682         definition.
32684         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32685         pthread_cleanup_push to void *.
32687         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32688         Undefine.
32690         [BZ #16619]
32691         [BZ #16740]
32692         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32693         instead of 1L << 52.
32695         * libio/bug-rewind.c (do_test): Check fwscanf return values.
32696         * libio/bug-rewind2.c (do_test): Likewise.
32698         * debug/test-stpcpy_chk-ifunc.c: Remove file.
32699         * debug/test-strcpy_chk-ifunc.c: Likewise.
32700         * wcsmbs/test-wcschr-ifunc.c: Likewise.
32701         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32702         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32703         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32704         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32705         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32706         * Rules [$(multi-arch) = no] (tests): Do not filter out
32707         $(tests-ifunc).
32708         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32709         * debug/Makefile (tests-ifunc): Remove variable.
32710         (tests): Do not add $(tests-ifunc).
32711         * wcsmbs/Makefile (tests-ifunc): Remove variable.
32712         (tests): Do not add $(tests-ifunc).
32713         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32714         [TEST_IFUNC]: Remove conditionals.
32715         * string/test-string.h (TEST_IFUNC): Remove macro.
32716         [TEST_IFUNC]: Remove conditionals.
32718         * string/test-strchr.c [!WIDE] (L): New macro.
32719         [WIDE] (L): Likewise.
32720         (check1): Use CHAR instead of char.  Use L on string and character
32721         constants.
32723 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
32725         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32726         tests.
32727         * sysdeps/powerpc/bits/atomic.h
32728         (__arch_atomic_exchange_and_add_32_acq): Add definition.
32729         (__arch_atomic_exchange_and_add_32_rel): Likewise.
32730         (atomic_exchange_and_add_acq): Likewise.
32731         (atomic_exchange_and_add_rel): Likewise.
32732         * sysdeps/powerpc/powerpc32/bits/atomic.h
32733         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32734         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32735         * sysdeps/powerpc/powerpc64/bits/atomic.h
32736         (__arch_atomic_exchange_and_add_64_acq): Add definition.
32737         (__arch_atomic_exchange_and_add_64_rel): Likewise.
32739 2014-11-26  Torvald Riegel  <triegel@redhat.com>
32741         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32742         Change synchronization of __sched_fifo_min_prio and
32743         __sched_fifo_max_prio.
32744         * nptl/pthread_mutexattr_getprioceiling.c
32745         (pthread_mutexattr_getprioceiling): Likewise.
32746         * nptl/pthread_mutexattr_setprioceiling.c
32747         (pthread_mutexattr_setprioceiling): Likewise.
32748         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32749         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32750         Likewise.
32752 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32754         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32755         void.
32757 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32759         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32760         third argument const.
32762 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
32764         fnmatch: work around GCC compiler warning bug with uninit var
32765         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32766         This works around a bug with x86-64 GCC 4.9.2 and earlier
32767         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32768         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
32769         used uninitialized in this function [-Wmaybe-uninitialized]".
32771 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
32773         * posix/bug-regex31.c (main): Return RES not 0.
32775 2014-11-25  Anton Blanchard <anton@samba.org>
32777         * sysdeps/powerpc/bits/atomic.h
32778         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
32780 2014-11-24  Sterling Augustine  <saugustine@google.com>
32782         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
32784 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
32786         [BZ #17608]
32787         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
32789 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
32791         [BZ #17633]
32792         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
32793         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
32794         variable.
32795         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
32796         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
32798 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32800         * string/strncpy.c (strncpy): Improve performance by using memset.
32802 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
32804         * string/strcpy.c (strcpy):
32805         Improve performance by using strlen and memcpy.
32807 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
32809         * string/strcoll_l.c (get_next_seq): __always_inline.
32810         * string/strcoll_l.c (do_compare): __always_inline.
32812 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32814         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
32815         defined.
32816         * include/mqueue.h: Likewise.
32817         * include/stdlib.h: Likewise.
32819         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
32820         (get_null_defines): Adjust.
32821         * sunrpc/Makefile: Adjust comment.
32822         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
32823         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
32824         (CFLAGS-interp.c): Likewise.
32825         (CFLAGS-ldconfig.c): Likewise.
32826         (CPPFLAGS-.os): Likewise.
32827         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32828         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
32829         * extra-modules.mk (extra-modules.mk): Likewise.
32830         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
32831         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
32832         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
32833         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
32834         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
32835         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
32836         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
32837         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
32838         * iconvdata/Makefile (CPPFLAGS): Likewise.
32839         (cpp-srcs-left): Add libof for all iconvdata routines.
32840         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
32841         * include/assert.h: Likewise.
32842         * include/ctype.h: Likewise.
32843         * include/errno.h: Likewise.
32844         * include/libc-symbols.h: Likewise.
32845         * include/math.h: Likewise.
32846         * include/netdb.h: Likewise.
32847         * include/resolv.h: Likewise.
32848         * include/stdio.h: Likewise.
32849         * include/stdlib.h: Likewise.
32850         * include/string.h: Likewise.
32851         * include/sys/stat.h: Likewise.
32852         * include/wctype.h: Likewise.
32853         * intl/l10nflist.c: Likewise.
32854         * libidn/idn-stub.c: Likewise.
32855         * libio/libioP.h: Likewise.
32856         * nptl/libc_multiple_threads.c: Likewise.
32857         * nptl/pthreadP.h: Likewise.
32858         * posix/regex_internal.h: Likewise.
32859         * resolv/res_hconf.c: Likewise.
32860         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
32861         * sysdeps/arm/memmove.S: Likewise.
32862         * sysdeps/arm/sysdep.h: Likewise.
32863         * sysdeps/generic/_itoa.h: Likewise.
32864         * sysdeps/generic/symbol-hacks.h: Likewise.
32865         * sysdeps/gnu/errlist.awk: Likewise.
32866         * sysdeps/gnu/errlist.c: Likewise.
32867         * sysdeps/i386/i586/memcpy.S: Likewise.
32868         * sysdeps/i386/i586/memset.S: Likewise.
32869         * sysdeps/i386/i686/memcpy.S: Likewise.
32870         * sysdeps/i386/i686/memmove.S: Likewise.
32871         * sysdeps/i386/i686/mempcpy.S: Likewise.
32872         * sysdeps/i386/i686/memset.S: Likewise.
32873         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
32874         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32875         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
32876         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
32877         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32878         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
32879         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
32880         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32881         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
32882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
32883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32889         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
32890         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
32891         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
32892         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32893         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
32894         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
32895         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32896         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32897         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32898         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
32899         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
32900         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32901         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
32902         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32903         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32904         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
32905         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
32906         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
32908         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32909         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32910         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32911         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32912         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32913         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32914         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32915         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32916         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32917         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32918         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32919         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
32920         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
32921         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32922         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
32923         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32924         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
32925         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
32926         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32927         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
32928         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
32929         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32930         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
32931         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
32932         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32933         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
32934         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32935         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
32936         * sysdeps/nptl/bits/libc-lock.h: Likewise.
32937         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
32938         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
32939         * sysdeps/posix/closedir.c: Likewise.
32940         * sysdeps/posix/opendir.c: Likewise.
32941         * sysdeps/posix/readdir.c: Likewise.
32942         * sysdeps/posix/rewinddir.c: Likewise.
32943         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
32944         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
32945         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
32946         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
32947         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
32948         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
32949         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
32950         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
32951         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
32952         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
32953         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
32954         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
32955         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
32956         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
32957         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
32958         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
32959         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
32960         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
32961         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
32962         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
32963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
32964         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
32965         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
32966         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
32967         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
32968         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
32969         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
32970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
32971         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
32972         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
32973         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
32974         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
32975         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
32976         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
32977         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
32978         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
32979         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
32980         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
32981         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
32982         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
32983         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
32984         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
32985         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
32986         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
32987         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
32988         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
32989         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
32990         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
32991         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
32992         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
32993         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
32994         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
32995         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32996         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
32997         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
32998         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
32999         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33000         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33001         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33002         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33003         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33004         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33005         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33006         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33007         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33008         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33009         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33010         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33011         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33012         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33014         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33015         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33016         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33017         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33018         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33019         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33020         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33021         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33022         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33023         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33024         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33025         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33026         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33027         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33028         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33029         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33030         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33031         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33032         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33033         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33034         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33035         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33036         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33037         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33038         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33039         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33040         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33041         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33042         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33043         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33044         * sysdeps/unix/alpha/sysdep.S: Likewise.
33045         * sysdeps/unix/alpha/sysdep.h: Likewise.
33046         * sysdeps/unix/make-syscalls.sh: Likewise.
33047         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33048         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33049         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33050         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33051         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33052         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33053         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33054         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33055         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33056         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33057         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33058         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33059         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33060         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33061         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33062         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33063         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33065         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33066         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33067         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33068         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33069         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33070         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33071         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33072         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33073         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33076         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33077         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33078         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33079         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33080         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33081         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33082         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33083         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33084         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33085         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33086         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33087         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33088         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33089         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33090         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33091         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33092         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33094         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33097         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33098         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33099         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33100         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33101         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33102         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33103         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33104         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33105         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33106         * sysdeps/x86_64/memcpy.S: Likewise.
33107         * sysdeps/x86_64/memmove.c: Likewise.
33108         * sysdeps/x86_64/memset.S: Likewise.
33109         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33110         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33111         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33112         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33113         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33114         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33115         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33116         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33117         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33118         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33119         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33120         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33121         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33122         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33123         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33124         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33125         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33126         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33127         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33128         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33129         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33130         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33131         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33132         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33133         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33134         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33135         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33136         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33137         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33138         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33139         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33140         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33141         * sysdeps/x86_64/strcmp.S: Likewise.
33143         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33145         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33146         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33147         * elf/rtld-Rules: Likewise.
33148         * elf/setup-vdso.h: Likewise.
33149         * include/assert.h: Likewise.
33150         * include/bits/stdlib-float.h: Likewise.
33151         * include/errno.h: Likewise.
33152         * include/sys/stat.h: Likewise.
33153         * include/unistd.h: Likewise.
33154         * sysdeps/aarch64/setjmp.S: Likewise.
33155         * sysdeps/alpha/setjmp.S: Likewise.
33156         * sysdeps/arm/__longjmp.S: Likewise.
33157         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33158         * sysdeps/arm/setjmp.S: Likewise.
33159         * sysdeps/arm/sysdep.h: Likewise.
33160         * sysdeps/generic/_itoa.h: Likewise.
33161         * sysdeps/generic/dl-sysdep.h: Likewise.
33162         * sysdeps/generic/ldsodefs.h: Likewise.
33163         * sysdeps/i386/dl-tls.h: Likewise.
33164         * sysdeps/i386/setjmp.S: Likewise.
33165         * sysdeps/m68k/setjmp.c: Likewise.
33166         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33167         * sysdeps/mach/hurd/opendir.c: Likewise.
33168         * sysdeps/posix/getcwd.c: Likewise.
33169         * sysdeps/posix/opendir.c: Likewise.
33170         * sysdeps/posix/profil.c: Likewise.
33171         * sysdeps/powerpc/dl-procinfo.h: Likewise.
33172         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33173         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33174         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33175         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33176         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33177         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33178         * sysdeps/s390/dl-tls.h: Likewise.
33179         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33180         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33181         * sysdeps/sh/sh3/setjmp.S: Likewise.
33182         * sysdeps/sh/sh4/setjmp.S: Likewise.
33183         * sysdeps/unix/alpha/sysdep.h: Likewise.
33184         * sysdeps/unix/arm/sysdep.S: Likewise.
33185         * sysdeps/unix/i386/sysdep.S: Likewise.
33186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33187         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33188         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33190         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33191         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33192         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33193         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33194         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33195         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33196         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33197         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33198         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33202         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33203         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33204         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33205         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33206         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33207         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33208         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33209         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33210         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33211         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33212         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33213         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33214         * sysdeps/x86_64/setjmp.S: Likewise.
33216         * include/math.h: Use IS_IN instead of IS_IN_libm.
33217         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33218         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33219         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33220         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33221         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33222         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33223         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33224         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33225         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33226         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33227         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33228         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33229         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33230         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33231         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33232         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33233         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33234         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33235         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33236         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33237         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33238         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33239         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33240         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33241         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33242         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33243         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33244         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33245         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33246         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33247         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33248         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33249         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33251         Likewise.
33252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33253         Likewise.
33254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33255         Likewise.
33256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33257         Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33259         Likewise.
33260         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33261         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33262         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33263         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33264         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33265         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33270         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33271         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33272         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33273         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33274         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33275         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33276         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33277         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33278         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33279         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33280         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33281         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33282         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33283         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33284         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33286         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33288         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33289         * nptl/pthreadP.h: Likewise.
33290         * nptl_db/structs.def: Likewise.
33291         * sysdeps/arm/sysdep.h: Likewise.
33292         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33293         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33294         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33295         * sysdeps/unix/alpha/sysdep.h: Likewise.
33296         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33298         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33299         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33300         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33301         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33302         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33303         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33304         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33305         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33306         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33307         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33308         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33309         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33312         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33313         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33314         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33315         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33316         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33317         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33318         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33319         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33320         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33321         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33323         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33324         * nptl/pthreadP.h: Likewise.
33325         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33326         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33327         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33328         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33329         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33330         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33331         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33332         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33333         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33334         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33335         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33336         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33338         Likewise.
33339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33340         Likewise.
33341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33342         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33343         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33344         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33345         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33346         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33347         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33348         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33350         * dlfcn/dladdr.c: Use IS_IN.
33351         * dlfcn/dladdr1.c: Likewise.
33352         * dlfcn/dlclose.c: Likewise.
33353         * dlfcn/dlerror.c: Likewise.
33354         * dlfcn/dlinfo.c: Likewise.
33355         * dlfcn/dlmopen.c: Likewise.
33356         * dlfcn/dlopen.c: Likewise.
33357         * dlfcn/dlsym.c: Likewise.
33358         * dlfcn/dlvsym.c: Likewise.
33360         * include/ifaddrs.h: Use IS_IN.
33361         * inet/check_pf.c: Likewise.
33362         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33363         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33365         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33366         IS_IN_ldconfig.
33367         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33368         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33370         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33371         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33372         IS_IN (libc).
33374         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33376         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33377         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33378         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33379         * include/libc-symbols.h (IS_IN_LIB): New macro.
33380         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33381         * include/netdb.h: Likewise.
33382         * include/stap-probe.h: Remove all uses of IN_LIB.
33384         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33385         instead of IN_MODULE.
33386         * include/libc-symbols.h (IN_MODULE): Define using
33387         MODULE_NAME.
33388         (PASTE_NAME, PASTE_NAME1): New macros.
33389         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33390         of IN_LIB.
33391         (STAP_PROBE_ASM): Likewise.
33393 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33395         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33396         __mach_init in dlopened libc.
33398 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33400         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33401         * sysdeps/arm/preconfigure: Regenerate.
33403 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33405         * nptl/pthread_create.c (__pthread_create_2_1): Set
33406         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33407         when copying values from IATTR into PD.
33409 2014-11-21  Will Newton  <will.newton@linaro.org>
33410             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33412         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33413         Refactor inline-asm.  Also add comment.
33415         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33416         ElfW macro instead of hardcoded Elf64 types.
33417         (la_aarch64_gnu_pltenter): Likewise.
33418         * sysdeps/aarch64/dl-machine.h
33419         (elf_machine_runtime_setup): Use ElfW(Addr).
33421         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33422         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33423         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33424         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33425         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33426         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33427         (R_AARCH64_TLS_DTPMOD): This.
33428         (R_AARCH64_TLS_DTPREL64): Rename to ...
33429         (R_AARCH64_TLS_DTPREL): This.
33430         (R_AARCH64_TLS_TPREL64): Rename to ...
33431         (R_AARCH64_TLS_TPREL): This.
33432         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33433         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33434         R_AARCH64_TLS_TPREL64.
33435         (elf_machine_rela): Likewise.
33437 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33439         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33440         by setting it to 0.  64b atomics are not supported currently.
33442 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33444         [BZ #16469]
33445         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33446         search domain names.
33448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33450         [BZ #16469]
33451         * NEWS: Update.
33452         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33453         trailing dot.
33454         * posix/tst-getaddrinfo5.c: New.
33455         * posix/Makefile (tests): Add it.
33457 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33459         [BZ #14498]
33460         * NEWS: Fixed.
33461         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33462         after parsing line but before break_if_match.
33463         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33464         if there is a protocol mismatch.
33466 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33468         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33469         because the potential race is on the user-supplied stream.
33471 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33473         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33474         string literal if not passed a buffer.
33475         * manual/job.texi (ctermid): Update reasoning, note deviation
33476         from posix, suggest mtasurace when not passed a buffer, for
33477         future non-preliminary safety notes.
33479 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33481         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33482         of not passing it a buffer.
33483         Reported by Peng Haitao.
33485 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33487         * manual/Makefile ($(objpfx)stamp-summary): Require
33488         check-safety.sh to pass.
33489         * manual/check-safety.sh: Wish for verification that every
33490         @deftypefn and @deftypefun is followed by a @safety remark.
33492 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33494         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33496         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33497         PTHREAD_CANCEL_ASYNCHRONOUS.
33498         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33499         send SIGCANCEL.
33501         * nptl/default-sched.h: New file.
33502         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33503         * nptl/pthread_create.c: Include it.
33504         (__pthread_create_2_1): Use collect_default_sched instead of making
33505         Linux syscalls here directly.
33507 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33509         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33510         __pthread_once): Use C11 atomics.
33512 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33514         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33516 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33518         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33519         atomic_thread_fence_acquire, atomic_thread_fence_release,
33520         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33521         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33522         atomic_compare_exchange_weak_relaxed,
33523         atomic_compare_exchange_weak_acquire,
33524         atomic_compare_exchange_weak_release,
33525         atomic_exchange_acquire, atomic_exchange_release,
33526         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33527         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33528         atomic_fetch_and_acquire,
33529         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33531 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33533         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33534         USE_ATOMIC_COMPILER_BUILTINS): Define.
33535         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33536         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33537         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33538         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33539         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33540         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33541         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33542         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33543         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33544         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33545         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33546         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33547         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33548         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33549         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33550         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33551         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33552         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33553         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33554         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33555         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33556         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33557         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33558         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33559         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33560         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33561         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33562         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33563         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33564         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33565         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33566         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33567         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33568         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33569         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33570         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33571         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33572         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33573         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33574         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33576 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33578         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33579         the sched_priority value here.  It was already checked when the user
33580         called pthread_attr_setschedparam.
33582         * nptl/tst-bad-schedattr.c: New file.
33583         * nptl/Makefile (tests): Add it.
33585 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33586             Florian Weimer  <fweimer@redhat.com>
33587             Joseph Myers  <joseph@codesourcery.com>
33588             Adam Conrad  <adconrad@0c3.net>
33589             Andreas Schwab  <schwab@suse.de>
33590             Brooks  <bmoses@google.com>
33592         [BZ #17625]
33593         * wordexp-test.c (__dso_handle): Add prototype.
33594         (__register_atfork): Likewise.
33595         (__app_register_atfork): New function.
33596         (registered_forks): New global.
33597         (register_fork): New function.
33598         (test_case): Add 3 new tests for WRDE_CMDSUB.
33599         (main): Call __app_register_atfork.
33600         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33601         fork count is non-zero fail the test.
33602         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33603         is set.
33604         (parse_dollars): Remove check for WRDE_NOCMD.
33605         (parse_dquote): Likewise.
33607 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33609         * Makeconfig (built-modules): List non-library modules to be
33610         built.
33611         (module-cppflags): Include libc-modules.h for
33612         everything except shlib-versions.v.i.
33613         (CPPFLAGS): Use it.
33614         (before-compile): Add libc-modules.h.
33615         ($(common-objpfx)libc-modules.h,
33616         $(common-objpfx)libc-modules.stmp): New targets.
33617         (common-generated): Add libc-modules.h and libc-modules.stmp.
33618         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33619         * include/libc-symbols.h: Don't include libc-modules.h.
33620         * include/libc-modules.h: Remove file.
33621         * scripts/gen-libc-modules.awk: New script to generate
33622         libc-modules.h.
33623         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33624         Depend on libc-modules.stmp.
33626         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33628         * Makeconfig (in-module): Get value of libof set for the
33629         translation unit.
33630         (CPPFLAGS): Use $(in-module).
33631         * Makerules: Don't suffix routine names for nonlib.
33632         * include/libc-modules.h: New file.
33633         * include/libc-symbols.h: Include libc-modules.h
33634         (IS_IN): New macro to replace IS_IN_* macros.
33635         * elf/Makefile: Set libof-* for each routine.
33636         * elf/rtld-Rules: Likewise.
33637         * extra-modules.mk: Likewise.
33638         * iconv/Makefile: Likewise.
33639         * iconvdata/Makefile: Likewise.
33640         * locale/Makefile: Likewise.
33641         * malloc/Makefile: Likewise.
33642         * nss/Makefile: Likewise.
33643         * sysdeps/gnu/Makefile: Likewise.
33644         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33645         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33646         * sysdeps/s390/s390-64/Makefile: Likewise.
33647         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33648         CPPFLAGS for nscd instead of nonlib.
33650 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33652         * nptl/createthread.c: New file.
33654         * nptl/createthread.c: Moved ...
33655         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33657         * nptl/createthread.c: Add proper top-line comment.
33658         (do_clone): Folded into ...
33659         (create_thread): ... here.  Take new arguments STOPPED_START and
33660         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33661         increment __nptl_threads, do event-reporting logic, do
33662         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33663         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33664         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33665         just send SIGCANCEL.
33666         * nptl/pthread_create.c: Forward-declare create_thread before
33667         including createthread.c.
33668         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33669         declaration, and new macro START_THREAD_SELF to replace argument.
33670         Remove return statement.
33671         (report_thread_creation): New function.
33672         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33673         synchronization logic, and __nptl_nthreads increment here, around
33674         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33675         PD->parent_cancelhandling here, before create_thread.  When
33676         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33677         __deallocate_stack, and ENOMEM translation here.
33679 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33681         [BZ #17616]
33682         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33683         (mptwo): Rename to __mptwo.
33684         (__inv): Use __mptwo instead of mptwo.
33685         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33686         (mptwo): Rename to __mptwo.
33687         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33688         of mpone and __mptwo instead of mptwo.
33689         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33690         instead of mpone.
33691         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33692         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33693         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33694         of mpone and __mptwo instead of mptwo.
33695         (__mpranred): Use __mpone instead of mpone.
33696         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33697         variable.
33698         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33699         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33700         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33701         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33702         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33703         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33704         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33705         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33706         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33707         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33708         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33709         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33710         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33711         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33712         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33713         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33714         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33715         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33716         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33718 2014-11-18  Tom de Vries  <tom@codesoucery.com>
33720         * manual/signal.texi (Primitives Interrupted by Signals): In section,
33721         replace BSD Handler xref with BSD Signal Handling.
33723 2014-11-17  Richard Henderson  <rth@redhat.com>
33725         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33726         (_FP_PACK_RAW_2): Remove.
33727         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33728         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33729         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33730         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33731         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33732         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33733         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33734         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33735         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33736         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33737         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33738         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33739         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33740         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33741         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33742         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33744 2014-11-14  Roland McGrath  <roland@hack.frob.com>
33746         * signal/signal.h [__USE_MISC]
33747         (struct sigvec): Remove type.
33748         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33749         (sigvec): Remove declaration.
33750         * sysdeps/posix/sigvec.c: Moved ...
33751         * signal/sigvec.c: ... here, replacing old file.
33752         (struct sigvec): New type, copied from old signal.h definition.
33753         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33754         (__sigvec): Convert definition to prototype.
33755         (sigvec): Replace weak_alias with compat_symbol.
33756         * signal/Versions (libc: GLIBC_2.21): New version set.
33757         * include/signal.h: Remove __sigvec declaration.
33758         * sysdeps/unix/bsd/sigvec.c: Remove file.
33759         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33760         * manual/signal.texi (BSD Handler): Remove subsection.
33761         Move siginterrupt up to ...
33762         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
33763         (Blocking in BSD): Fold subsection into its parent.
33764         * NEWS: Mention sigvec removal.
33766 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33768         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
33769         (DLA_FMS): Make definition conditional only on [__FMA4__].
33770         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
33771         definition.
33773         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
33774         Make definition conditional only on [PROF].
33775         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
33776         definition.
33777         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
33778         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
33780         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
33781         !__GNUC__].
33782         * include/signal.h (__sigpause): Move declaration above call to
33783         libc_hidden_proto.
33784         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
33785         variable.
33786         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33787         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33789 2014-11-14  David S. Miller  <davem@davemloft.net>
33791         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
33792         Define before including <string/memcpy.c> and <string/mempcpy.c>.
33794 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
33796         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
33797         * configure: Regenerated.
33798         * manual/install.texi (Tools for Compilation): Document a
33799         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
33800         compiler verified to work.
33801         * INSTALL: Regenerated.
33803         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
33804         redeclare with asm name.
33805         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
33806         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
33807         including <string.h>.
33808         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33809         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
33810         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33811         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
33812         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33813         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
33814         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
33816 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
33818         * stdlib/strtol.c (__strtol): Use prototype definition.
33820         [BZ #17594]
33821         * stdlib/strtol.c (SYM__): New macro.
33822         (SYM__1): Likewise.
33823         (__strtol): Likewise.
33824         (strtol): Rename to __strtol and define as weak alias of
33825         __strtol.  Use libc_hidden_weak.
33827 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33829         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
33830         Use numbered labels in inline assembly.
33832 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33834         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
33835         Add setjmp LIBC_PROBE.
33836         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
33837         Likewise.
33838         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
33839         Add longjmp, longjmp_target LIBC_PROBE.
33840         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
33841         Likewise.
33843 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33845         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
33846         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
33847         to get rid of unused variable warning.
33849 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33851         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
33852         Check for unwind_backtrace ==  NULL only in SHARED case.
33853         (__backchain_backtrace): Compile only in SHARED case.
33854         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
33855         Likewise.
33856         (__backchain_backtrace): Declare as static.
33858 2014-11-12  Roland McGrath  <roland@hack.frob.com>
33860         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
33861         (__libc_multiple_threads_ptr): Variable moved ...
33862         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
33864 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
33866         * conform/GlibcConform.pm: New file.
33867         * conform/conformtest.pl: Use GlibcConform module.
33868         * conform/linknamespace.pl: New file.
33869         * conform/list-header-symbols.pl: Likewise.
33870         * conform/Makefile (linknamespace-symlists-base): New variable.
33871         (linknamespace-symlists-tests): Likewise.
33872         (linknamespace-header-base): Likewise.
33873         (linknamespace-header-tests): Likewise.
33874         (tests-special): Add new tests.
33875         ($(linknamespace-symlists-tests)): New rule.
33876         (linknamespace-libs): New variable.
33877         ($(objpfx)symlist-stdlibs): New rule.
33878         ($(linknamespace-header-tests)): Likewise.
33879         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
33880         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
33881         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
33882         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
33883         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
33884         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
33885         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
33886         (test-xfail-ISO/math.h/linknamespace): Likewise.
33887         (test-xfail-ISO/signal.h/linknamespace): Likewise.
33888         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
33889         (test-xfail-ISO/time.h/linknamespace): Likewise.
33890         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33891         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
33892         (test-xfail-ISO99/math.h/linknamespace): Likewise.
33893         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
33894         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33895         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33896         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33897         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
33898         (test-xfail-ISO11/math.h/linknamespace): Likewise.
33899         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
33900         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33901         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33902         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
33903         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
33904         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
33905         (test-xfail-XPG3/math.h/linknamespace): Likewise.
33906         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
33907         (test-xfail-XPG3/search.h/linknamespace): Likewise.
33908         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
33909         (test-xfail-XPG3/time.h/linknamespace): Likewise.
33910         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
33911         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33912         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
33913         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
33914         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33915         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33916         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
33917         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
33918         (test-xfail-XPG4/math.h/linknamespace): Likewise.
33919         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
33920         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
33921         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33922         (test-xfail-XPG4/search.h/linknamespace): Likewise.
33923         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33924         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
33925         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
33926         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
33927         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
33928         (test-xfail-XPG4/time.h/linknamespace): Likewise.
33929         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
33930         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33931         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
33932         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33933         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33934         (test-xfail-POSIX/math.h/linknamespace): Likewise.
33935         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
33936         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
33937         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33938         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
33939         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
33940         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
33941         (test-xfail-POSIX/time.h/linknamespace): Likewise.
33942         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
33943         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33944         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
33945         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
33946         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
33947         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33948         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33949         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
33950         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
33951         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33952         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
33953         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
33954         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
33955         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
33956         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
33957         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
33958         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
33959         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
33960         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33961         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33962         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
33963         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
33964         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
33965         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
33966         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
33967         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
33968         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33969         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
33970         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33971         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
33972         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
33973         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33974         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33975         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
33976         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
33977         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33978         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
33979         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
33980         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
33981         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
33982         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
33983         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
33984         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
33985         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
33986         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
33987         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
33988         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33989         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
33990         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
33991         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33992         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
33993         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33994         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
33995         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33996         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33997         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33998         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
33999         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34000         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34001         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34002         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34003         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34004         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34005         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34006         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34007         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34008         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34009         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34010         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34011         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34012         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34013         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34014         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34015         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34016         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34017         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34018         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34019         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34020         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34021         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34022         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34023         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34024         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34025         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34026         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34027         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34028         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34029         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34030         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34031         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34032         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34033         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34034         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34035         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34036         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34037         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34038         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34039         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34041         [BZ #17589]
34042         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34043         of fgets_unlocked.
34045         [BZ #17585]
34046         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34047         (memmem): Rename to __memmem and define as weak alias of
34048         __memmem.  Use libc_hidden_weak.
34049         (__memmem): Use libc_hidden_def.
34050         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
34051         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34052         memmem.
34054         [BZ #17582]
34055         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34056         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
34057         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34058         and define as weak alias of __fgets_unlocked.  Use
34059         libc_hidden_weak.
34060         (__fgets_unlocked): Use libc_hidden_def.
34061         * include/stdio.h (__fgets_unlocked): Declare.  Use
34062         libc_hidden_proto.
34063         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34064         __fgets_unlocked instead of fgets_unlocked.
34065         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34066         (GET_NPROCS_CONF_PARSER): Likewise.
34067         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34068         (GET_NPROCS_CONF_PARSER): Likewise.
34070         [BZ #17574]
34071         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34072         weak alias of __wmemset.  Use libc_hidden_weak.
34073         (__wmemset): Use libc_hidden_def.
34074         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
34075         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34076         of wmemset.
34078         [BZ #17573]
34079         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34080         with asm name __mempcpy.
34081         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34083         [BZ #17572]
34084         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34085         and define as weak alias of __rawmemchr.
34086         (__rawmemchr): Do not define as strong alias of rawmemchr.
34088         [BZ #17571]
34089         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34090         alias of __qsort_r.
34091         (qsort): Call __qsort_r instead of qsort_r.
34092         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34093         (__qsort_r): Declare.  Call libc_hidden_proto.
34094         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34095         instead of qsort_r.
34096         * nscd/gai.c (__qsort_r): Define to qsort_r.
34097         * posix/tst-rfc3484.c (__qsort_r): Likewise.
34098         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34099         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34101         [BZ #17570]
34102         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34103         define as weak alias of __malloc_info.
34105         [BZ #17584]
34106         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34107         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34108         (__rewinddir): Use libc_hidden_def.
34109         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34110         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34111         (__rewinddir): Use libc_hidden_def.
34112         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34113         weak alias of __rewinddir.  Don't use libc_hidden_def.
34114         (__rewinddir): Use libc_hidden_def.
34115         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34116         (__rewinddir): Use libc_hidden_proto.
34117         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34118         rewinddir.
34119         (__getcwd): Use __rewinddir instead of rewinddir.
34121         [BZ #17583]
34122         * libio/fileno.c (fileno): Rename to __fileno and define as weak
34123         alias of __fileno.  Use libc_hidden_weak.
34124         (__fileno): Use libc_hidden_def.
34125         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34126         * libio/ftello.c (ftello): Rename to __ftello and define as weak
34127         alias of __ftello.
34128         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34129         __ftello.
34130         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34131         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34132         libc_hidden_def.
34133         (fread_unlocked): Don't use libc_hidden_ver.
34134         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34135         and define as weak alias of __fread_unlocked.  Don't use
34136         libc_hidden_def.
34137         (__fread_unlocked): Use libc_hidden_def.
34138         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
34139         (ftello): Don't use libc_hidden_proto.
34140         (__ftello): Declare.  Use libc_hidden_proto.
34141         (fread_unlocked): Don't use libc_hidden_proto.
34142         (__fread_unlocked): Declare.  Use libc_hidden_proto.
34143         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34144         and __ftello instead of fileno, fread_unlocked and ftello.
34146 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34148         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34149         GOT12.
34150         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34151         Likewise.
34152         (_dl_start_user): Likewise.
34153         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34155 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
34156             Siddhesh Poyarekar  <siddhesh@redhat.com>
34158         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34159         Move argv and envp down instead of moving argc up.
34160         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34162 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
34164         [BZ #17506]
34165         * test-skeleton.c (main): Return successful if one of
34166         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34167         * string/tst-strcoll-overflow.c: Define expected status.
34169 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
34171         [BZ #17475]
34172         * locale/iso-639.def: Define Bhili and Tulu language codes.
34174 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
34176         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34178 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
34180         [BZ #17555]
34181         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34183 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34185         * configure.ac: Updated check of minimal required version to
34186         2.22.
34187         * manual/install.texi (Tools for Compilation): Updated version
34188         number.
34189         * configure: Regenerated.
34190         * INSTALL: Likewise.
34192 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
34194         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34195         __tls_get_addr.
34197 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
34199         * include/sys/wait.h (__libc_waitpid): Remove declaration.
34200         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34201         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34202         libc_hidden_weak.
34203         (waitpid): Define as alias of __waitpid.
34204         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34205         __waitpid.
34206         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34207         libc_hidden_weak.
34208         (waitpid): Define as alias of __waitpid.
34209         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34210         __libc_waitpid alias.
34211         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34212         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34213         Likewise.
34214         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34215         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34216         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34217         alias.
34218         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34219         __waitpid.
34220         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34221         libc_hidden_weak.
34222         (waitpid): Define as alias of __waitpid.
34224 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34226         * manual/llio.texi: Add comment that write safety has been
34227         fixed in Linux.
34229         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34230         (localplt-build-dso): Add elf/ld.so.
34231         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34232         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34233         and free for ld.so.
34234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34235         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34237         Likewise.
34238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34239         Likewise.
34240         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34241         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34242         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34243         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34244         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34245         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34246         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34247         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34248         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34249         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34250         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34252 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34254         [BZ #14132]
34255         * include/libc-symbols.h (INTUSE): Remove macro.
34256         (INTDEF): Likewise.
34257         (INTVARDEF): Likewise.
34258         (_INTVARDEF): Likewise.
34259         (INTDEF2): Likewise.
34260         (INTVARDEF2): Likewise.
34261         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34262         rtld_hidden_def instead of INTVARDEF.
34263         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34264         (_dl_starting_up_internal): Remove declaration.
34265         (_dl_starting_up): Use rtld_hidden_proto.
34266         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34267         declaration.
34268         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34269         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34270         _dl_starting_up.
34271         * elf/dl-writev.h (_dl_writev): Likewise.
34272         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34273         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34274         _dl_starting_up_internal.
34276 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34278         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34279         test-skeleton.c.
34281 2014-11-05  Will Newton  <will.newton@linaro.org>
34283         * benchtests/Makefile: (bench-malloc): Add malloc thread
34284         scalability benchmark.
34285         * benchtests/bench-malloc-threads.c: New file.
34287 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34289         * sysdeps/aarch64/strchrnul.S: New file.
34291 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34293         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34294         definition.
34295         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34296         Likewise.
34297         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34298         Likewise.
34299         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34300         Likewise.
34301         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34302         Likewise.
34303         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34304         Likewise.
34306 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34308         * catgets/test-gencat.c: Use test-skeleton.c.
34309         * catgets/tst-catgets.c: Likewise.
34310         * csu/tst-empty.c: Likewise.
34311         * elf/tst-audit2.c: Likewise.
34312         * elf/tst-global1.c: Likewise.
34313         * elf/tst-pathopt.c: Likewise.
34314         * elf/tst-piemod1.c: Likewise.
34315         * elf/tst-tls10.c: Likewise.
34316         * elf/tst-tls11.c: Likewise.
34317         * elf/tst-tls12.c: Likewise.
34318         * gnulib/tst-gcc.c: Likewise.
34319         * iconvdata/tst-e2big.c: Likewise.
34320         * iconvdata/tst-loading.c: Likewise.
34321         * iconv/tst-iconv1.c: Likewise.
34322         * iconv/tst-iconv2.c: Likewise.
34323         * inet/test-inet6_opt.c: Likewise.
34324         * inet/tst-gethnm.c: Likewise.
34325         * inet/tst-network.c: Likewise.
34326         * inet/tst-ntoa.c: Likewise.
34327         * intl/tst-codeset.c: Likewise.
34328         * intl/tst-gettext2.c: Likewise.
34329         * intl/tst-gettext3.c: Likewise.
34330         * intl/tst-ngettext.c: Likewise.
34331         * intl/tst-translit.c: Likewise.
34332         * io/test-stat.c: Likewise.
34333         * libio/test-fmemopen.c: Likewise.
34334         * libio/tst-freopen.c: Likewise.
34335         * libio/tst-sscanf.c: Likewise.
34336         * libio/tst-ungetwc1.c: Likewise.
34337         * libio/tst-ungetwc2.c: Likewise.
34338         * libio/tst-widetext.c: Likewise.
34339         * localedata/tst-ctype.c: Likewise.
34340         * localedata/tst-digits.c: Likewise.
34341         * localedata/tst-leaks.c: Likewise.
34342         * localedata/tst-mbswcs1.c: Likewise.
34343         * localedata/tst-mbswcs2.c: Likewise.
34344         * localedata/tst-mbswcs3.c: Likewise.
34345         * localedata/tst-mbswcs4.c: Likewise.
34346         * localedata/tst-mbswcs5.c: Likewise.
34347         * localedata/tst-setlocale.c: Likewise.
34348         * localedata/tst-trans.c: Likewise.
34349         * localedata/tst-wctype.c: Likewise.
34350         * localedata/tst-xlocale1.c: Likewise.
34351         * login/tst-grantpt.c: Likewise.
34352         * malloc/tst-calloc.c: Likewise.
34353         * malloc/tst-malloc.c: Likewise.
34354         * malloc/tst-mallocstate.c: Likewise.
34355         * malloc/tst-mcheck.c: Likewise.
34356         * malloc/tst-mtrace.c: Likewise.
34357         * malloc/tst-obstack.c: Likewise.
34358         * math/atest-exp2.c: Likewise.
34359         * math/atest-exp.c: Likewise.
34360         * math/atest-sincos.c: Likewise.
34361         * math/test-matherr.c: Likewise.
34362         * math/test-misc.c: Likewise.
34363         * math/test-powl.c: Likewise.
34364         * math/tst-definitions.c: Likewise.
34365         * misc/tst-dirname.c: Likewise.
34366         * misc/tst-efgcvt.c: Likewise.
34367         * misc/tst-fdset.c: Likewise.
34368         * misc/tst-hsearch.c: Likewise.
34369         * misc/tst-mntent2.c: Likewise.
34370         * nptl/tst-sem7.c: Likewise.
34371         * nptl/tst-sem8.c: Likewise.
34372         * nptl/tst-sem9.c: Likewise.
34373         * nss/test-netdb.c: Likewise.
34374         * posix/tst-fnmatch.c: Likewise.
34375         * posix/tst-getlogin.c: Likewise.
34376         * posix/tst-gnuglob.c: Likewise.
34377         * posix/tst-mmap.c: Likewise.
34378         * pwd/tst-getpw.c: Likewise.
34379         * resolv/tst-inet_ntop.c: Likewise.
34380         * rt/tst-timer.c: Likewise.
34381         * stdio-common/test-fseek.c: Likewise.
34382         * stdio-common/test-popen.c: Likewise.
34383         * stdio-common/test-vfprintf.c: Likewise.
34384         * stdio-common/tst-cookie.c: Likewise.
34385         * stdio-common/tst-fileno.c: Likewise.
34386         * stdio-common/tst-gets.c: Likewise.
34387         * stdio-common/tst-obprintf.c: Likewise.
34388         * stdio-common/tst-perror.c: Likewise.
34389         * stdio-common/tst-sprintf2.c: Likewise.
34390         * stdio-common/tst-sprintf3.c: Likewise.
34391         * stdio-common/tst-sprintf.c: Likewise.
34392         * stdio-common/tst-swprintf.c: Likewise.
34393         * stdio-common/tst-tmpnam.c: Likewise.
34394         * stdio-common/tst-unbputc.c: Likewise.
34395         * stdio-common/tst-wc-printf.c: Likewise.
34396         * stdlib/tst-environ.c: Likewise.
34397         * stdlib/tst-fmtmsg.c: Likewise.
34398         * stdlib/tst-limits.c: Likewise.
34399         * stdlib/tst-rand48-2.c: Likewise.
34400         * stdlib/tst-rand48.c: Likewise.
34401         * stdlib/tst-random2.c: Likewise.
34402         * stdlib/tst-random.c: Likewise.
34403         * stdlib/tst-strtol.c: Likewise.
34404         * stdlib/tst-strtoll.c: Likewise.
34405         * stdlib/tst-tls-atexit.c: Likewise.
34406         * stdlib/tst-xpg-basename.c: Likewise.
34407         * string/test-ffs.c: Likewise.
34408         * string/tst-bswap.c: Likewise.
34409         * string/tst-inlcall.c: Likewise.
34410         * string/tst-strtok.c: Likewise.
34411         * string/tst-strxfrm.c: Likewise.
34412         * sysdeps/x86_64/tst-audit10.c: Likewise.
34413         * sysdeps/x86_64/tst-audit3.c: Likewise.
34414         * sysdeps/x86_64/tst-audit4.c: Likewise.
34415         * sysdeps/x86_64/tst-audit5.c: Likewise.
34416         * time/tst-ftime_l.c: Likewise.
34417         * time/tst-getdate.c: Likewise.
34418         * time/tst-mktime3.c: Likewise.
34419         * time/tst-mktime.c: Likewise.
34420         * time/tst-posixtz.c: Likewise.
34421         * time/tst-strptime2.c: Likewise.
34422         * time/tst-strptime3.c: Likewise.
34423         * wcsmbs/tst-btowc.c: Likewise.
34424         * wcsmbs/tst-mbrtowc.c: Likewise.
34425         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34426         * wcsmbs/tst-wchar-h.c: Likewise.
34427         * wcsmbs/tst-wcpncpy.c: Likewise.
34428         * wcsmbs/tst-wcrtomb.c: Likewise.
34429         * wcsmbs/tst-wcsnlen.c: Likewise.
34430         * wcsmbs/tst-wcstof.c: Likewise.
34432 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34434         [BZ #14132]
34435         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34436         INTDEF.
34437         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34438         declaration.
34439         (_dl_mcount): Use rtld_hidden_proto.
34440         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34441         _dl_mcount.
34442         * elf/rtld.c (_rtld_global_ro): Likewise.
34444         [BZ #14132]
34445         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34446         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34447         of _dl_init_internal.
34448         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34449         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34450         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34451         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34452         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34453         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34454         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34455         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34456         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34457         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34458         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34459         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34460         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34461         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34462         * sysdeps/tile/dl-start.S (_start): Likewise.
34463         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34464         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34466         [BZ #14132]
34467         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34468         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34469         (rtld_progname): Make macro definition unconditional.
34470         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34471         INTDEF.
34472         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34473         (dl_main): Likewise.
34474         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34475         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34476         instead of _dl_argv_internal.
34477         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34478         __GI__dl_argv instead of INTUSE(_dl_argv).
34479         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34480         __GI__dl_argv instead of _dl_argv_internal.
34482         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34483         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34484         macro.
34485         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34486         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34487         New macro.
34488         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34489         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34490         macro.
34491         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34492         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34494 2014-11-04  Andreas Schwab  <schwab@suse.de>
34496         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34498 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34500         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34501         mtvsrd instruction in binary form.
34503 2014-11-03  Andreas Schwab  <schwab@suse.de>
34505         [BZ #17522]
34506         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34507         for less than MB_LEN_MAX use a local buffer of that size.
34508         * libio/tst-fputws.c: New file.
34509         * libio/Makefile (tests): Add tst-fputws.
34511 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34513         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34514         the size of the fpu_fr.fpu_dregs[] array.
34516 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34518         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34519         (__nanosleep): Do not define as alias.
34520         (nanosleep): Define as alias of __nanosleep.
34521         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34522         __libc_nanosleep name.
34524 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34526         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34527         install.texi in comment.
34529 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34531         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34532         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34533         ... add here and use lwsync or sync ...
34534         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34535         ... and add here using lwsync.
34537 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34539         * elf/dl-machine-reject-phdr.h: New file.
34540         * elf/dl-load.c: #include that.
34541         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34542         if that returned true.
34544 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34546         [BZ #17496]
34547         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34548         gen-as-const-headers chunk.  Add a big scare comment after the last
34549         safe place to touch before-compile.
34551 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34553         * manual/install.texi (Tools for Compilation): Update autoconf
34554         version requirements.
34555         * INSTALL: Regenerated.
34557         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34558         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34559         (__libc_pselect): Likewise.
34561         [BZ #14138]
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34567 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34569         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34570         correct barrier instruction.
34571         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34572         Likewise.
34573         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34574         Likewise.
34576 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34578         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34579         after defining inlines.  Instead, just use parens to defeat macro
34580         expansion of __isctype in its declaration.
34582 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34584         * include/sys/uio.h (__libc_readv): Remove declaration.
34585         (__libc_writev): Likewise.
34586         * misc/readv.c (__libc_readv): Rename to __readv.
34587         (__readv): Do not define as alias.
34588         (readv): Define as alias of __readv.
34589         * misc/writev.c (__libc_writev): Rename to __writev.
34590         (__writev): Do not define as alias.
34591         (writev): Define as alias of __writev.
34592         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34593         (__readv): Do not define as alias.
34594         (readv): Define unconditionally as alias of __readv.
34595         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34596         (__writev): Do not define as alias.
34597         (writev): Define unconditionally as alias of __writev.
34598         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34599         name.
34600         (writev): Do not define __libc_writev name.
34602 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34604         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34605         (convert_charseq): New function, broken out of ...
34606         (use_from_charmap): ... here.  Call it.
34607         (use_to_charmap): Use convert_charseq and free instead of duplicating
34608         its code with a variable-length stack struct.
34610 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34612         * include/fcntl.h (__libc_creat): Remove declaration.
34613         * io/creat.c (__libc_creat): Rename to creat.
34614         (creat): Do not define as alias.
34615         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34616         of creat instead of __libc_creat.
34617         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34618         to creat.
34619         (creat): Do not define as alias.
34620         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34621         __libc_creat.
34622         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34623         __libc_creat name.
34624         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34625         Likewise.
34627 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34629         * manual/llio.texi: Add comments discussing why write() may be
34630         considered MT-unsafe on Linux.
34632 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34634         * dl-load.c (local_strdup): Remove.
34635         (expand_dynamic_string_token): Use __strdup.
34636         (decompose_rpath): Likewise.
34637         (_dl_map_object): Likewise.
34639 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34641         [BZ #14132]
34642         * sysdeps/generic/unwind-dw2-fde.c
34643         (__register_frame_info_bases_internal): Do not declare.
34644         (__register_frame_info_table_bases_internal): Likewise.
34645         (__deregister_frame_info_bases_internal): Likewise.
34646         (__register_frame_info_bases): Declare and use hidden_proto before
34647         definition.  Use hidden_def instead of INTDEF.
34648         (__register_frame_info_table_bases): Likewise.
34649         (__deregister_frame_info_bases): Likewise.
34650         (__register_frame_info): Do not use INTUSE.
34651         (__register_frame): Likewise.
34652         (__register_frame_info_table): Likewise.
34653         (__register_frame_table): Likewise.
34654         (__deregister_frame_info): Likewise.
34655         (__deregister_frame): Likewise.
34657 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34659         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34660         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34661         not undefine.
34662         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34663         Likewise.
34664         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34665         Likewise.
34667 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34669         [BZ #14138]
34670         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34671         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34672         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34673         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34674         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34675         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34676         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34677         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34678         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34679         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34680         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34681         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34682         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34683         syscall.
34684         (setfsuid): Likewise.
34685         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34686         (setfsuid): Likewise.
34687         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34688         (setfsuid): Likewise.
34689         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34690         Likewise.
34691         (setfsuid): Likewise.
34692         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34693         (setfsuid): Likewise.
34694         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34695         Likewise.
34696         (setfsuid): Likewise.
34698 2014-10-27  Andreas Schwab  <schwab@suse.de>
34700         [BZ #17501]
34701         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34702         check for Slow_SSE4_2 feature bit.
34703         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34704         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34705         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34706         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
34708 2014-10-24  Roland McGrath  <roland@hack.frob.com>
34710         * configure.ac: Validate compiler version with a empirical test of
34711         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34712         $CC -v output.
34713         * configure: Regenerated.
34715         * inet/htons.c (htons): Prototypify.
34716         * inet/htonl.c (htonl): Likewise.
34718 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34720         * string/strncat.c (strncat): Improve performance by using strlen.
34722 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34724         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34726 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34728         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34729         Call libc_fetestexcept_aarch64.
34731 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34733         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34734         Call libc_feholdexcept_aarch64.
34736 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34738         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34739         Call get_rounding_mode.
34741 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34743         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34744         Simplify logic.
34746 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
34748         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34749         Simplify logic.
34751 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
34753         [BZ #14138]
34754         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34755         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34756         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34757         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34758         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34759         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34760         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34761         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34762         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34763         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34764         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34765         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34766         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34767         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34768         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
34769         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
34770         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
34771         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
34772         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
34773         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
34774         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
34775         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
34776         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
34777         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
34778         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
34779         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
34780         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
34781         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
34782         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
34783         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
34784         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
34785         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
34786         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
34787         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
34788         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
34789         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
34790         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
34791         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
34792         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
34793         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
34794         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
34795         syscall.
34796         (geteuid): Likewise.
34797         (getgid): Likewise.
34798         (getuid): Likewise.
34799         (getresgid): Likewise.
34800         (getresuid): Likewise.
34801         (getgroups): Likewise.
34802         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
34803         (geteuid): Likewise.
34804         (getgid): Likewise.
34805         (getuid): Likewise.
34806         (getresgid): Likewise.
34807         (getresuid): Likewise.
34808         (getgroups): Likewise.
34809         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
34810         (geteuid): Likewise.
34811         (getgid): Likewise.
34812         (getuid): Likewise.
34813         (getresgid): Likewise.
34814         (getresuid): Likewise.
34815         (getgroups): Likewise.
34816         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
34817         Likewise.
34818         (geteuid): Likewise.
34819         (getgid): Likewise.
34820         (getuid): Likewise.
34821         (getresgid): Likewise.
34822         (getresuid): Likewise.
34823         (getgroups): Likewise.
34824         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
34825         (geteuid): Likewise.
34826         (getgid): Likewise.
34827         (getuid): Likewise.
34828         (getresgid): Likewise.
34829         (getresuid): Likewise.
34830         (getgroups): Likewise.
34831         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
34832         Likewise.
34833         (geteuid): Likewise.
34834         (getgid): Likewise.
34835         (getuid): Likewise.
34836         (getgroups): Likewise.
34838         [BZ #14138]
34839         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
34840         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
34841         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
34842         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34843         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
34844         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
34845         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
34846         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
34847         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
34848         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
34849         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
34850         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
34851         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
34852         __chown.
34853         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
34854         (lchown): Likewise.
34855         (fchown): Likewise.
34856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
34857         Likewise.
34858         (lchown): Likewise.
34859         (fchown): Likewise.
34860         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
34861         (lchown): Likewise.
34862         (fchown): Likewise.
34863         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
34864         Likewise.
34865         (lchown): Likewise.
34866         (fchown): Likewise.
34868 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34870         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
34871         Simplify logic.
34873 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34875         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34876         Cleanup logic.
34878 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34880         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
34881         Remove unused include.
34883 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
34885         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
34886         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
34887         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
34888         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
34890 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
34891             Helge Deller <deller@gmx.de>
34893         [BZ #17508]
34894         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
34895         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
34896         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
34898 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
34900         [BZ #14132]
34901         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
34902         Remove macro definition.
34903         (__ashrdi3_v_glibc20): Likewise.
34904         (__lshrdi3_v_glibc20): Likewise.
34905         (__cmpdi2_v_glibc20): Likewise.
34906         (__ucmpdi2_v_glibc20): Likewise.
34907         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
34908         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
34909         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
34910         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
34911         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
34912         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
34914 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34916         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
34917         old GNU extension [0] syntax.
34918         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
34919         alloca rather than an array member with variable length.
34920         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
34921         * nscd/nscd.c (invalidate_db): New function, broken out of ...
34922         (parse_opt): ... here.  Likewise use alloca there.
34923         Validate the -i argument before checking for rootness.
34924         (send_shutdown): New function, broken out of ...
34925         (parse_opt): ... here.
34927 2014-10-22  Roland McGrath  <roland@hack.frob.com>
34929         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
34930         macro to get at the _rt_local_ro field.
34931         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
34932         ([PIC] case) or _dl_hwcap ([!PIC] case).
34933         * sysdeps/arm/setjmp.S: Likewise.
34935         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
34936         * sysdeps/arm/configure.ac: New check to define it.
34937         * sysdeps/arm/configure: Regenerated.
34938         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
34939         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
34940         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
34941         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
34942         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
34943         Use move/movt pair instead of a load.
34944         (LDST_GLOBAL): Macro removed.
34945         (LDR_GLOBAL): New macro replaces it.
34946         (LDR_HIDDEN): New macro.
34947         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
34948         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
34950         * setjmp/tst-setjmp-static.c: New file.
34951         * setjmp/Makefile (tests): Add it.
34952         (tests-static): New variable.
34954 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
34956         [BZ #17485]
34957         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
34959 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
34961         [BZ #14132]
34962         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
34964 2014-10-21  Roland McGrath  <roland@hack.frob.com>
34966         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
34968 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34970         * io/fts.c (dirent_not_directory): New function.
34971         (fts_build): Call it.
34973 2014-10-20  Roland McGrath  <roland@hack.frob.com>
34975         * nptl/version.c (__nptl_main): Use normal __write rather than
34976         INTERNAL_SYSCALL.
34977         (banner): Update copyright years.
34979         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
34980         gettimeofday.
34981         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
34982         * nptl/pthread_cond_timedwait.c: Likewise.
34983         * nptl/pthread_mutex_timedlock.c: Likewise.
34984         * nptl/sem_timedwait.c: Likewise.
34986         * sysdeps/nptl/bits/libc-lock.h
34987         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
34988         (__libc_lock_init_recursive): Return void, not 0.
34989         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
34990         (__libc_rwlock_init): Likewise.
34991         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
34993 2014-10-20  Torvald Riegel  <triegel@redhat.com>
34995         [BZ #15215]
34996         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
34997         (__pthread_once_slow): ... here.
34998         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
34999         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35001 2014-10-20  Torvald Riegel  <triegel@redhat.com>
35003         [BZ #15215]
35004         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35005         __PTHREAD_ONCE_FORK_GEN_INCR): New.
35006         * sysdeps/nptl/fork.c (__libc_fork): Use them.
35007         * nptl/pthread_once.c (__pthread_once): Likewise.
35008         Update comments.
35010 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
35012         [BZ #14138]
35013         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35014         name.
35015         (writev): Use __libc_writev as strong name.
35016         * sysdeps/unix/sysv/linux/readv.c: Remove file.
35017         * sysdeps/unix/sysv/linux/writev.c: Likewise.
35019 2014-10-17  Roland McGrath  <roland@hack.frob.com>
35021         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35023         * sysdeps/i386/nptl/tls.h
35024         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35025         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35026         New macros.
35027         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35028         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35029         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35030         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35031         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35032         Call CHECK_THREAD_SYSINFO instead of doing an assert.
35034         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35035         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35036         on [__NR_futex].
35037         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35038         broken out of ...
35039         (__pthread_mutex_init): ... here.  Call it.
35040         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35041         Conditionalize PI cases on [__NR_futex].
35042         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35043         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35044         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35046         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35047         conditional on [SIGSETXID].
35048         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35049         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35050         is defined.  Likewise for SIGSETXID.
35051         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35052         Conditionalize definitions on [SIGSETXID].
35053         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35054         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35055         unblocking on [SIGCANCEL].
35057         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35058         [__NR_set_robust_list].
35060 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35062         * string/strcoll_l.c (get_next_seq): Fix up formatting.
35063         (do_compare): Likewise.
35065 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
35067         [BZ #15884]
35068         * string/strcoll_l.c: Don't include stdio.h.
35069         (coll_seq): Remove members idxarr and rulearr.
35070         (get_next_seq_cached): Remove function.
35071         (get_next_seq): Likewise.
35072         (get_next_seq_nocache): Rename to get_next_seq.
35073         (do_compare): Remove function.
35074         (do_compare_nocache): Rename to do_compare.
35075         (STRCOLL): Remove weight and rules cache.
35077 2014-10-16  Roland McGrath  <roland@hack.frob.com>
35079         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35080         * sysdeps/arm/sfp-machine.h: ... to here.
35081         * sysdeps/arm/Implies: Remove arm/soft-fp.
35083 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
35085         * conform/data/sys/utsname.h-data (*_t): Allow.
35086         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35087         [POSIX] (WEXITED): Do not expect constant.
35088         [POSIX] (WSTOPPED): Likewise.
35089         [POSIX] (WNOHANG): Likewise.
35090         [POSIX] (WNOWAIT): Likewise.
35091         [POSIX] (siginfo_t): Do not expect type or elements.
35092         [POSIX] (pid_t): Do not expect type.
35093         [POSIX] (signal.h): Do not allow header.
35094         [POSIX] (sys/resource.h): Likewise.
35095         [POSIX] (si_*): Do not allow pattern.
35096         [POSIX] (W*): Likewise.
35097         [POSIX] (P_*): Likewise.
35098         [POSIX] (BUS_*): Likewise.
35099         [POSIX] (CLD_*): Likewise.
35100         [POSIX] (FPE_*): Likewise.
35101         [POSIX] (ILL_*): Likewise.
35102         [POSIX] (POLL_*): Likewise.
35103         [POSIX] (SEGV_*): Likewise.
35104         [POSIX] (SI_*): Likewise.
35105         [POSIX] (TRAP_*): Likewise.
35106         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35107         variable.
35109 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
35111         [BZ #12926]
35112         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35113         infinite loop when __recvmsg returns 0.
35115 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
35117         * CANCEL-FCT-WAIVE: Remove file.
35118         * CANCEL-FILE-WAIVE: Likewise.
35120         [BZ #14132]
35121         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35122         instead of INTVARDEF.
35123         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35124         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35125         rtld_hidden_data_def instead of INTVARDEF.
35126         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35127         * elf/dl-deps.c (expand_dst): Likewise.
35128         * elf/dl-load.c (_dl_dst_count): Likewise.
35129         (_dl_dst_substitute): Likewise.
35130         (decompose_rpath): Likewise.
35131         (_dl_init_paths): Likewise.
35132         (open_path): Likewise.
35133         (_dl_map_object): Likewise.
35134         * elf/rtld.c (dl_main): Likewise.
35135         (process_dl_audit): Likewise.
35136         (process_envvars): Likewise.
35137         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35138         Remove declaration.
35139         (__libc_enable_secure): Use rtld_hidden_proto.
35141 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35143         * elf/dl-load.c
35144         (add_path): New function broken out of _dl_rtld_di_serinfo.
35145         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
35147 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35149         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35150         parentheses around macro arguments.
35151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35152         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35153         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35154         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35155         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35156         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35157         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35158         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35159         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35160         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35161         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35162         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35163         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35164         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35165         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35166         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35167         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35168         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35169         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35172         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35173         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35174         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35175         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35176         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35177         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35178         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35179         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35180         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35181         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35182         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35183         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35184         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35185         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35186         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35187         Likewise.
35188         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35189         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35190         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35191         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35192         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35193         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35194         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35195         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35196         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35197         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35198         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35199         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35200         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35201         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35202         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35203         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35204         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35205         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35206         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35207         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35208         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35209         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35210         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35211         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35212         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35213         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35214         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35215         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35216         (_FP_FRAC_SRS_1): Likewise.
35217         (_FP_FRAC_CLZ_1): Likewise.
35218         (_FP_MUL_MEAT_1_imm): Likewise.
35219         (_FP_MUL_MEAT_1_wide): Likewise.
35220         (_FP_MUL_MEAT_1_hard): Likewise.
35221         (_FP_SQRT_MEAT_1): Likewise.
35222         (_FP_FRAC_ASSEMBLE_1): Likewise.
35223         (_FP_FRAC_DISASSEMBLE_1): Likewise.
35224         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35225         (__FP_CLZ_2): Likewise.
35226         (_FP_MUL_MEAT_2_wide): Likewise.
35227         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35228         (_FP_MUL_MEAT_2_gmp): Likewise.
35229         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35230         (_FP_SQRT_MEAT_2): Likewise.
35231         (_FP_FRAC_ASSEMBLE_2): Likewise.
35232         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35233         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35234         (_FP_FRAC_CLZ_4): Likewise.
35235         (_FP_MUL_MEAT_4_wide): Likewise.
35236         (_FP_MUL_MEAT_4_gmp): Likewise.
35237         (_FP_SQRT_MEAT_4): Likewise.
35238         (_FP_FRAC_ASSEMBLE_4): Likewise.
35239         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35240         * soft-fp/op-common.h (_FP_CMP): Likewise.
35241         (_FP_CMP_EQ): Likewise.
35242         (_FP_CMP_UNORD): Likewise.
35243         (_FP_TO_INT): Likewise.
35244         (_FP_FROM_INT): Likewise.
35245         [!__FP_CLZ] (__FP_CLZ): Likewise.
35246         (_FP_DIV_HELP_imm): Likewise.
35247         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35248         Likewise.
35249         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35250         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35251         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35252         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35253         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35254         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35255         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35256         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35257         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35258         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35259         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35260         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35261         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35262         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35263         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35264         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35265         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35266         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35267         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35268         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35269         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35270         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35271         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35272         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35273         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35274         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35275         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35276         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35277         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35278         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35279         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35280         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35281         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35282         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35283         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35284         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35285         (FP_UNPACK_RAW_SP): Likewise.
35286         (FP_PACK_RAW_S): Likewise.
35287         (FP_PACK_RAW_SP): Likewise.
35288         (FP_UNPACK_S): Likewise.
35289         (FP_UNPACK_SP): Likewise.
35290         (FP_UNPACK_SEMIRAW_S): Likewise.
35291         (FP_UNPACK_SEMIRAW_SP): Likewise.
35292         (FP_PACK_S): Likewise.
35293         (FP_PACK_SP): Likewise.
35294         (FP_PACK_SEMIRAW_S): Likewise.
35295         (FP_PACK_SEMIRAW_SP): Likewise.
35296         (_FP_SQRT_MEAT_S): Likewise.
35297         (FP_CMP_S): Likewise.
35298         (FP_CMP_EQ_S): Likewise.
35299         (FP_CMP_UNORD_S): Likewise.
35300         (FP_TO_INT_S): Likewise.
35301         (FP_FROM_INT_S): Likewise.
35303         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35305         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35306         (FP_EX_INVALID_IMZ): Likewise.
35307         (FP_EX_INVALID_IMZ_FMA): Likewise.
35308         (FP_EX_INVALID_ISI): Likewise.
35309         (FP_EX_INVALID_ZDZ): Likewise.
35310         (FP_EX_INVALID_IDI): Likewise.
35311         (FP_EX_INVALID_SQRT): Likewise.
35312         (FP_EX_INVALID_CVI): Likewise.
35313         (FP_EX_INVALID_VC): Likewise.
35314         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35315         "invalid" exceptions.
35316         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35317         (_FP_ADD_INTERNAL): Likewise.
35318         (_FP_MUL): Likewise.
35319         (_FP_FMA): Likewise.
35320         (_FP_DIV): Likewise.
35321         (_FP_CMP_CHECK_NAN): Likewise.
35322         (_FP_SQRT): Likewise.
35323         (_FP_TO_INT): Likewise.
35324         (FP_EXTEND): Likewise.
35326 2014-10-09  Allan McRae  <allan@archlinux.org>
35328         * po/fr.po: Update French translation from translation project.
35330 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35332         [BZ #14132]
35333         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35334         of INTDEF.
35335         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35336         (__cxa_atexit): Use libc_hidden_proto.
35337         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35339         [BZ #14132]
35340         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35341         declaration.
35342         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35343         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35344         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35345         [!_ISOMAC] (__iswctype_internal): Likewise.
35346         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35347         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35348         alias.
35349         (fcntl): Remove __fcntl_internal alias.
35350         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35351         __connect_internal alias.
35352         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35353         Likewise.
35355         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35356         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35357         FP_DENORM_ZERO.
35358         (_FP_CHECK_FLUSH_ZERO): New macro.
35359         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35360         (_FP_CMP): Likewise.
35361         (_FP_CMP_EQ): Likewise.
35362         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35363         FP_DENORM_ZERO.
35364         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35365         (FP_TRUNC): Likewise.
35367         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35368         treated as invalid conversion, not as normal exponent.
35370         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35371         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35372         (_FP_CMP_EQ): Likewise.
35373         (_FP_CMP_UNORD): Likewise.
35374         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35375         (FP_CMP_EQ_D): Likewise.
35376         (FP_CMP_UNORD_D): Likewise.
35377         * soft-fp/extended.h (FP_CMP_E): Likewise.
35378         (FP_CMP_EQ_E): Likewise.
35379         (FP_CMP_UNORD_E): Likewise.
35380         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35381         (FP_CMP_EQ_Q): Likewise.
35382         (FP_CMP_UNORD_Q): Likewise.
35383         * soft-fp/single.h (FP_CMP_S): Likewise.
35384         (FP_CMP_EQ_S): Likewise.
35385         (FP_CMP_UNORD_S): Likewise.
35386         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35387         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35388         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35389         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35390         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35391         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35392         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35393         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35394         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35395         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35396         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35397         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35398         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35399         to FP_CMP_Q.
35400         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35401         FP_CMP_Q.
35402         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35403         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35404         FP_CMP_EQ_Q.
35405         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35406         FP_CMP_Q.
35407         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35408         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35409         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35410         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35411         FP_CMP_EQ_Q.
35412         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35413         FP_CMP_Q.
35414         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35415         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35416         FP_CMP_EQ_Q.
35417         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35418         FP_CMP_Q.
35419         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35420         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35421         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35422         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35423         FP_CMP_EQ_Q.
35425         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35426         a subnormal result, set the underflow exception if trapping on
35427         underflow is enabled.
35428         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35429         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35430         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35431         redefine to 0.
35432         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35433         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35434         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35435         * soft-fp/extendxftf2.c (__extendxftf2): Use
35436         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35438         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35439         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35440         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35441         FP_HANDLE_EXCEPTIONS.
35442         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35443         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35444         FP_HANDLE_EXCEPTIONS.
35445         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35446         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35447         FP_HANDLE_EXCEPTIONS.
35448         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35449         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35450         FP_HANDLE_EXCEPTIONS.
35452 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35454         [BZ #14132]
35455         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35456         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35457         use INTUSE.
35458         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35459         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35460         Remove alias.
35461         (__adjtimex): Define using libc_hidden_ver.
35462         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35463         Remove declaration.
35464         (ntp_gettime): Call __adjtimex directly.
35465         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35466         Remove declaration.
35467         (ntp_gettimex): Call __adjtimex directly.
35468         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35469         __adjtimex_internal alias.
35471 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35473         [BZ #17460]
35474         * nscd/nscd.c (more_help): Rewrite list of tables collection
35475         using xstrdup and asprintf.
35477         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35479 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35480             Roland McGrath  <roland@hack.frob.com>
35482         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35483         (do_lookup_unique): ... local function 'enter' here; update callers.
35485 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35487         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35488         compat_symbol calls on [SHARED].
35489         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35490         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35491         Remove.
35492         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35493         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35494         (oldsetrlimit): Remove.
35495         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35497         (lchown): New syscall entry.
35498         (oldsetrlimit): Remove.
35499         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35500         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35501         (oldsetrlimit): Remove.
35502         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35504         [BZ #14138]
35505         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35506         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35507         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35508         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35509         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35510         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35511         (fchown): Likewise.
35512         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35513         (fchown): Likewise.
35514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35515         Likewise.
35517 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35519         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35520         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35521         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35522         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35523         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35524         Likewise.
35525         (__old_sem_post): Likewise.
35527 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35529         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35530         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35531         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35532         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35533         Use INLINE_VSYSCALL macro.
35534         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35535         __vdso_clock_gettime.
35536         * sysdeps/unix/sysv/linux/tile/init-first.c
35537         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35538         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35539         __vdso_clock_gettime.
35541         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35542         to set up frame more cleanly.
35544         * sysdeps/tile/memcmp.c: New file.
35546         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35548         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35549         * sysdeps/tile/tilegx/strcasestr.c: New file.
35550         * sysdeps/tile/tilegx/strnlen.c: New file.
35551         * sysdeps/tile/tilegx/strstr.c: New file.
35553         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35555 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35557         * nptl/tst-setuid3.c: Write errors to stdout.
35559 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35561         * elf/dl-deps.c
35562         (preload): New functions broken out of _dl_map_object_deps.
35563         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35565 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35567         [BZ #14138]
35568         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35569         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35571 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35573         * sysdeps/mips/strcmp.S: New.
35575 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35577         [BZ #14138]
35578         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35579         (linkat): Likewise.
35580         (mkdirat): Likewise.
35581         (readlinkat): Likewise.
35582         (renameat): Likewise.
35583         (symlinkat): Likewise.
35584         (unlinkat): Likewise.
35585         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35586         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35587         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35588         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35589         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35590         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35591         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35593 2014-09-30  Will Newton  <will.newton@linaro.org>
35595         * math/math.h: Define long double math functions if
35596         _LIBC_TEST is defined.
35597         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35599         * localedata/Makefile: Move assignment to tests-special
35600         into an ifdef testing run-built-tests.
35601         * timezone/Makefile: Likewise.
35603 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35605         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35606         with $(BASH) not $(SHELL).
35608 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35609             Matthew LeGendre  <legendre1@llnl.gov>
35611         [BZ #17411]
35612         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35613         l_reloc_result.
35615 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35617         * stdio-common/printf_fp.c
35618         (hack_digit): New function, broken out of ...
35619         (__printf_fp): ... local function here.  Update call sites.
35620         hack_digit now takes an additional parameter that is a pointer
35621         to a struct of the referenced locals.  Those locals moved inside
35622         the struct and references updated.
35624 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35626         * aclocal.m4: Require autoconf 2.69.
35627         * configure: Regenerated.
35628         * sysdeps/aarch64/configure: Likewise.
35629         * sysdeps/alpha/configure: Likewise.
35630         * sysdeps/arm/armv7/configure: Likewise.
35631         * sysdeps/arm/configure: Likewise.
35632         * sysdeps/ia64/configure: Likewise.
35633         * sysdeps/mach/configure: Likewise.
35634         * sysdeps/mips/configure: Likewise.
35635         * sysdeps/s390/configure: Likewise.
35636         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35639         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35640         file.
35641         * sysdeps/ia64/configure.ac: Likewise.
35643 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35646         specify symbol version for ld.so.  Do not include entry for
35647         libpthread.
35648         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35649         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35650         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35652         [BZ #14171]
35653         * Makeconfig [$(build-shared) = yes]
35654         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35655         makefiles.
35656         [$(build-shared) = yes && $(soversions.mk-done) = t]
35657         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35658         [$(build-shared) = yes && $(soversions.mk-done) = t]
35659         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35660         to Makerules.
35661         [$(build-shared) = yes && $(soversions.mk-done) = t]
35662         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35663         here.
35664         [$(build-shared) = yes && $(soversions.mk-done) = t]
35665         (common-generated): Don't append gnu/lib-names.h and
35666         gnu/lib-names.stmp here.
35667         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35668         (lib-names-h-abi): New variable.
35669         [$(build-shared) = yes && $(soversions.mk-done) = t]
35670         (lib-names-stmp-abi): Likewise.
35671         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35672         abi-variants] (before-compile): Append
35673         $(common-objpfx)$(lib-names-h-abi).
35674         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35675         abi-variants] (common-generated): Append gnu/lib-names.h.
35676         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35677         abi-variants] (install-others-nosubdir): Depend on
35678         $(inst_includedir)/$(lib-names-h-abi).
35679         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35680         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35681         [$(build-shared) = yes && $(soversions.mk-done) = t]
35682         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35683         [$(build-shared) = yes && $(soversions.mk-done) = t]
35684         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35685         [$(build-shared) = yes && $(soversions.mk-done) = t]
35686         (common-generated): Append $(lib-names-h-abi) and
35687         $(lib-names-stmp-abi).
35688         * scripts/lib-names.awk: Do not handle multi being set.
35689         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35690         Remove variable.
35691         (abi-lp64_be-ld-soname): Likewise.
35692         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35693         Likewise.
35694         (abi-hard-ld-soname): Likewise.
35695         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35696         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35697         Remove variable.
35698         (abi-o32_hard-ld-soname): Likewise.
35699         (abi-o32_soft_2008-ld-soname): Likewise.
35700         (abi-o32_hard_2008-ld-soname): Likewise.
35701         (abi-n32_soft-ld-soname): Likewise.
35702         (abi-n32_hard-ld-soname): Likewise.
35703         (abi-n32_soft_2008-ld-soname): Likewise.
35704         (abi-n32_hard_2008-ld-soname): Likewise.
35705         (abi-n64_soft-ld-soname): Likewise.
35706         (abi-n64_hard-ld-soname): Likewise.
35707         (abi-n64_soft_2008-ld-soname): Likewise.
35708         (abi-n64_hard_2008-ld-soname): Likewise.
35709         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35710         Likewise.
35711         (abi-64-v2-ld-soname): Likewise.
35712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35713         ld.so entries.
35714         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35715         variable.
35716         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35717         entry.
35718         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35719         variable.
35720         (abi-64-ld-soname): Likewise.
35721         (abi-x32-ld-soname): Likewise.
35722         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35723         entry.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35726 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
35728         [BZ #14138]
35729         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35730         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35731         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35732         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35733         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35734         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35735         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35736         syscall entry for GLIBC_2.2 symbol version.
35737         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35738         Likewise.
35739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35740         (setrlimit): Likewise.
35741         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35742         Likewise.
35744 2014-09-23  Will Newton  <will.newton@linaro.org>
35746         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35747         _LINUX_ARM_SYSDEP_H include guard too.
35748         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35749         define.
35751 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
35753         * sysdeps/unix/sysv/linux/eventfd.c:
35754         Make first argument unsigned.
35755         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35756         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35758 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
35760         [BZ #16852]
35761         * socket/recvmmsg.c (recvmmsg): Drop const argument.
35762         * socket/sys/socket.h: Likewise.
35763         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35765 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35767         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35769 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
35771         * time/tst-ftime.c: New test.
35772         * time/Makefile (tests): Add tst-ftime.
35774 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
35776         * soft-fp/extended.h: Fix comment formatting.
35777         * soft-fp/op-1.h: Likewise.
35778         * soft-fp/op-2.h: Likewise.
35779         * soft-fp/op-4.h: Likewise.
35780         * soft-fp/op-8.h: Likewise.
35781         * soft-fp/op-common.h: Likewise.
35782         * soft-fp/soft-fp.h: Likewise.
35784         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
35786 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
35788         [BZ #6652]
35789         * Makeconfig (soversions-default-setname): Remove variable.
35790         ($(common-objpfx)soversions.i): Don't pass default_setname to
35791         soversions.awk.
35792         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
35793         oldest_abi to abi-versions.awk.
35794         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
35795         * config.make.in (oldest-abi): Remove variable.
35796         * configure.ac (--enable-oldest-abi): Remove configure option.
35797         * configure: Regenerated.
35798         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
35799         text.
35800         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
35801         * scripts/soversions.awk: Do not handle default_setname variable.
35802         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
35803         variable.
35804         * sysdeps/mach/hurd/configure: Regenerated.
35805         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
35806         variable.
35807         * sysdeps/unix/sysv/linux/configure: Regenerated.
35809 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35811         * elf/Makefile (CFLAGS-interp.c): Remove.
35812         ($(elf-objpfx)runtime-linker.h): Generate header with linker
35813         path string.
35814         * elf/interp.c: Include generated runtime-linker.h
35816         * Makerules (lib%.so): Don't include $(+interp) in
35817         prerequisites.
35818         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
35819         * dlfcn/eval.c: Remove file.
35821         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
35822         macros.
35824         [BZ #17266]
35825         * misc/sys/cdefs.h: Define __extern_always_inline for clang
35826         4.2 and newer.
35828         [BZ #17370]
35829         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
35831 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
35832             Jakub Jelinek  <jakub@redhat.com>
35834         [BZ #17266]
35835         * libio/stdio.h: Check definition of __fortify_function
35836         instead of __extern_always_inline to include bits/stdio2.h.
35837         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
35838         check if __extern_always_inline is defined.
35839         [__USE_MISC || __USE_XOPEN]: Likewise.
35840         [__USE_ISOC99] Likewise.
35841         * misc/sys/cdefs.h (__fortify_function): Define only if
35842         __extern_always_inline is defined.
35843         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
35844         __extern_always_inline and __extern_inline only for g++-4.3
35845         and newer or a compatible gcc.
35847 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
35849         [BZ #17371]
35850         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
35851         last change to handle zero prefix length.
35853 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35855         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
35856         _SC_REGEX_VERSION.
35858         * posix/getconf.c (vars): Add _POSIX_IPV6 and
35859         _POSIX_RAW_SOCKETS.
35861 2014-09-13  Allan McRae  <allan@archlinux.org>
35863         * po/ru.po: Update Russian translation from translation project.
35865 2014-09-12  Roland McGrath  <roland@hack.frob.com>
35867         * locale/programs/locale.c (show_locale_vars): Inline local function
35868         into its sole call site.  Clean up some style nits.
35869         (print_item): New function, broken out of ...
35870         (show_info): ... local function here.  Clean up style nits.
35872         * locale/programs/ld-ctype.c (set_one_default): New function, broken
35873         out of ...
35874         (set_class_defaults): ... local function set_default here.
35875         Define set_default as a macro locally to pass constant parameters.
35876         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
35877         rather than a shared local.
35879         * stdlib/rpmatch.c (try): New function, broken out of ...
35880         (rpmatch): ... local function here.  Also, prototypify definition.
35882 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
35884         * scripts/soversions.awk: Do not handle configuration names.
35885         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
35886         vendor and os variables to soversions.awk.
35887         * configure.ac: Do not modify gnu-* host_os.
35888         * configure: Regenerated
35889         * shlib-versions: Remove first column with configuration names.
35890         * nptl/shlib-versions: Likewise.
35891         * nptl_db/shlib-versions: Likewise.
35892         * sysdeps/hppa/shlib-versions: Likewise.
35893         * sysdeps/m68k/shlib-versions: Likewise.
35894         * sysdeps/mach/hurd/shlib-versions: Likewise.
35895         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
35896         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
35897         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
35898         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
35899         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
35900         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
35901         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
35902         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
35903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35904         Likewise.
35905         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35906         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35907         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35908         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35909         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35910         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
35911         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
35915         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
35916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
35917         Regenerated.
35918         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
35920         Condition symbol version definitions on [HAVE_ELFV2_ABI].
35922         * shlib-versions: Remove OS-specific entries.  Moved to files in
35923         sysdeps.
35924         * sysdeps/mach/hurd/shlib-versions: New file.
35925         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
35927         * nptl/shlib-versions: Remove architecture-specific entries.
35928         Moved to files in sysdeps.
35929         * shlib-versions: Likewise.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
35931         file.
35932         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35933         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
35934         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
35935         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
35937         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
35938         (UDP_NO_CHECK6_RX): Likewise.
35940 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35942         * sysdeps/posix/sysconf.c (__sysconf): Spell
35943         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
35945 2014-08-12  Florian Weimer  <fweimer@redhat.com>
35947         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
35948         loading.
35949         * iconv/Versions (__gconv_transliterate): Export for use from
35950         gconv modules.
35951         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
35952         (struct __gconv_trans_data, __gconv_trans_fct,
35953         __gconv_trans_context_fct, __gconv_trans_query_fct,
35954         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
35955         definitions.
35956         (struct __gconv_step_data): Remove __trans member.
35957         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
35958         longer hidden.  Remove unused trans_data argument.
35959         * iconv/gconv_int.h (struct trans_struct): Remove definition.
35960         (__gconv_translit_find): Remove declaration.
35961         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
35962         prototype.
35963         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
35964         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
35965         trans_data argument.  Add hidden definition.
35966         (__gconv_translit_find): Remove.
35967         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
35968         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
35969         * iconv/skeleton.c: Remove transliteration initialization.
35970         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
35971         __gconv_step_data initialization.
35972         * libio/iofwide.c (__libio_translit_): Remove.
35973         (_IO_fwide): Adjust struct __gconv_step_data initialization.
35974         * wcsmbs/btowc.c (__btowc): Likewise.
35975         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35976         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
35977         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
35978         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
35979         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
35980         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
35981         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
35982         * wcsmbs/wctob.c (wctob): Likewise.
35984 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
35986         [BZ #16194]
35987         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
35988         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
35989         register usage.
35990         * sysdeps/x86/Makefile: Adjust.
35992 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35993             Roland McGrath  <roland@hack.frob.com>
35995         * locale/weight.h: Add include guard.
35996         (findidx): Make static rather than auto; take new parameters
35997         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
35998         * locale/weightwc.h: Likewise.
35999         * posix/fnmatch_loop.c
36000         (FCT): Change type of EXTRA from int32_t to wint_t.
36001         Don't include either header inside the function.
36002         Call FINDIDX rather than findidx, and pass new arguments.
36003         #undef FINDIDX at the end of the file.
36004         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36005         FINDIDX before including fnmatch_loop.c for the non-wide version.
36006         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36007         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36008         for the wide version.
36009         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36010         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36011         Pass new arguments to findidx.
36012         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36013         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36014         Don't #include it inside the function.  Pass new arguments to findidx.
36015         * posix/regex_internal.h
36016         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36017         (re_string_elem_size_at): Don't #include it inside the function.
36018         Pass new arguments to findidx.
36019         * string/strcoll_l.c: #include WEIGHT_H at top level.
36020         (get_next_seq): Don't #include it inside the function.
36021         Pass new arguments to findidx.
36022         (get_next_seq_nocache): Likewise.
36023         * string/strxfrm_l.c: #include WEIGHT_H at top level.
36024         (STRXFRM): Don't #include it inside the function.
36025         Pass new arguments to findidx.
36027 2014-09-11  Florian Weimer  <fweimer@redhat.com>
36029         [BZ #17344]
36030         * malloc/malloc.c (unlink): Turn asserts into a call to
36031         malloc_printerr.
36033 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
36035         [BZ #17370]
36036         * libio/wfileops (do_ftell_wide): Free OUT.
36038 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
36040         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36042 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36044         [BZ #17363]
36045         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36046         group if the current group is empty.
36048 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36050         * benchtests/bench-memset.c (test_main): Add more test from size
36051         from 32 to 512 bytes.
36052         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36053         Add POWER8 memset object.
36054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36055         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36056         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36057         implementation.
36058         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36059         Likewise.
36060         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36061         multiarch POWER8 memset optimization.
36062         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36063         POWER8 memset optimization.
36065         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36066         Remove bzero multiarch objects.
36067         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36068         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36069         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36070         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36071         Remove define.
36072         [__bzero]: Redefine to specific name.
36073         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36074         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36075         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36076         define.
36077         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36078         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36080 2014-09-10  Florian Weimer  <fweimer@redhat.com>
36082         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36083         warnings into errors.
36085         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36086         __cxa_thread_atexit_impl prototype.
36088 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36090         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36091         Fix capitalization of error message.
36093 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36095         * sysdeps/mips/preconfigure: Modify ABI tests.
36097 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36099         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36101 2014-09-07  Roland McGrath  <roland@hack.frob.com>
36102             Carlos O'Donell  <carlos@systemhalted.org>
36104         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36105         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36106         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36107         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36108         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36109         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36110         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36111         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36112         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36113         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36114         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36115         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36116         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36117         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36119         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36120         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36121         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36122         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36123         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36124         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36125         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36126         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36127         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36128         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36129         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36130         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36131         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36132         Deconditionalize the code that was previously under [RESET_PID].
36133         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36134         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36135         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36136         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36137         include sysdep.h.
36139 2014-09-08  Allan McRae  <allan@archlinux.org>
36141         * version.h (RELEASE): Set to "development".
36142         (VERSION): Set to "2.20.90"
36144 2014-09-07  Allan McRae  <allan@archlinux.org
36146         * version.h (RELEASE): Set to "stable".
36147         (VERSION): Set to "2.20"
36148         * include/features.h (__GLIBC_MINOR__): Set to 20.
36150         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36151         Liebler.
36153         * po/ko.po: Update Korean translation from translation project.
36155 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
36157         [BZ #17354]
36158         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36159         macro for handling signed relocations.
36161 2014-09-03  Florian Weimer  <fweimer@redhat.com>
36163         [BZ #17325]
36164         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36165         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36166         assert.
36167         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36168         * iconvdata/ibm935.c (BODY): Likewise.
36169         * iconvdata/ibm937.c (BODY): Likewise.
36170         * iconvdata/ibm939.c (BODY): Likewise.
36171         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36172         assert.
36173         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36174         script.
36175         * iconvdata/run-iconv-test.sh: New test loop for checking for
36176         decoder crashers.
36178 2014-09-02  Khem Raj  <raj.khem@gmail.com>
36180         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36181         libm_hidden_ver.
36183 2014-09-01  Allan McRae  <allan@archlinux.org>
36185         * po/eo.po: Update Esperanto translation from translation project.
36187         * po/ca.po: Update Catalan translation from translation project.
36189 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36191         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36192         __proc_dostop call.
36194 2014-08-27  Mark Wielaard  <mjw@redhat.com>
36196         [BZ #17319]
36197         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36198         to call set_thread_area instead of hand written asm.
36199         (__NR_set_thread_area): Removed define.
36200         (TLS_FLAG_WRITABLE): Likewise.
36201         (__ASSUME_SET_THREAD_AREA): Remove check.
36202         (TLS_EBX_ARG): Remove define.
36203         (TLS_LOAD_EBX): Likewise.
36205 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36207         Simplify atomicity of socket creation in bind.
36209         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36210         looking up the name after linking the file.
36212 2014-08-27  Allan McRae  <allan@archlinux.org>
36214         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36216 2014-08-26  Florian Weimer  <fweimer@redhat.com>
36218         [BZ #17187]
36219         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36220         trans_compare, open_translit, __gconv_translit_find):
36221         Remove module loading code.
36223 2014-08-26  Allan McRae  <allan@archlinux.org>
36225         * po/vi.po: Update Vietnamese translation from translation project.
36227         * po/uk.po: Update Ukrainian translation from translation project.
36229         * po/fr.po: Update French translation from translation project.
36231         * po/ru.po: Update Russian translation from translation project.
36233         * po/pl.po: Update Polish translation from translation project.
36235         * po/cs.po: Update Czech translation from translation project.
36237         * po/de.po: Update German translation from translation project.
36239         * po/bg.po: Update Bulgarian translation from translation project.
36241         * po/sv.po: Update Sweedish translation from translation project.
36243         * po/nl.po: Update Dutch translation from translation project.
36245         * po/es.po: Update Spanish translation from translation project.
36247 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36249         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36251         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36252         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36253         (CPPFLAGS-iconvconfig): Likewise.
36254         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36256         * include/libc-symbols.h: Remove unnecessary check for
36257         NOT_IN_libc.
36258         * nptl/pthreadP.h: Likewise.
36259         * sysdeps/aarch64/setjmp.S: Likewise.
36260         * sysdeps/alpha/setjmp.S: Likewise.
36261         * sysdeps/arm/sysdep.h: Likewise.
36262         * sysdeps/i386/setjmp.S: Likewise.
36263         * sysdeps/m68k/setjmp.c: Likewise.
36264         * sysdeps/posix/getcwd.c: Likewise.
36265         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36266         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36267         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36268         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36269         * sysdeps/sh/sh3/setjmp.S: Likewise.
36270         * sysdeps/sh/sh4/setjmp.S: Likewise.
36271         * sysdeps/unix/alpha/sysdep.h: Likewise.
36272         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36273         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36274         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36275         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36278         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36279         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36280         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36281         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36282         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36283         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36285         * sysdeps/x86_64/setjmp.S: Likewise.
36287 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36289         [BZ #17263]
36290         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36291         <stdint.h>.
36292         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36293         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36295 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36297         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36299         [BZ #17262]
36300         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36301         and __x86_64__ when disabling x87 inline functions.
36303 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36305         [BZ #17259]
36306         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36307         asm statement with __cpuid_count.
36309 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36311         * configure.ac: Change __ehdr_start code to dereference the struct.
36312         Run readelf on the output to look for relocations.
36313         * configure: Regenerated.
36315 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36317         [BZ #17261]
36318         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36319         value to 0.
36320         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36322 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36324         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36326 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36328         [BZ #16892]
36329         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36330         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36332 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36334         * malloc/malloc.c: Fix typo in comment.
36336 2014-08-09  Allan McRae  <allan@archlinux.org>
36338         * Regenerate libc.po.
36340 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36342         * intl/tst-gettext2.sh: Check every lang file for creation.
36344 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36346         * sysdeps/aarch64/fpu/math_private.h
36347         (libc_feholdsetround_noex_aarch64_ctx): New function.
36349 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36351         * sysdeps/arm/armv6/strcpy.S (strcpy):
36352         Fix performance issue in misaligned cases.
36354 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36356         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36357         Move definition from termios.h.
36358         (struct termio): Likewise.
36359         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36360         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36361         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36362         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36363         Likewise.
36364         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36365         Move definition to ioctl-types.h
36366         (struct termio): Likewise.
36367         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36368         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36369         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36370         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36371         Likewise.
36373 2014-08-05  Richard Henderson  <rth@redhat.com>
36375         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36376         exceptions.
36377         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36378         Add fraiseexcpt.
36379         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36380         Use __feraiseexcept.
36381         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36382         Protect libm symbols with IS_IN_libm.
36384         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36386 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36388         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36390 2014-08-04  Will Newton  <will.newton@linaro.org>
36392         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36393         file.
36395 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36397         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36398         variants for each function.
36400 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36402         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36403         appended ...
36404         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36405         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36406         appended ...
36407         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36408         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36409         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36410         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36411         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36412         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36413         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36414         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36415         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36416         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36417         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36418         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36419         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36420         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36421         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36422         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36423         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36424         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36425         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36426         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36427         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36428         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36429         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36430         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36431         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36432         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36433         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36434         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36435         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36436         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36437         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36438         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36439         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36440         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36441         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36442         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36443         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36444         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36445         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36446         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36447         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36448         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36449         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36450         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36451         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36452         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36453         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36454         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36455         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36456         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36457         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36458         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36459         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36460         Update #include.
36461         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36462         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36464 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36466         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36467         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36468         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36469         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36470         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36471         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36473 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36475         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36476         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36477         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36478         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36480 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36482         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36483         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36484         (__libc_vfork): Define function under this name.
36485         (__vfork): Define as an alias.
36486         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36487         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36489 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36491         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36492         that was previously under [RESET_PID].
36493         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36495 2014-08-04  Andreas Schwab  <schwab@suse.de>
36497         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36499 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36501         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36502         (main): Likewise.
36504 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36506         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36508 2014-08-01  Richard Henderon  <rth@redhat.com>
36510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36511         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36512         typo in exact zero test.
36513         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36517 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36519         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36520         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36521         * sysdeps/arm/sysdep.h: ... here.
36522         [!__ASSEMBLER__]: Include <stdint.h>.
36524 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36526         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36527         (HAVE_WCTYPE_H): Likewise.
36528         (HAVE_ISWCTYPE): Likewise.
36529         (ENABLE_NLS): Likewise.
36530         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36531         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36533         * posix/regex_internal.c: Check if DEBUG is defined and is
36534         set.
36536         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36537         (HAVE_MBSRTOWCS): Likewise.
36538         * posix/fnmatch.c: Include string.h unconditionally.
36540 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36542         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36543         reversal.
36545 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36547         * sysdeps/generic/safe-fatal.h: New file.
36548         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36549         * nptl/forward.c: Include it.
36550         (__pthread_unwind): Use __safe_fatal as default action, rather
36551         than a bogus use of INTERNAL_SYSCALL that could never work.
36553         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36554         * configure.ac (libc_cv_builtin_trap): New test.
36555         * configure: Regenerated.
36556         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36557         (ABORT_INSTRUCTION): Define using __builtin_trap.
36559         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36560         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36561         * sysdeps/nptl/nptl-signals.h: New file.
36562         * nptl/pthreadP.h: Include <nptl-signals.h>.
36564 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36566         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36567         (ONE_DIRECTION): Define.
36568         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36569         (ONE_DIRECTION): Define.
36570         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36571         (ONE_DIRECTION): Define.
36573 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36575         * sysdeps/s390/Makefile: Delete file.
36576         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36577         * sysdeps/s390/__longjmp.c: Delete file.
36578         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36579         Remove fields __flags and __reserved.
36580         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36581         and add versioning.
36582         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36583         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36584         * sysdeps/s390/rtld-setjmp.S: Likewise.
36585         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36586         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36587         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36588         * sysdeps/s390/s390-32/setjmp.S: ... here.
36589         Add versioning.
36590         (__sigsetjmp): Remove setting __flags field.
36591         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36592         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36593         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36594         * sysdeps/s390/s390-64/setjmp.S: ... here.
36595         Add versioning.
36596         (__sigsetjmp): Remove setting __flags field.
36597         * sysdeps/s390/setjmp.S: Delete file.
36598         * sysdeps/s390/sigjmp.c: Likewise.
36599         * sysdeps/s390/v1-longjmp.c: Likewise.
36600         * sysdeps/s390/v1-setjmp.h: Likewise.
36601         * sysdeps/s390/v1-sigjmp.c: Likewise.
36602         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36603         Remove v1-longjmp_chk.
36604         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36605         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36606         Include debug/longjmp_chk.c and add versioning.
36607         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36608         Include nptl/pt-longjmp.c and add versioning.
36609         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36610         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36611         Include __longjmp.c.
36612         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36613         Move to ...
36614         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36615         (__getcontext): Remove setting __flags field.
36616         Add versioning.
36617         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36618         Don't restore upper high grps.
36619         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36620         Likewise.
36621         (__swapcontext): Remove setting uc_flags field.
36622         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36623         Delete file.
36624         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36625         Include __longjmp.c.
36626         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36627         Move to ...
36628         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36629         (__getcontext): Remove setting __flags field.
36630         Add versioning.
36631         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36632         (__swapcontext): Remove setting uc_flags field.
36633         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36634         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36635         Remove fields uc_high_gprs and __reserved.
36636         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36637         New file with reverted content.
36638         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36639         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36640         Regenerated.
36641         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36642         Regenerated.
36644 2014-07-31  Andreas Schwab  <schwab@suse.de>
36646         * config.h.in (HAVE_IFUNC): Define to 0.
36647         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36648         definedness.
36650 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36652         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36653         memmove-avx-unaligned, memcpy-avx-unaligned and
36654         mempcpy-avx-unaligned.
36655         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36656         Add tests for AVX memcpy functions.
36657         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36658         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36659         memcpy_chk.
36660         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36661         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36662         memmove_chk.
36663         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36664         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36665         mempcpy_chk.
36666         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36667         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36668         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36670 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36672         [BZ #17213]
36673         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36674         powerpc64le.
36676 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36678         [BZ #16839]
36679         * manual/llio.texi: Add section about open file description locks.
36680         * manual/examples/ofdlocks.c: Example of open file description
36681         lock usage.
36682         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36683         F_OFD_SETLK, and F_OFD_SETLKW.
36685 2014-07-23  Allan McRae  <allan@archlinux.org>
36687         * po/es.po: Update Spanish translation from translation project.
36689 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36691         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36693 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
36695         [BZ #17078]
36696         * sysdeps/arm/dl-machine.h (elf_machine_rela)
36697         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36698         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36700 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
36702         [BZ #17088]
36703         * math/fesetenv.c (__fesetenv)
36704         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36705         * math/feupdateenv.c (__feupdateenv)
36706         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36708         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36709         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36710         (__ASSUME_SOCKETCALL): Do not define.
36712         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36713         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36714         (__ASSUME_SOCKETCALL): Do not define.
36715         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36716         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36717         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36718         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36719         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36720         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36722         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36724         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36725         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36726         (__ASSUME_SOCKETCALL): Do not define.
36727         (__ASSUME_IPC64): Define unconditionally.
36728         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36729         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36730         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36731         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36732         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36733         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36734         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36735         Likewise.
36737         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36738         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36739         (__ASSUME_SOCKETCALL): Do not define.
36740         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36741         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36742         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36743         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36744         (__ASSUME_REQUEUE_PI): Define unconditionally.
36745         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36746         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36747         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36748         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36749         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36750         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36752         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36753         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36754         (__ASSUME_SOCKETCALL): Do not define.
36755         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36756         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36757         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36758         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36759         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36760         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36762         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36763         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36764         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36765         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36766         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36767         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36768         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36769         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
36770         (__ASSUME_GETCPU_SYSCALL): Likewise.
36772         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
36773         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
36774         cases for individual architectures.
36775         * sysdeps/gnu/configure: Regenerated.
36776         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
36777         LIBC_SLIBDIR_RTLDDIR.
36778         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
36779         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
36780         LIBC_SLIBDIR_RTLDDIR.
36781         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
36783         LIBC_SLIBDIR_RTLDDIR.
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36785         Regenerated.
36786         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
36787         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
36788         file.
36789         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
36790         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
36791         file.
36792         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
36793         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
36794         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
36795         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
36797         * sysdeps/aarch64/shlib-versions: Move to ...
36798         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
36799         * sysdeps/alpha/shlib-versions: Move to ...
36800         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
36801         * sysdeps/arm/shlib-versions: Move to ...
36802         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
36803         * sysdeps/hppa/shlib-versions: Move all contents except for
36804         libgcc_s entry to ...
36805         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
36806         entry from ...
36807         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
36808         * sysdeps/ia64/shlib-versions: Move to ...
36809         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
36810         entry from ...
36811         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
36812         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
36813         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
36814         * sysdeps/microblaze/shlib-versions: Move to ...
36815         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
36816         * sysdeps/mips/shlib-versions: Move to ...
36817         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
36818         entry from ...
36819         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
36820         * sysdeps/tile/shlib-versions: Move to ...
36821         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
36822         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
36823         from ...
36824         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
36825         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
36826         entry from ...
36827         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
36829 2014-07-17  Will Newton  <will.newton@linaro.org>
36831         * sysdeps/arm/bits/atomic.h
36832         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
36833         (__arch_compare_and_exchange_bool_16_int): Likewise.
36834         (__arch_compare_and_exchange_bool_64_int): Likewise.
36836         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
36837         into an #else block.
36839 2014-07-16  Roland McGrath  <roland@hack.frob.com>
36841         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
36842         just Linux configurations.  Test empirically that the compiler sets
36843         __ARM_EABI__, rather than using the tuple to decide.
36844         * sysdeps/arm/preconfigure: Regenerated.
36845         * sysdeps/unix/sysv/linux/arm/configure: File removed.
36846         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
36847         contents appended ...
36848         * sysdeps/arm/configure.ac: ... here.
36849         * sysdeps/arm/configure: Regenerated.
36851 2014-07-15  Roland McGrath  <roland@hack.frob.com>
36853         * nptl/pthread_kill.c: New file.
36854         * nptl/pthread_sigmask.c: New file.
36855         * nptl/pthread_sigqueue.c: New file.
36857         * sysdeps/nptl/lowlevellock.h: New file.
36858         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
36859         * sysdeps/nptl/lowlevellock-futex.h: New file.
36861         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
36862         Remove dead declarations.
36864 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
36866         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
36867         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
36868         config-cflags-avx2.
36869         * sysdeps/x86_64/configure.ac: Likewise.
36870         * sysdeps/i386/configure: Regenerated.
36871         * sysdeps/x86_64/configure: Likewise.
36872         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36873         memset-avx2 only if config-cflags-avx2 is yes.
36874         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36875         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
36876         defined.
36877         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
36878         only if HAVE_AVX2_SUPPORT is defined.
36879         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36881 2014-07-14  Alan Modra  <amodra@gmail.com>
36883         [BZ #17153]
36884         * elf/elf.h (DT_PPC64_NUM): Correct value.
36885         * NEWS: Add to fixed bug list.
36887 2014-07-13  Jim Meyering  <meyering@fb.com>
36889         [BZ 17150]
36890         regex: don't deref NULL upon heap allocation failure
36891         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
36892         failure in one more place.
36893         To trigger the segfault, configure grep -with-included-regex,
36894         build it, and run these commands:
36895         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
36897 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
36899         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
36901 2014-07-11  Richard Henderson  <rth@redhat.com>
36903         * sysdeps/aarch64/libm-test-ulps: Update.
36905 2014-07-10  Florian Weimer  <fweimer@redhat.com>
36907         [BZ #17135]
36908         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
36909         * nptl/allocatestack.c (__nptl_setxid_error): New function.
36910         (__nptl_setxid): Initialize error member.  Call
36911         __nptl_setxid_error.
36912         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
36913         * nptl/descr.h (struct xid_command): Add error member.
36914         * nptl/tst-setuid3.c: New file.
36915         * nptl/Makefile (tests): Add it.
36917 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36919         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
36920         New define.
36921         (__lll_trylock): Use __lll_base_trylock.
36922         (__lll_cond_trylock): Likewise.
36924 2014-07-10  Roland McGrath  <roland@hack.frob.com>
36926         * nptl/pthread_create.c (start_thread): Use atomic_or and
36927         lll_futex_wake directly rather than lll_robust_dead.
36928         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36929         (lll_robust_dead): Macro removed.
36930         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
36931         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36932         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36933         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36934         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36935         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36936         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36937         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36938         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36939         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36940         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36941         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36942         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36943         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36944         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36946         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
36947         Use atomic_compare_and_exchange_val_acq directly rather than
36948         lll_robust_trylock.
36949         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
36950         (__lll_robust_trylock, lll_robust_trylock): Removed.
36951         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
36952         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
36953         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
36954         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
36955         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
36956         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
36957         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
36958         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
36959         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
36960         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
36961         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
36962         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
36963         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
36964         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
36966 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36968         * manual/locale.texi (Locale Names): New section documenting
36969         locale name syntax.  Adjust menu and node chaining accordingly.
36970         (Choosing Locale): Reference Locale Names, Locale Categories.
36971         Mention setting LC_ALL=C.  Reflect that name syntax is now
36972         documented.
36973         (Locale Categories): New section title.  Reference Locale Names.
36974         LC_ALL is an environment variable, but not a category.
36975         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
36976         description, now in Locale Name.  Reference that section.  Locale
36977         name syntax is now documented.
36979 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36981         [BZ #17137]
36982         * locale/findlocale.c (name_present, valid_locale_name): New
36983         functions.
36984         (_nl_find_locale): Use the loc_name variable to store name
36985         candidates.  Call name_present and valid_locale_name to check and
36986         validate locale names.  Return an error if the locale is invalid.
36988 2014-07-02  Florian Weimer  <fweimer@redhat.com>
36990         * locale/setlocale.c (setlocale): Use strdup for allocating
36991         composite name copy.
36993 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36995         Sync up with gnulib.
36996         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
36997         [!_LIBC && ENABLE_NLS]: Include gettext.h.
36998         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
36999         and _GL_ARG_NONNULL.
37000         [USE_UNLOCKED_IO]: Include unlocked-io.h.
37001         [!_LIBC]: Include code for Windows and Cygwin.
37002         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37003         Include prototype for int strerror_r.
37004         [!_LIBC] (is_open): New function.
37005         (flush_stdout): New function.
37006         (print_errno_message): Use it.
37007         (error): Likewise.
37008         (error_at_line): Likewise.
37009         (error_tail) Add function attribute macros.  Use
37010         __builtin_expect.
37012         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37014         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37016         * io/ftw.c: Include sys/param.h unconditionally.
37018         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37020         [BZ #17125]
37021         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37022         libc_freeres_ptr.
37023         (freecache): New function to free CACHE on exit.
37025         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37026         initialization.
37028 2014-07-09  David S. Miller  <davem@davemloft.net>
37030         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37032         * sysdeps/sparc/nptl/internaltypes.h: Delete.
37033         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37034         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37035         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37036         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37037         * sysdeps/sparc/nptl/sem_init.c: Likewise.
37038         * sysdeps/sparc/nptl/sem_post.c: Likewise.
37039         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37040         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37041         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37042         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37043         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37044         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37046 2014-07-09  Andreas Schwab  <schwab@suse.de>
37048         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37049         output.
37050         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37051         (do_test): Likewise.
37053         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37055 2014-07-09  Will Newton  <will.newton@linaro.org>
37057         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37058         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37059         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37060         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37061         * sysdeps/hppa/start.S (_start): Likewise.
37063 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37065         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37067         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37068         defined.
37070 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37072         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37073         after checking that it is non-NULL.
37075         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37077 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37079         * sysdeps/powerpc/memmove.c: Remove file.
37080         * sysdeps/powerpc/powerpc32/power4/memcopy.h
37081         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37082         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37083         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37084         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37085         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37086         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37087         string memmove instead of removed powerpc one.
37089         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37090         [weak_alias]: Fix compiler warning due trailing data.
37091         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37092         [weak_alias]: Likewise.
37093         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37094         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37097         (__libc_ifunc_impl_list): Add memmove functions.
37099 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37101         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37102         Remove code.
37103         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37104         Likewise.
37105         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37106         Likewise.
37107         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37108         Likewise.
37109         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37110         Likewise.
37111         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37112         Likewise.
37113         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37114         Likewise.
37115         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37116         Likewise.
37117         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37118         Likewise.
37119         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37120         Likewise.
37121         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37122         Likewise.
37123         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37124         Likewise.
37125         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37126         Likewise.
37127         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37128         Likewise.
37129         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37130         Likewise.
37131         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37132         Likewise.
37133         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37134         Likewise.
37136 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37138         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37139         to avoid alignment traps in non-cacheable memory.
37140         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37143         multiarch objects.
37144         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37145         file: multiarch power7 memmove.
37146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37147         multiarch default memmove.
37148         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37149         multiarch memove for powerpc32/power4.
37151         * string/bcopy.c: Use full path to include memmove.c.
37152         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37153         multiarch objects.
37154         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37155         bcopy for powerpc64.
37156         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37157         bcopy for powerpc64.
37158         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37159         and memmove implementations.
37160         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37161         optimized multiarch memmove for POWER7/powerpc64.
37162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37163         default multiarch memmove for powerpc64.
37164         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37165         multiarch for powerpc64.
37166         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37167         for POWER7/powerpc64.
37168         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37169         memmove for POWER7/powerpc64.
37171         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37172         glibc default one.
37174         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37175         __ELF_NATIVE_CLASS equal to 64.
37177 2014-07-07  Roland McGrath  <roland@hack.frob.com>
37179         * sysdeps/nptl/lowlevellock.h: File removed.
37181         * NEWS: NPTL is no longer an add-on!
37182         * nptl/internaltypes.h: Moved ...
37183         * sysdeps/nptl/internaltypes.h: ... here.
37184         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37185         * sysdeps/nptl/fork.c: Likewise.
37186         * sysdeps/nptl/gai_misc.h: Likewise.
37187         * sysdeps/nptl/librt-cancellation.c: Likewise.
37188         * sysdeps/nptl/jmp-unwind.c: Likewise.
37189         * sysdeps/nptl/setxid.h: Likewise.
37190         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37191         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37192         * sysdeps/unix/sysv/linux/arm/Implies: New file.
37193         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37194         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37195         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37196         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37197         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37198         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37199         * sysdeps/unix/sysv/linux/mips/Implies: New file.
37200         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37201         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37202         * sysdeps/unix/sysv/linux/sh/Implies: New file.
37203         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37204         * sysdeps/unix/sysv/linux/tile/Implies: New file.
37205         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37206         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37207         * nptl/Makeconfig: Moved ...
37208         * sysdeps/nptl/Makeconfig: ... here.
37209         * nptl/configure: File removed.
37210         * nptl/ANNOUNCE: File removed.
37211         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37212         * sysdeps/unix/sysv/linux/configure: Regenerated.
37214         * nptl/Makefile (routines): Add libc_pthread_init,
37215         libc_multiple_threads, register-atfork and unregister-atfork.
37216         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37217         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37218         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37219         pthread-pi-defines.sym, structsem.sym.
37220         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37221         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37222         [$(subdir) = nptl] (tests): Add tst-setgetname.
37223         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37224         * sysdeps/unix/sysv/linux/sigaction.c: Just include
37225         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37226         [!LIBC_SIGACTION]: Remove aliases.
37227         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37228         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37229         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37230         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37231         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37232         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37233         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37234         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37235         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37236         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37237         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37238         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37239         __libc_allocate_rtsig_private.
37240         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37241         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37242         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37243         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37244         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37245         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37246         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37247         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37248         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37249         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37250         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37251         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37252         * nptl/internaltypes.h: ... here.
37253         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37254         * sysdeps/nptl/jmp-unwind.c: ... here.
37255         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37256         * nptl/libc-lowlevellock.c: ... here.
37257         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37258         * nptl/libc_multiple_threads.c: ... here.
37259         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37260         * nptl/libc_pthread_init.c: ... here.
37261         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37262         * nptl/lowlevelbarrier.sym: ... here.
37263         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37264         * nptl/lowlevelcond.sym: ... here.
37265         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37266         * nptl/lowlevellock.c: ... here.
37267         * nptl/lowlevellock.h: Moved ...
37268         * sysdeps/nptl/lowlevellock.h: ... here.
37269         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37270         * nptl/lowlevelrobustlock.c: ... here.
37271         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37272         * nptl/lowlevelrobustlock.sym: ... here.
37273         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37274         * nptl/lowlevelrwlock.sym: ... here.
37275         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37276         * nptl/pt-fork.c: ... here.
37277         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37278         * nptl/pthread-pi-defines.sym: ... here.
37279         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37280         * nptl/pthread_attr_getaffinity.c: ... here.
37281         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37282         * nptl/pthread_attr_setaffinity.c: ... here.
37283         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37284         * nptl/pthread_mutex_cond_lock.c: ... here.
37285         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37286         Update #include.
37287         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37288         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37289         * nptl/pthread_once.c: ... here, replacing old file.
37290         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37291         * nptl/pthread_yield.c: ... here.
37292         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37293         * nptl/register-atfork.c: ... here.
37294         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37295         * nptl/sem_post.c: ... here.
37296         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37297         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37298         * nptl/sem_timedwait.c: ... here.
37299         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37300         * nptl/sem_trywait.c: ... here.
37301         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37302         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37303         * nptl/sem_wait.c: ... here.
37304         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37305         * nptl/structsem.sym: ... here.
37306         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37307         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37308         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37309         * nptl/unregister-atfork.c: ... here.
37310         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37311         * nptl/unwindbuf.sym: ... here.
37312         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37313         * sysdeps/nptl/fork.c: ... here.
37314         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37315         * sysdeps/nptl/fork.h: ... here.
37316         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37317         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37318         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37319         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37320         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37321         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37322         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37323         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37324         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37325         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37326         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37327         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37328         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37329         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37330         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37331         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37332         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37333         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37334         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37335         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37336         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37337         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37338         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37339         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37340         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37341         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37342         * sysdeps/unix/sysv/linux/raise.c: ... here.
37343         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37344         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37345         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37346         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37347         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37348         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37349         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37350         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37351         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37352         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37353         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37354         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37355         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37356         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37357         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37359 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37361         * sysdeps/generic/memcopy.h: Add comment for
37362         MEMCPY_OK_FOR_FWD_MEMMOVE.
37364 2014-07-04  Will Newton  <will.newton@linaro.org>
37366         * string/memchr.c: Merge from gnulib.
37367         [_LIBC]: Remove conditionals.
37368         (__ptr_t): Remove define.
37369         (LONG_MAX_32_BITS): Likewise.
37370         (LONG_MAX): Likewise.
37371         (MEMCHR): Use ANSI prototype and optimize algorithm.
37373         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37375 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37378         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37380         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37381         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37382         in a bare environment with no <stdlib.h> installed.
37383         * sysdeps/nptl/configure: Regenerated.
37385         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37387         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37388         AC_EGREP_CPP for kernel header checks, so they only succeed if
37389         including <linux/version.h> actually works right.
37390         * sysdeps/unix/sysv/linux/configure: Regenerated.
37392         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37393         value so it's not diagnosed as unused.
37395         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37396         thing) with "ifeq ($(subdir),rt)".
37398 2014-07-03  Richard Henderson  <rth@redhat.com>
37400         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37401         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37402         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37404         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37405         (math_force_eval): New.
37407         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37408         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37410         * sysdeps/alpha/fpu/s_round.c: Remove file.
37411         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37413         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37414         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37415         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37416         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37417         (_dl_start, print_statistics): Likewise.
37418         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37419         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37421         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37422         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37423         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37424         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37425         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37426         (HP_SMALL_TIMING_AVAIL): Define.
37427         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37428         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37429         (HP_SMALL_TIMING_AVAIL): Define.
37430         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37431         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37433         * sysdeps/aarch64/hp-timing.h: New file.
37435         * sysdeps/generic/hp-timing.h: Remove dead comment.
37436         * sysdeps/generic/hp-timing-common.h: New file.
37437         * sysdeps/alpha/hp-timing.h: Include it.
37438         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37439         * sysdeps/i386/i686/hp-timing.h: Likewise.
37440         * sysdeps/ia64/hp-timing.h: Likewise.
37441         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37442         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37443         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37444         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37445         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37446         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37447         (hp_timing_t): New.
37449         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37450         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37451         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37452         * elf/rtld.c (_dl_start_final): Likewise.
37453         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37454         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37455         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37456         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37457         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37458         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37459         (HP_TIMING_DIFF_INIT): Remove.
37460         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37461         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37462         (HP_TIMING_DIFF_INIT): Remove.
37463         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37464         * sysdeps/i386/i686/hp-timing.c: Remove file.
37465         * sysdeps/x86_64/hp-timing.c: Remove file.
37466         * sysdeps/ia64/hp-timing.c: Remove file.
37467         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37468         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37469         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37470         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37472         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37473         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37474         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37475         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37476         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37477         (HP_TIMING_ACCUM): Remove.
37478         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37479         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37480         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37482         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37483         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37484         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37485         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37486         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37487         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37488         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37489         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37491         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37493 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37495         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37497 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37499         Sync up with gettext.
37500         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37501         [_MSC_VER]: Include malloc.h
37502         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37503         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37504         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37505         TEMP_FAILURE_RETRY.  Cast return of alloca.
37506         [!_LIBC] Call gl_rwlock_init.
37507         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37509 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37511         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37512         before checking its value.
37514 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37516         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37518         * debug/memcpy_chk.c: Don't include pagecopy.h.
37519         * debug/mempcpy_chk.c: Likewise.
37520         * string/memcpy.c: Likewise.
37521         * string/memmove.c: Likewise.
37522         * sysdeps/powerpc/memmove.c: Likewise.
37523         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37524         definition of PAGE_COPY_FWD_MAYBE here...
37525         * sysdeps/generic/pagecopy.h: ... from here.
37526         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37528 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37529             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37531         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37532         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37533         optimizations.
37534         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37535         (__libc_ifunc_impl_list): Likewise.
37536         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37537         multiarch strcat for PPC64.
37538         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37539         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37541 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37543         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37545 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547         * intl/loadmsgcat.c: Remove declaration of
37548         get_sysdep_segment_value.
37549         (get_sysdep_segment_value): Use ISO C style.
37550         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37551         semicolon.  Fix typo and formatting in comment.
37552         (_nl_unload_domain): Use ISO C style.
37554         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37556 2014-07-02  Will Newton  <will.newton@linaro.org>
37558         * malloc/obstack.c: Merge from gnulib master.
37559         [HAVE_CONFIG_H]: Remove conditional code.
37560         [!_LIBC]: Include config.h.
37561         [!ELIDE_CODE]: Don't include inttypes.h, include
37562         stdint.h unconditionally.
37563         (print_and_abort): Mark as _Noreturn.
37564         (_obstack_allocated_p): Mark as __attribute_pure__.
37565         (obstack_free): Rename to __obstack_free.
37566         [!__attribute__]: Remove conditional code.
37567         * malloc/obstack.h: Merge from gnulib master.
37568         [__cplusplus]: Move conditional down.
37569         [!__attribute_pure__]: Define __attribute_pure__ here
37570         if it is not already defined.
37571         (_obstack_memory_used): Mark as __attribute_pure__.
37572         [!__obstack_free]: Define as obstack_free.
37573         [__GNUC__]: Remove check for ancient NeXT gcc.
37575 2014-07-02  Will Newton  <will.newton@linaro.org>
37576             Paul Eggert  <eggert@cs.ucla.edu>
37578         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37580 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37582         * resolv/gethnamaddr.c: Add comment warning that the file is
37583         not maintained.
37585 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37587         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37588         entries.
37590         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37591         entry for aio_cancel and aio_cancel64.
37592         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37593         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37594         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37595         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37596         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37597         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37598         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37599         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37600         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37601         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37602         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37603         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37604         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37606 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37608         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37609         * nptl/pthread_mutex_lock.c: Likewise.
37610         * nptl/pthread_mutex_timedlock.c: Likewise.
37611         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37613 2014-07-01  Richard henderson  <rth@redhat.com>
37615         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37616         (__isnan, __isnanl): Remove.
37617         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37619         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37621 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37623         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37625 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37627         * resolv/nss_dns/dns-host.c (getanswer_r)
37628         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37630 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37632         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37633         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37634         undefine.
37635         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37636         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37638 2014-07-01  Roland McGrath <roland@hack.frob.com>
37640         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37641         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37643         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37644         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37646         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37647         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37648         ... here.
37649         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37650         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37652         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37653         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37654         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37655         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37657         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37658         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37659         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37660         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37661         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37662         Moved ...
37663         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37664         ... here.
37665         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37666         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37667         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37668         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37669         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37670         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37671         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37672         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37673         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37674         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37675         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37676         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37677         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37678         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37679         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37680         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37681         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37682         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37683         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37684         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37685         ... here.
37686         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37687         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37688         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37689         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37690         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37691         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37692         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37693         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37695 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
37697         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37698         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37699         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37700         Add sysdep.
37702 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37704         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37706 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37708         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37709         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37711         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37713         * sysdeps/arm/libm-test-ulps: Regenerated.
37715 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37716             Roland McGrath <roland@hack.frob.com>
37718         * test-skeleton.c (signal_handler): Kill the whole process group
37719         before killing the child individually.
37720         (main): Report any failure on `setpgid'.
37722 2014-06-30  Roland McGrath  <roland@hack.frob.com>
37724         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37725         from _TLS_H to _ARM_NPTL_TLS_H.
37726         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37727         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37729 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
37731         [BZ #16539]
37732         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37733         (__expm1l): Return argument unchanged when small but not
37734         subnormal.
37736         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37737         include macro name.
37738         (_FP_UNPACK_RAW_1_P): Likewise.
37739         (_FP_PACK_RAW_1): Likewise.
37740         (_FP_PACK_RAW_1_P): Likewise.
37741         (_FP_MUL_MEAT_1_wide): Likewise.
37742         (_FP_MUL_MEAT_DW_1_hard): Likewise.
37743         (_FP_MUL_MEAT_1_hard): Likewise.
37744         (_FP_DIV_MEAT_1_imm): Likewise.
37745         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37746         (_FP_DIV_MEAT_1_udiv): Likewise.
37747         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37748         (_FP_UNPACK_RAW_2): Likewise.
37749         (_FP_UNPACK_RAW_2_P): Likewise.
37750         (_FP_PACK_RAW_2): Likewise.
37751         (_FP_PACK_RAW_2_P): Likewise.
37752         (_FP_MUL_MEAT_DW_2_wide): Likewise.
37753         (_FP_MUL_MEAT_2_wide): Likewise.
37754         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37755         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37756         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37757         (_FP_MUL_MEAT_2_gmp): Likewise.
37758         (_FP_DIV_MEAT_2_udiv): Likewise.
37759         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37760         (_FP_FRAC_SRL_4): Likewise.
37761         (_FP_FRAC_SRST_4): Likewise.
37762         (_FP_FRAC_SRS_4): Likewise.
37763         (_FP_UNPACK_RAW_4): Likewise.
37764         (_FP_UNPACK_RAW_4_P): Likewise.
37765         (_FP_PACK_RAW_4): Likewise.
37766         (_FP_PACK_RAW_4_P): Likewise.
37767         (_FP_MUL_MEAT_DW_4_wide): Likewise.
37768         (_FP_MUL_MEAT_4_wide): Likewise.
37769         (_FP_MUL_MEAT_4_gmp): Likewise.
37770         (umul_ppppmnnn): Likewise.
37771         (_FP_DIV_MEAT_4_udiv): Likewise.
37772         (__FP_FRAC_ADD_4): Likewise.
37773         (__FP_FRAC_SUB_3): Likewise.
37774         (__FP_FRAC_SUB_4): Likewise.
37775         (__FP_FRAC_DEC_3): Likewise.
37776         (__FP_FRAC_DEC_4): Likewise.
37777         (__FP_FRAC_ADDI_4): Likewise.
37778         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
37779         (_FP_FRAC_SRL_8): Likewise.
37780         (_FP_FRAC_SRS_8): Likewise.
37782         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
37783         include macro name.
37784         (FP_UNPACK_RAW_EP): Likewise.
37785         (FP_PACK_RAW_E): Likewise.
37786         (FP_PACK_RAW_EP): Likewise.
37787         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
37788         (_FP_ISSIGNAN): Likewise.
37789         (_FP_ADD_INTERNAL): Likewise.
37790         (_FP_FMA): Likewise.
37791         (_FP_CMP): Likewise.
37792         (_FP_SQRT): Likewise.
37793         (_FP_TO_INT): Likewise.
37794         (_FP_FROM_INT): Likewise.
37795         (FP_EXTEND): Likewise.
37796         (_FP_DIV_MEAT_N_loop): Likewise.
37798 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
37800         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
37801         throughout.
37803 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
37805         [BZ #17097]
37806         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
37807         result with correct sign in case of exponents that produce
37808         overflow except for X very close to 1.
37810 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
37812         mktime: merge #if/#ifdef usage from glibc
37813         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
37814         as that works with both Glibc's and Gnulib's style.
37815         See thread starting at Siddhesh Poyarekar's bug report at:
37816         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
37818 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37820         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
37821         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
37822         * sysdeps/tile/tilegx/memmove.c: Remove file.
37824 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37826         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
37827         abi-name definition.
37828         * scripts/soversions.awk: Do not handle or generate ABI lines.
37829         * shlib-versions: Remove ABI entries.
37830         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
37831         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
37833 2014-06-27  Roland McGrath  <roland@hack.frob.com>
37835         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
37836         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
37837         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
37838         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
37839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
37840         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
37841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
37842         Moved ...
37843         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
37844         ... here.
37845         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
37846         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
37847         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
37848         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
37849         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
37850         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
37851         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
37852         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
37853         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
37854         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
37855         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
37856         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
37857         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
37858         Moved ...
37859         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
37860         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
37861         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
37862         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
37863         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
37864         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
37865         Moved ...
37866         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
37867         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
37868         Moved ...
37869         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
37870         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
37871         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
37872         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
37873         Moved ...
37874         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
37875         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
37876         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
37877         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
37878         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
37879         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
37880         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
37881         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
37882         Moved ...
37883         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
37884         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
37885         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
37886         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
37887         Moved ...
37888         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
37889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
37890         Moved ...
37891         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
37892         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
37893         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
37894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
37895         Moved ...
37896         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
37897         ... here.
37898         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
37899         Identical file removed.
37900         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
37901         Moved ...
37902         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
37903         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
37904         Identical file removed.
37905         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
37906         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
37907         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
37908         Moved ...
37909         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
37910         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
37911         Identical file removed.
37912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
37913         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
37914         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
37915         Identical file removed.
37916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
37917         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
37918         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
37919         Identical file removed.
37920         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
37921         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
37922         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
37923         Identical file removed.
37924         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
37925         Moved ...
37926         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
37927         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
37928         Identical file removed.
37929         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
37930         Moved ...
37931         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
37932         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
37933         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
37934         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
37935         Identical file removed.
37936         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
37937         Moved ...
37938         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
37939         ... here.
37940         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
37941         Identical file removed.
37942         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
37943         Moved ...
37944         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
37945         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
37946         Identical file removed.
37947         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
37948         Moved ...
37949         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
37950         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
37951         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
37952         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
37953         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
37954         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
37955         Moved ...
37956         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
37957         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
37958         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
37960         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
37961         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
37962         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
37963         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
37964         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
37966 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
37968         [BZ #17092]
37969         * nscd/nscd.c (monitor_child): Return exit status of child
37970         instead of return value from wait syscall.
37972 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
37974         * configure.ac (libc_commonpagesize): Remove variable.
37975         (libc_relro_required): Likewise.
37976         (libc_cv_z_relro): Remove configure test.
37977         * configure: Regenerated.
37978         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
37979         variable.
37980         (libc_relro_required): Likewise.
37981         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
37982         (libc_relro_required): Likewise.
37983         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
37984         (libc_relro_required): Likewise.
37985         * sysdeps/arm/preconfigure: Regenerated.
37986         * sysdeps/ia64/preconfigure: Remove file.
37987         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
37988         variable.
37989         (libc_relro_required): Likewise.
37991         [BZ #16561]
37992         [BZ #16562]
37993         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37994         (__ieee754_yn): Set FE_TONEAREST mode internally and then
37995         recompute overflowing results in original rounding mode.
37996         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
37997         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
37998         recompute overflowing results in original rounding mode.
37999         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38000         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38001         recompute overflowing results in original rounding mode.
38002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38003         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38004         recompute overflowing results in original rounding mode.
38005         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38006         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38007         recompute overflowing results in original rounding mode.
38008         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38009         (libc_feholdsetround_ctx): New macro.
38010         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38011         * sysdeps/i386/fpu/libm-test-ulps: Update.
38012         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38014 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38016         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38017         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38018         corresponding .cpsetup call.
38020 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38022         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38023         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38024         * sysdeps/arm/Makefile [$(subdir) = csu]
38025         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38026         (static-only-routines): Add aeabi_read_tp here.
38027         (shared-only-routines): Add libc-aeabi_read_tp here.
38028         (CFLAGS-libc-start.c): Add -fexceptions here.
38029         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38030         (sysdep_routines, static-only-routines, shared-only-routines):
38031         Don't add to these here.
38032         (CFLAGS-libc-start.c): Likewise.
38034         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38035         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38036         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38037         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38038         * sysdeps/arm/Makefile [$(subdir) = rt]
38039         (librt-sysdep_routines, librt-shared-only-routines):
38040         Append rt-aeabi_unwind_cpp_pr1 here.
38041         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38042         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38043         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38044         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38045         Append nptl-aeabi_unwind_cpp_pr1 here.
38046         (tests): Filter out tst-cleanupx4 here.
38047         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38048         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38049         Don't do those here.
38051 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38053         * scripts/list-sources.sh: Do not handle ports specially.
38055 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38057         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38058         * sysdeps/arm/feupdateenv.c: Likewise.
38060         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38062 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38064         * manual/texinfo.tex: Update to version 2014-05-05.10 with
38065         trailing whitespace removed.
38066         * scripts/config.guess: Update to version 2014-03-23.
38067         * scripts/config.sub: Update to version 2014-05-01
38068         * scripts/install-sh: Update to version 2013-12-25.23.
38069         * scripts/move-if-change: Update from gnulib.
38071 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38073         * debug/memmove_chk.c: Remove pagecopy.h include.
38075 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
38077         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
38078         identical to gnulib mktime.
38080 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38082         * configure.ac: Do not test for machine being rs6000.  Do not test
38083         for powerpc*-*soft.
38084         * configure: Regenerated.
38086         [BZ #11505]
38087         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38088         test.
38089         * configure: Regenerated.
38090         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38091         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38092         Remove configure test.
38093         * sysdeps/arm/configure: Regenerated.
38094         * sysdeps/nptl/configure.ac: Do not check
38095         libc_cv_asm_cfi_directives.
38096         * sysdeps/nptl/configure: Regenerated.
38097         * sysdeps/x86_64/nptl/configure.ac: Remove file.
38098         * sysdeps/x86_64/nptl/configure: Remove generated file.
38099         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38100         unconditional.
38101         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38103 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38105         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38106         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38107         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38108         it is defined.
38110         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38111         instead of whether it is defined.
38112         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38113         * sysdeps/hppa/dl-machine.h: Likewise.
38114         * sysdeps/ia64/dl-machine.h: Likewise.
38115         * sysdeps/m68k/dl-machine.h: Likewise.
38116         * sysdeps/microblaze/dl-machine.h: Likewise.
38117         * sysdeps/mips/dl-machine.: Likewise.
38118         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38119         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38120         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38121         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38122         * sysdeps/sh/dl-machine.h: Likewise.
38123         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38124         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38125         * sysdeps/tile/dl-machine.h: Likewise.
38126         * sysdeps/x86_64/dl-machine.h: Likewise.
38128         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38129         code.
38130         (verify_persistent_db): Likewise.
38132 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38135         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38137         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38139         Moved ...
38140         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38141         ... here.
38142         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38143         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38144         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38145         Identical file removed.
38146         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38147         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38148         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38149         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38150         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38151         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38153         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38154         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38155         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38157         Moved ...
38158         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38159         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38160         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38164         Moved ...
38165         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38167         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38169         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38171         Identical file removed.
38172         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38173         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38174         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38175         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38176         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38177         Moved ...
38178         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38179         ... here.
38180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38181         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38183         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38185         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38187         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38188         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38189         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38191         Moved ...
38192         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38194         Moved ...
38195         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38197         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38199         Moved ...
38200         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38202         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38204         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38205         folded into ...
38206         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38207         * sysdeps/unix/sysv/linux/s390/Versions
38208         (libpthread: GLIBC_2.19): New version set.
38209         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38210         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38211         (librt: GLIBC_2.3.3): New version set.
38212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38213         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38214         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38215         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38216         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38217         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38218         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38219         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38220         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38221         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38222         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38223         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38224         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38225         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38226         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38227         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38228         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38229         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38230         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38231         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38232         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38233         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38234         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38235         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38236         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38237         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38238         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38239         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38240         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38241         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38242         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38243         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38245         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38246         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38247         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38248         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38249         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38250         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38251         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38252         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38253         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38254         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38255         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38256         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38258         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38259         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38260         (__libc_vfork): Define the function under this name.
38261         [!NOT_IN_libc] (__vfork): Make this an alias.
38262         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38264         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38265         (__libc_vfork): Define the function under this name.
38266         [!NOT_IN_libc] (__vfork): Make this an alias.
38267         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38268         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38269         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38270         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38271         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38272         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38274         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38275         code that was previously under [RESET_PID].
38276         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38277         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38278         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38280         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38281         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38282         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38283         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38284         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38285         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38286         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38287         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38288         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38289         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38290         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38291         Moved ...
38292         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38293         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38294         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38295         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38296         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38297         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38298         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38299         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38300         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38301         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38302         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38303         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38304         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38305         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38306         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38307         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38308         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38309         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38310         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38311         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38312         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38313         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38314         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38315         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38316         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38317         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38318         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38319         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38320         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38322 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38324         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38325         that was previously under [RESET_PID].
38326         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38328 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38330         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38331         not undefine and redefine.
38332         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38333         [O_CLOEXEC]: Make code unconditional.
38334         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38335         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38336         <kernel-features.h>.
38337         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38338         conditional variable definition.
38339         (shm_open) [O_CLOEXEC]: Make code unconditional.
38340         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38341         code.
38343         * configure.ac (USE_REGPARMS): Don't define here.
38344         * configure: Regenerated.
38345         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38346         * sysdeps/i386/configure: Regenerated.
38348         * nptl/createthread.c: Don't include kernel-features.h.
38349         * nptl/pthread_cancel.c: Likewise.
38350         * nptl/pthread_condattr_setclock.c: Likewise.
38351         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38352         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38353         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38354         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38355         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38356         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38357         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38360         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38361         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38362         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38363         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38364         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38365         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38366         * nscd/gai.c: Likewise.
38367         * nss/nss_db/db-open.c: Likewise.
38368         * sysdeps/generic/ldsodefs.h: Likewise.
38369         * sysdeps/sh/nptl/tls.h: Likewise.
38370         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38371         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38372         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38373         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38374         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38375         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38376         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38377         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38378         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38379         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38380         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38381         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38382         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38383         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38384         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38385         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38386         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38387         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38388         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38389         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38390         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38391         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38392         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38393         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38394         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38396         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38398         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38399         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38400         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38401         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38402         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38403         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38404         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38405         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38406         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38407         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38408         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38409         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38410         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38411         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38412         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38413         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38414         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38415         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38416         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38417         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38418         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38419         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38420         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38421         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38422         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38423         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38424         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38425         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38426         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38427         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38431         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38450         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38451         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38452         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38453         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38454         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38455         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38456         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38457         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38458         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38459         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38460         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38461         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38462         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38463         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38464         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38465         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38466         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38467         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38468         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38469         * sysdeps/unix/sysv/linux/system.c: Likewise.
38470         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38471         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38472         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38473         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38474         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38475         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38476         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38478         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38479         * configure: Regenerated.
38480         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38482         * configure.ac (base_machine): Do not set specially for particular
38483         machines here.
38484         * configure: Regenerated.
38485         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38486         settings from configure.ac.
38487         * sysdeps/i386/preconfigure: New file.
38488         * sysdeps/s390/preconfigure: Likewise.
38489         * sysdeps/sh/preconfigure: Likewise.
38490         * sysdeps/sparc/preconfigure: Likewise.
38492 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38494         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38495         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38496         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38497         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38498         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38499         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38500         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38501         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38502         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38503         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38504         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38505         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38506         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38507         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38508         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38509         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38510         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38511         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38512         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38514         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38515         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38516         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38517         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38518         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38519         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38520         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38521         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38522         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38523         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38524         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38525         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38526         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38527         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38528         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38529         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38530         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38531         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38532         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38533         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38534         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38535         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38536         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38537         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38538         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38539         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38540         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38541         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38542         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38543         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38544         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38545         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38546         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38547         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38548         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38549         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38550         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38551         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38553         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38554         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38555         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38556         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38557         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38558         Moved ...
38559         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38560         ... here.
38561         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38562         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38563         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38564         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38565         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38566         Moved ...
38567         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38568         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38569         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38570         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38571         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38572         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38573         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38574         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38575         Moved ...
38576         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38577         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38578         Moved ...
38579         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38581         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38582         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38583         Moved ...
38584         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38585         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38586         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38587         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38588         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38590         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38591         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38592         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38593         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38594         Moved ...
38595         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38596         ... here.
38597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38598         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38599         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38600         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38601         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38602         Moved ...
38603         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38604         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38605         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38606         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38607         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38608         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38609         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38610         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38611         Moved ...
38612         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38614         Moved ...
38615         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38616         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38617         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38618         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38619         Moved ...
38620         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38621         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38622         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38623         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38624         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38626 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38628         * timezone/checktab.awk: Update from tzcode 2014e.
38629         * timezone/private.h: Likewise.
38630         * timezone/tzfile.h: Likewise.
38631         * timezone/zdump.c: Likewise.
38632         * timezone/zic.c: Likewise.
38634         * sysdeps/unix/sysv/linux/kernel-features.h
38635         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38636         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38637         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38638         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38639         Remove conditional code.
38641 2014-06-25  Will Newton  <will.newton@linaro.org>
38643         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38644         (_dl_arm_cap_flags): Add HWCAP2 values.
38645         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38646         (_DL_HWCAP_COUNT): Increase to 37.
38647         (_DL_HWCAP_LAST): New define.
38648         (_DL_HWCAP2_LAST): New define.
38649         (_dl_procinfo): Add support for printing
38650         AT_HWCAP2 entries.
38651         (_dl_string_hwcap): Use _dl_hwcap_string.
38653 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38657 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38659         * README: Do not mention ports directory.
38661         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38662         Remove macro.
38663         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38664         <kernel-features.h>.
38665         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38666         conditional variable definition.
38667         (__futimes): Update comment.
38668         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38669         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38671         [BZ #16560]
38672         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38673         arguments close to 0.
38674         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38675         Likewise.
38676         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38677         Likewise.
38678         * math/auto-libm-test-in: Add more tests of exp10.
38679         * math/auto-libm-test-out: Regenerated.
38680         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38682         * sysdeps/unix/sysv/linux/kernel-features.h
38683         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38684         * sysdeps/unix/sysv/linux/readv.c: Do not include
38685         <kernel-features.h>.
38686         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38687         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38688         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38689         unconditional.
38690         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38691         conditional code.
38692         * sysdeps/unix/sysv/linux/writev.c: Do not include
38693         <kernel-features.h>.
38694         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38695         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38696         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38697         unconditional.
38698         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38699         conditional code.
38701 2014-06-25  Will Newton  <will.newton@linaro.org>
38703         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38704         comment changes throughout the file.  Remove checks
38705         for HAVE_*_H definitions that are not required.
38706         (__gen_tempname): Call abort if an unknown kind value is
38707         passed.
38709 2014-06-25  Andreas Schwab  <schwab@suse.de>
38711         [BZ #17086]
38712         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38713         scalbln, scalblnf, scalblnl in libc.
38715 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
38717         [BZ #17086]
38718         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38719         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38720         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38722 2014-06-24  Roland McGrath  <roland@hack.frob.com>
38724         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38725         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38726         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38727         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38728         Update #include.
38729         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38730         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38731         Update #include.
38732         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38733         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38734         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38735         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38736         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38737         * sysdeps/x86/bits/pthreadtypes.h: ... here.
38738         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38739         * sysdeps/x86/bits/semaphore.h: ... here.
38740         * sysdeps/x86/nptl/elide.h: Moved ...
38741         * sysdeps/x86/elide.h: ... here.
38742         * sysdeps/x86_64/nptl/Implies: File removed.
38743         * sysdeps/i386/nptl/Implies: File removed.
38745 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
38747         [BZ #16539]
38748         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38749         return the argument for normal arguments with exponent below -64.
38750         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38751         Likewise.
38752         * math/auto-libm-test-in: Add another test of expm1.
38753         * math/auto-libm-test-out: Regenerated.
38755         [BZ #16287]
38756         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38757         calling __erfcl for arguments at least 16.
38758         * math/auto-libm-test-in: Add more tests of erf.
38759         * math/auto-libm-test-out: Regenerated.
38761         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38762         individual architectures.
38763         * sysdeps/unix/sysv/linux/configure: Regenerated.
38764         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38765         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38766         * sysdeps/unix/sysv/linux/powerpc/configure.ac
38767         (ldd_rewrite_script): Define variable.
38768         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
38770         file.
38771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
38772         generated file.
38773         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
38774         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
38775         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
38776         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
38777         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
38778         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
38779         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
38780         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
38782 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38784         [BZ #17084]
38785         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
38786         Rename member __data.d to __data.__elision_data.
38788 2014-06-24  Wilco  <wdijkstr@arm.com>
38790         * NEWS: Add 16918 to fixed bug list.
38792 2014-06-24  Wilco  <wdijkstr@arm.com>
38794         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
38796 2014-06-24  Wilco  <wdijkstr@arm.com>
38798         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
38799         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
38800         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
38801         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
38802         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
38803         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
38804         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
38805         Use _FPU_MASK_RM.
38807 2014-06-24  Wilco  <wdijkstr@arm.com>
38809         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
38811 2014-06-24  Wilco  <wdijkstr@arm.com>
38813         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
38814         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
38815         * sysdeps/arm/fesetround.c (fesetround): Remove space.
38816         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
38818 2014-06-24  Wilco  <wdijkstr@arm.com>
38820         [BZ #16918]
38821         * sysdeps/arm/feupdateenv.c (feupdateenv):
38822         Rewrite to reduce FPSCR accesses and fix return value.
38824 2014-06-24  Wilco  <wdijkstr@arm.com>
38826         * sysdeps/arm/fclrexcpt.c (feclearexcept):
38827         Optimize to avoid unnecessary FPSCR writes.
38828         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
38829         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
38830         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
38831         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
38833 2014-06-24  Wilco  <wdijkstr@arm.com>
38835         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
38836         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
38837         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
38838         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
38839         Call libc_fetestexcept_vfp.
38840         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
38841         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
38842         __SOFTFP__ ifdef so that they can be built for softfp.
38844 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38846         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
38847         argument type signed char.
38849         * Makerules (check-abi): Dump diff of symlist if the test
38850         fails.
38852 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38854         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
38855         using abort.
38857         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
38858         Remove unused variable ST.
38860 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
38862         [BZ #16354]
38863         [BZ #17061]
38864         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
38865         small arguments before calling __expm1.
38866         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
38867         small arguments before calling __expm1f.
38868         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
38869         small arguments before calling __expm1l.
38870         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
38871         Likewise.
38872         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
38873         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
38874         spurious underflow for some cosh tests.
38875         * math/auto-libm-test-out: Regenerated.
38876         * sysdeps/i386/fpu/libm-test-ulps: Update.
38878         [BZ #17050]
38879         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
38880         (__ieee754_y1): Set errno if return value overflows.
38881         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
38882         (__ieee754_y1f): Set errno if return value overflows.
38883         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
38884         (__ieee754_y1l): Set errno if return value overflows.
38885         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
38886         (__ieee754_y1l): Set errno if return value overflows.
38887         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
38888         * math/auto-libm-test-out: Regenerated.
38890         * math/gen-auto-libm-tests.c: Document use of
38891         ignore-zero-inf-sign.
38892         (input_flag_type): Add value flag_ignore_zero_inf_sign.
38893         (input_flags): Add ignore-zero-inf-sign.
38894         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
38895         * math/gen-libm-test.pl (generate_testfile): Handle
38896         ignore-zero-inf-sign.
38897         * math/auto-libm-test-in: Mark some cpow tests with
38898         ignore-zero-inf-sign and some with xfail-rounding.
38899         * math/auto-libm-test-out: Regenerated.
38900         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
38901         * sysdeps/i386/fpu/libm-test-ulps: Update.
38902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38904         [BZ #16315]
38905         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
38906         overflowing or underflowing operations take place with sign of
38907         result.
38908         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
38909         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
38910         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
38911         (__ieee754_pow): Recompute overflowing and underflowing results in
38912         original rounding mode.
38913         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
38914         (__powl_helper): Allow negative argument X and scale negated value
38915         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
38916         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
38917         overflowing or underflowing operations take place with sign of
38918         result.
38919         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
38920         Include <math.h>.
38921         * math/auto-libm-test-in: Add more tests of pow.
38922         * math/auto-libm-test-out: Regenerated.
38923         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
38924         (pow_tonearest_test_data): Remove.
38925         (pow_test_tonearest): Likewise.
38926         (pow_towardzero_test_data): Likewise.
38927         (pow_test_towardzero): Likewise.
38928         (pow_downward_test_data): Likewise.
38929         (pow_test_downward): Likewise.
38930         (pow_upward_test_data): Likewise.
38931         (pow_test_upward): Likewise.
38932         (main): Don't call removed functions.
38933         * sysdeps/i386/fpu/libm-test-ulps: Update.
38934         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38936 2014-06-23  Roland McGrath  <roland@hack.frob.com>
38938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
38939         Moved ...
38940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
38941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38942         Moved ...
38943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
38944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
38945         Moved ...
38946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
38947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
38948         Moved ...
38949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
38950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
38951         File removed.
38952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
38953         File removed.
38954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
38955         File removed.
38956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
38957         File removed.
38958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
38959         File removed.
38960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
38961         File removed.
38962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
38963         File removed.
38964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
38965         File removed.
38966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
38967         File removed.
38968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
38969         File removed.
38970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
38971         File removed.
38972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
38973         File removed.
38974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
38975         Moved ...
38976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
38977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
38978         Moved ...
38979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
38980         ... here.
38981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
38982         Moved ...
38983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
38984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
38985         Moved ...
38986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
38987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
38988         Moved ...
38989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
38990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
38991         Moved ...
38992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
38993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
38994         Moved ...
38995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
38996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
38997         Moved ...
38998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
38999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39000         Moved ...
39001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39004         ... here.
39005         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39006         Moved ...
39007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39009         Moved ...
39010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39011         ... here.
39012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39013         Moved ...
39014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39015         ... here.
39016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39017         Moved ...
39018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39019         ... here.
39020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39021         Moved ...
39022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39024         Moved ...
39025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39029         Moved ...
39030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39031         ... here.
39032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39033         Moved ...
39034         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39035         ... here.
39036         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39037         Moved ...
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39040         Moved ...
39041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39043         Moved ...
39044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39046         Moved ...
39047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39049         Moved ...
39050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39051         ... here.
39052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39053         Moved ...
39054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39056         Moved ...
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39059         Moved ...
39060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39062         Moved ...
39063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39067         Moved ...
39068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39070         Moved ...
39071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39073         Moved ...
39074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39075         ... here.
39076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39077         Moved ...
39078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39079         ... here.
39080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39081         Moved ...
39082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39083         ... here.
39084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39085         Moved ...
39086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39088         Moved ...
39089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39091         Moved ...
39092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39094         Moved ...
39095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39096         ... here.
39097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39098         Moved ...
39099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39100         ... here.
39101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39102         Moved ...
39103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39104         ... here.
39105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39106         Moved ...
39107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39109         Moved ...
39110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39112 2014-06-23  Will Newton  <will.newton@linaro.org>
39113             Wilco  <wdijkstr@arm.com>
39115         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39116         implementation.  Include get-rounding-mode.h.
39117         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39118         [!libc_feholdsetround_noex_ctx]: Define
39119         libc_feholdsetround_noex_ctx.
39120         [!libc_feholdsetround_noexf_ctx]: Define
39121         libc_feholdsetround_noexf_ctx.
39122         [!libc_feholdsetround_noexl_ctx]: Define
39123         libc_feholdsetround_noexl_ctx.
39124         (libc_feholdsetround_ctx): New function.
39125         (libc_feresetround_ctx): New function.
39126         (libc_feholdsetround_noex_ctx): New function.
39127         (libc_feresetround_noex_ctx): New function.
39129 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39131         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39132         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39133         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39134         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39135         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39136         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39138         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39139         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39141         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39142         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39143         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39144         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39145         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39146         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39147         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39148         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39149         Moved ...
39150         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39151         ... here.
39152         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39153         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39154         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39155         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39156         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39157         Moved ...
39158         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39159         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39160         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39161         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39162         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39163         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39164         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39165         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39166         Moved ...
39167         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39168         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39169         Moved ...
39170         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39171         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39172         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39173         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39174         Moved ...
39175         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39176         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39177         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39178         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39179         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39180         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39181         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39182         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39183         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39184         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39185         Moved ...
39186         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39187         ... here.
39188         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39189         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39190         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39191         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39192         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39193         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39194         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39195         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39196         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39197         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39198         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39199         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39200         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39201         Moved ...
39202         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39203         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39204         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39205         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39206         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39207         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39208         Moved ...
39209         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39210         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39211         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39212         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39213         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39215         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39216         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39217         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39218         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39219         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39220         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39221         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39222         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39223         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39224         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39225         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39226         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39227         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39228         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39229         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39230         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39231         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39232         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39233         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39234         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39235         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39236         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39237         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39238         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39239         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39240         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39241         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39242         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39244 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39246         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39247         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39248         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39249         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39250         (IPV6_PMTUDISC_INTERFACE): Likewise.
39251         (IPV6_PMTUDISC_OMIT): Likewise.
39253 2014-06-23  Andreas Schwab  <schwab@suse.de>
39255         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39256         Remove unused errout label.
39258 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39260         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39261         macro: hardware supports Vector Crypto instructions.
39263 2014-06-23  Will Newton  <will.newton@linaro.org>
39265         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39266         rather than __builtin_expect.
39268         * elf/dl-lookup.c (undefined_msg): Remove variable.
39269         (_dl_lookup_symbol_x): Replace undefined_msg with string
39270         literal.
39272         * elf/dl-lookup.c (do_lookup_unique): New function.
39273         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39274         to a separate function.
39276 2014-06-23  Andreas Schwab  <schwab@suse.de>
39278         [BZ #17079]
39279         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39280         before reading the next line.
39282 2014-06-23  Will Newton  <will.newton@linaro.org>
39284         * test-skeleton.c (signal_handler): Use printf and %m
39285         rather than perror.  Use printf rather than fprintf to
39286         stderr.  Use puts rather than fputs to stderr.
39287         (main): Likewise.
39289 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39291         * nscd/nscd.c (thread_info_t): Remove typedef.
39292         (thread_info): Remove variable.
39294 2014-06-21  Allan McRae  <allan@archlinux.org>
39296         * NEWS: Mention CVE-2014-4043.
39298 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39300         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39301         * nptl/smp.h: ... here.
39303         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39305         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39306         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39307         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39308         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39310         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39311         * nptl/stack-aliasing.h: New file.
39312         * sysdeps/i386/i686/stack-aliasing.h: New file.
39313         * sysdeps/i386/i686/nptl/Makefile: File removed.
39314         * sysdeps/x86_64/stack-aliasing.h: New file.
39315         * sysdeps/x86_64/nptl/Makefile
39316         (CFLAGS-pthread_create.c): Variable removed.
39318         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39319         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39320         old file.
39321         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39322         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39323         old file.
39325 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39327         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39328         (__ASSUME_SIGFRAME_V2): Remove macro.
39329         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39330         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39331         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39332         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39333         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39334         Declare as function.  Remove conditional macro definitions.
39335         (__default_rt_sa_restorer): Likewise.
39336         (__default_sa_restorer_v1): Remove declaration.
39337         (__default_sa_restorer_v2): Likewise.
39338         (__default_rt_sa_restorer_v1): Likewise.
39339         (__default_rt_sa_restorer_v2): Likewise.
39340         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39341         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39342         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39344 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39346         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39347         (libpthread-routines): Add sysdep.
39348         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39349         * sysdeps/unix/sysv/linux/sparc/Versions
39350         (libpthread: GLIBC_2.3.3): New version set.
39351         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39352         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39353         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39354         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39355         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39356         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39357         Moved ...
39358         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39359         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39360         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39361         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39362         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39363         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39364         * sysdeps/sparc/nptl/sem_init.c: ... here.
39365         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39366         * sysdeps/sparc/nptl/sem_post.c: ... here.
39367         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39368         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39369         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39370         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39371         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39372         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39373         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39374         (libpthread-routines): Add cpu_relax.
39375         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39376         File removed.
39377         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39378         (librt: GLIBC_2.3.3): New version set.
39379         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39380         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39381         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39382         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39383         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39385         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39387         Moved ...
39388         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39389         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39390         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39391         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39392         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39393         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39394         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39396         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39398         Moved ...
39399         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39400         Update #include.
39401         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39402         Moved ...
39403         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39404         Update #include.
39405         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39406         Moved ...
39407         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39408         Update #include.
39409         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39410         Moved ...
39411         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39412         Update #include.
39413         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39414         Moved ...
39415         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39416         Update #include.
39417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39418         Moved ...
39419         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39420         Update #include.
39421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39422         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39423         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39424         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39427         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39428         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39429         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39430         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39432         Moved ...
39433         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39434         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39435         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39436         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39437         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39439 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39441         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39442         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39443         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39444         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39445         * nscd/nscd.c: Likewise.
39446         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39447         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39448         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39449         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39451         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39452         <kernel-features.h>.
39453         (init_mq_netlink): Remove conditional have_sock_cloexec
39454         definitions.  Remove code conditional on have_sock_cloexec < 0.
39455         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39456         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39457         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39458         <kernel-features.h>.
39459         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39460         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39462 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39465         Add tests for memset_chk and memset.
39467         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39468         with AVX2_Usable.
39470 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39472         [BZ #16046]
39473         * elf/tst-dl-iter-static.c: New file.
39474         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39476         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39477         error.
39479 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39481         * sysdeps/unix/sysv/linux/kernel-features.h
39482         (__ASSUME_F_GETOWN_EX): Remove macro.
39483         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39484         <kernel-features.h>.
39485         (miss_F_GETOWN_EX): Remove variable or macro.
39486         (do_fcntl): Do not check miss_F_GETOWN_EX.
39487         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39489         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39490         Remove macro.
39491         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39492         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39493         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39495         * sysdeps/unix/sysv/linux/kernel-features.h
39496         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39497         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39498         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39499         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39501 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39503         [BZ #17075]
39504         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39505         Fix calculation of the symbol's value.
39506         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39507         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39508         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39509         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39510         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39511         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39512         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39513         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39514         (modules-names): Add `tst-armtlsdescmod',
39515         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39516         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39517         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39518         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39519         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39520         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39521         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39522         ($(objpfx)tst-armtlsdescloc): New dependency.
39523         ($(objpfx)tst-armtlsdescextnow): Likewise.
39524         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39525         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39526         TLS scheme support.
39527         * sysdeps/arm/configure: Regenerate.
39529 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39531         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39532         (__atfct_seterrno_2): Likewise.
39533         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39534         <kernel-features.h>.
39535         (__ASSUME_ATFCTS): Do not undefine and redefine.
39536         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39537         (__have_atfcts): Remove conditional definition.
39538         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39539         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39540         unreachable if [__ASSUME_ATFCTS].
39541         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39542         not undefine and redefine.
39543         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39544         <kernel-features.h>.
39545         (faccessat) [__NR_faccessat]: Make code unconditional.
39546         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39547         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39548         <kernel-features.h>.
39549         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39550         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39551         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39552         <kernel-features.h>.
39553         (fchownat) [__NR_fchownat]: Make code unconditional.
39554         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39555         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39556         <kernel-features.h>.
39557         (futimesat) [__NR_futimesat]: Make code unconditional.
39558         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39559         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39560         <kernel-features.h>.
39561         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39562         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39563         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39564         <kernel-features.h>.
39565         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39566         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39567         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39568         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39569         <kernel-features.h>.
39570         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39571         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39572         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39573         <kernel-features.h>.
39574         (linkat) [__NR_linkat]: Make code unconditional.
39575         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39576         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39577         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39578         <kernel-features.h>.
39579         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39580         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39581         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39582         <kernel-features.h>.
39583         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39584         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39585         * sysdeps/unix/sysv/linux/openat.c: Do not include
39586         <kernel-features.h>.
39587         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39588         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39589         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39590         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39591         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39592         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39593         <kernel-features.h>.
39594         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39595         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39596         result of INLINE_SYSCALL directly, not via int variable.
39597         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39598         <kernel-features.h>.
39599         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39600         (renameat) [__NR_renameat]: Make code unconditional.
39601         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39602         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39603         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39604         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39605         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39606         (__ASSUME_ATFCTS): Do not undefine and redefine.
39607         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39608         <kernel-features.h>.
39609         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39610         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39611         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39612         <kernel-features.h>.
39613         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39614         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39615         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39616         (__ASSUME_ATFCTS): Do not undefine and redefine.
39617         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39618         <kernel-features.h>.
39619         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39620         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39621         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39622         <kernel-features.h>.
39623         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39624         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39626 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39628         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39630 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39632         [BZ #17069]
39633         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39634         constructed tree before returning error.
39635         * posix/bug-regexp36.c: Expand test case.
39637 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39639         [BZ #6803]
39640         * math/libm-test.inc (scalbln_test_date):
39641         Add errno expectations.
39642         * math/w_scalblnf.c: New File.
39643         Add wrapper which checks for setting errno to ERANGE.
39644         Add weak_alias for corresponding scalbln function.
39645         * math/w_scalbln.c: Likewise.
39646         * math/w_scalblnl.c: Likewise.
39647         * math/Makefile (libm-calls): Add w_scalbln.
39648         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39649         Remove weak_alias for corresponding scalbln function.
39650         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39651         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39652         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39653         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39654         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39655         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39656         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39657         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39658         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39659         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39660         Remove long_double_symbol for scalblnl function in libm, libc.
39661         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39662         Add wrapper which checks for setting errno to ERANGE.
39663         Add long_double_symbol for scalblnl function in libm, libc.
39664         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39665         Remove long_double_symbol for scalblnl in libm.
39666         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39667         Add wrapper which checks for setting errno to ERANGE.
39668         Add long_double_symbol for scalblnl function in libm.
39669         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39670         Do not use wrapper because of own implementation.
39672 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39674         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39675         3 bytes for __pad1 for x32.
39676         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39678 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39679             H.J. Lu  <hongjiu.lu@intel.com>
39681         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39682         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39683         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39684         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39685         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39687 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39689         [BZ #17069]
39690         * posix/regcomp.c (parse_expression): Deallocate partially
39691         constructed tree before returning error.
39692         * posix/Makefile.c (tests): Add bug-regex36.
39693         (generated): Add bug-regex36.mtrace.
39694         (tests-special): Add $(objpfx)bug-regex36-mem.out
39695         (bug-regex36-ENV): New variable.
39696         ($(objpfx)bug-regex36-mem.out): New rule.
39697         * posix/bug-regex36.c: New file.
39699 2014-06-19  Will Newton  <will.newton@linaro.org>
39701         * malloc/malloc.c (systrim): If extra is zero then return
39702         early.
39704 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
39706         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39708 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
39710         * sysdeps/aarch64/strchr.S: New file.
39712 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39714         [BZ #17022]
39715         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39716         from arguments -2 or below.
39717         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39718         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39720 2014-06-18  Andreas Schwab  <schwab@suse.de>
39722         [BZ #17062]
39723         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39724         of a bracket expr not to run off the end of the string.
39725         * posix/Makefile (tests): Add tst-fnmatch3.
39726         * posix/tst-fnmatch3.c: New file.
39728 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
39730         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39731         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39732         [$(cross-compiling) = no]: Likewise.
39733         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39734         [$(cross-compiling) = no]: Likewise.
39736 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39738         [BZ #17031]
39739         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39740         double, adjusted for any remainder from the high double.
39741         * math/libm-test.inc (nearbyint): Add tests.
39742         (rint): Likewise.
39744 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39746         * nptl/sysdeps/powerpc/Makefile: Moved ...
39747         * sysdeps/powerpc/nptl/Makefile: ... here.
39748         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39749         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39750         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39751         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39752         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39753         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39754         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39755         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39756         * nptl/sysdeps/powerpc/tls.h: Moved ...
39757         * sysdeps/powerpc/nptl/tls.h: ... here.
39759 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
39761         [BZ #16681]
39762         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39763         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39764         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39765         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39766         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39767         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39768         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
39769         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
39770         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
39772 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
39774         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
39776 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
39778         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
39779         defined operator.
39781         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
39782         $TIMEOUTFACTOR.
39784 2014-06-16  Florian Weimer  <fweimer@redhat.com>
39786         [BZ #17058]
39787         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
39788         non-executed part of the test.
39790 2014-06-16  Andreas Schwab  <schwab@suse.de>
39792         * string/bits/string2.h (strdup, strndup): Update feature guard.
39794 2014-06-14  David S. Miller  <davem@davemloft.net>
39796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39798 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
39800         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
39801         that was previously under [RESET_PID].
39802         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
39804         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
39805         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
39806         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
39807         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
39808         (__libc_vfork): New strong alias.
39809         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
39811 2014-06-14 Andi Kleen  <ak@linux.intel.com>
39813         * sysdeps/generic/elide.h: New file.
39815 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
39817         * Makefile (installed-headers): Adjust path of pthread.h header.
39819 2014-06-13  Roland McGrath  <roland@hack.frob.com>
39821         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
39822         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
39823         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
39824         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
39826         * nptl/sysdeps/s390/Makefile: Moved ...
39827         * sysdeps/s390/nptl/Makefile: ... here.
39828         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
39829         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
39830         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
39831         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
39832         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
39833         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
39834         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
39835         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
39836         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
39837         * sysdeps/s390/nptl/pthreaddef.h: ... here.
39838         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
39839         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
39840         * nptl/sysdeps/s390/tls.h: Moved ...
39841         * sysdeps/s390/nptl/tls.h: ... here.
39843         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
39844         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
39846 2014-06-13  David S. Miller  <davem@davemloft.net>
39848         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
39849         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
39850         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
39851         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
39852         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
39853         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
39854         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
39855         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
39856         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
39857         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
39858         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
39859         Remove RESET_PID cpp guards.
39860         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
39861         Remove RESET_PID cpp guards.
39862         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
39864 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
39866         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
39867         __sp to uintptr_t.
39869 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39871         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
39872         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
39873         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
39874         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
39875         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
39876         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
39877         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
39878         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
39879         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
39880         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
39881         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
39882         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
39883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
39884         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
39885         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
39886         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
39887         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
39888         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
39889         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
39890         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
39892         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
39893         (pthread_rwlock_rdlock): Add elision.
39894         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
39895         (pthread_rwlock_wrlock): Add elision.
39896         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
39897         (pthread_rwlock_trywrlock): Add elision.
39898         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
39899         (pthread_rwlock_tryrdlock): Add elision.
39900         * nptl/pthread_rwlock_unlock.c: Include elide.h.
39901         (pthread_rwlock_tryrdlock): Add elision unlock.
39902         * nptl/sysdeps/pthread/pthread.h:
39903         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
39904         (PTHREAD_RWLOCK_INITIALIZER,
39905         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
39906         Handle new elision field.
39907         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
39908         * sysdeps/arm/nptl/bits/pthreadtypes.h
39909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39910         * sysdeps/sh/nptl/bits/pthreadtypes.h
39911         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39912         * sysdeps/tile/nptl/bits/pthreadtypes.h
39913         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39914         * sysdeps/a/nptl/bits/pthreadtypes.h
39915         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39916         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
39917         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39918         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
39919         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39920         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
39921         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39922         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
39923         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39924         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
39925         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39926         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
39927         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39928         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
39929         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39930         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
39931         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39932         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
39933         (elision_init): Set try_xbegin to zero when no RTM.
39934         * sysdeps/x86/nptl/bits/pthreadtypes.h
39935         (pthread_rwlock_t): Change __pad1 to __rwelision.
39936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
39938 2014-06-13  Andi Kleen  <ak@linux.intel.com>
39940         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
39941         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
39942         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
39943         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
39945 2014-06-13  Meador Inge  <meadori@codesourcery.com>
39947         [BZ #16996]
39948         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
39949         that the cached result has been set before returning it.
39951 2014-06-12  Roland McGrath  <roland@hack.frob.com>
39953         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
39954         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
39955         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
39956         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
39957         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
39958         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
39960         * nptl/sysdeps/sparc/Makefile: Moved ...
39961         * sysdeps/sparc/nptl/Makefile: ... here.
39962         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
39963         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
39964         * nptl/sysdeps/sparc/tls.h: Moved ...
39965         * sysdeps/sparc/nptl/tls.h: ... here.
39966         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
39967         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
39968         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
39969         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
39970         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
39971         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
39972         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
39973         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
39974         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
39975         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
39976         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
39977         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
39978         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
39979         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
39980         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
39981         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
39982         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
39983         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
39984         Update #include.
39985         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
39986         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
39987         Update #include.
39988         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
39989         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
39990         Update #include.
39991         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
39992         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
39993         Update #include.
39995         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
39997         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
39998         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40000         * sysdeps/pthread/posix-timer.h: Include <list.h>.
40001         (struct list_links): Type removed.
40002         (struct thread_node, struct timer_node): Replace struct list_links
40003         with struct list_head.
40004         (list_unlink_ip): Likewise.
40005         * sysdeps/pthread/timer_routines.c
40006         (timer_free_list, thread_free_list, thread_active_list): Likewise.
40007         (list_append, list_insbefore): Likewise.
40008         (list_init): Function removed.
40009         (thread_init, init_module): Use INIT_LIST_HEAD instead.
40010         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40011         * sysdeps/pthread/Makefile: ... here, new file.
40013         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40014         * sysdeps/nptl/Implies: ... here.
40015         * sysdeps/unix/sysv/linux/Implies: Add nptl.
40016         * nptl/sysdeps/pthread/list.h: Moved ...
40017         * include/list.h: ... here.
40018         * nptl/sysdeps/pthread/createthread.c: Moved ...
40019         * nptl/createthread.c: ... here.
40020         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40021         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40022         * nptl/pt-longjmp.c: ... here.
40023         * nptl/sysdeps/pthread/Makefile: Moved ...
40024         * sysdeps/nptl/Makefile: ... here.
40025         * nptl/sysdeps/pthread/Subdirs: Moved ...
40026         * sysdeps/nptl/Subdirs: ... here.
40027         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40028         * sysdeps/nptl/aio_misc.h: ... here.
40029         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40030         * sysdeps/nptl/bits/libc-lock.h: ... here.
40031         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40032         * sysdeps/nptl/bits/libc-lockP.h: ... here.
40033         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40034         * sysdeps/nptl/bits/stdio-lock.h: ... here.
40035         * nptl/sysdeps/pthread/configure: Moved ...
40036         * sysdeps/nptl/configure: ... here.
40037         * nptl/sysdeps/pthread/configure.ac: Moved ...
40038         * sysdeps/nptl/configure.ac: ... here.
40039         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40040         * sysdeps/nptl/gai_misc.h: ... here.
40041         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40042         * sysdeps/nptl/librt-cancellation.c: ... here.
40043         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40044         * sysdeps/nptl/malloc-machine.h: ... here.
40045         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40046         * sysdeps/nptl/pthread-functions.h: ... here.
40047         * nptl/sysdeps/pthread/pthread.h: Moved ...
40048         * sysdeps/nptl/pthread.h: ... here.
40049         * nptl/sysdeps/pthread/setxid.h: Moved ...
40050         * sysdeps/nptl/setxid.h: ... here.
40051         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40052         * sysdeps/nptl/sigfillset.c: ... here.
40053         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40054         * sysdeps/nptl/tcb-offsets.h: ... here.
40055         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40056         * sysdeps/nptl/tst-mqueue8x.c: ... here.
40057         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40058         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40059         * nptl/sysdeps/pthread/allocalim.h: Moved ...
40060         * sysdeps/pthread/allocalim.h: ... here.
40061         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40062         * sysdeps/pthread/bits/sigthread.h: ... here.
40063         * nptl/sysdeps/pthread/flockfile.c: Moved ...
40064         * sysdeps/pthread/flockfile.c: ... here.
40065         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40066         * sysdeps/pthread/ftrylockfile.c: ... here.
40067         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40068         * sysdeps/pthread/funlockfile.c: ... here.
40069         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40070         * sysdeps/pthread/posix-timer.h: ... here.
40071         * nptl/sysdeps/pthread/timer_create.c: Moved ...
40072         * sysdeps/pthread/timer_create.c: ... here.
40073         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40074         * sysdeps/pthread/timer_delete.c: ... here.
40075         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40076         * sysdeps/pthread/timer_getoverr.c: ... here.
40077         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40078         * sysdeps/pthread/timer_gettime.c: ... here.
40079         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40080         * sysdeps/pthread/timer_routines.c: ... here.
40081         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40082         * sysdeps/pthread/timer_settime.c: ... here.
40083         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40084         * sysdeps/pthread/tst-timer.c: ... here.
40085         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40086         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40088         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40089         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40091         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40092         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40093         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40094         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40095         Update #include target.
40096         * nptl/sysdeps/i386/i686/Makefile: Moved ...
40097         * sysdeps/i386/i686/nptl/Makefile: ... here.
40098         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40099         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40100         Update #include target.
40101         * nptl/sysdeps/i386/i686/tls.h: Moved ...
40102         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
40103         * nptl/sysdeps/i386/Makefile: Moved ...
40104         * sysdeps/i386/nptl/Makefile: ... here.
40105         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40106         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40107         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40108         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40109         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40110         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40111         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40112         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40113         * sysdeps/i386/nptl/pthreaddef.h: ... here.
40114         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40115         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40116         * nptl/sysdeps/i386/tls.h: Moved ...
40117         * sysdeps/i386/nptl/tls.h: ... here.
40119         * sysdeps/sh/Makefile [$(subdir) = csu]
40120         (gen-as-const-headers): Add tcb-offsets.sym.
40121         * nptl/sysdeps/sh/Makefile: File removed.
40122         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40123         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40124         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40125         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40126         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40127         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40128         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40129         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40130         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40131         * sysdeps/sh/nptl/pthreaddef.h: ... here.
40132         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40133         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40134         * nptl/sysdeps/sh/tls.h: Moved ...
40135         * sysdeps/sh/nptl/tls.h: ... here.
40136         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40137         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40138         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40139         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40140         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40141         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40142         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40143         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40144         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40145         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40146         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40147         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40148         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40149         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40150         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40151         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40152         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40153         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40154         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40155         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40156         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40157         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40158         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40159         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40160         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40161         Moved ...
40162         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40163         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40164         Moved ...
40165         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40166         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40167         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40168         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40169         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40170         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40171         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40172         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40173         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40174         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40175         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40176         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40177         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40178         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40179         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40180         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40181         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40182         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40183         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40185 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40187         * posix/spawn_faction_addopen.c: Include string.h.
40189 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40191         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40192         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40193         * nptl/sysdeps/x86_64/Makefile: Moved ...
40194         * sysdeps/x86_64/nptl/Makefile: ... here.
40195         * nptl/sysdeps/x86_64/configure: Moved ...
40196         * sysdeps/x86_64/nptl/configure: ... here.
40197         * nptl/sysdeps/x86_64/configure.ac: Moved ...
40198         * sysdeps/x86_64/nptl/configure.ac: ... here.
40199         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40200         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40201         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40202         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40203         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40204         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40205         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40206         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40207         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40208         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40209         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40210         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40211         * nptl/sysdeps/x86_64/tls.h: Moved ...
40212         * sysdeps/x86_64/nptl/tls.h: ... here.
40213         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40214         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40215         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40216         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40218         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40220 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40222         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40224 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
40226         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40227         type.
40228         [POSIX] (off_t): Likewise.
40229         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40230         [POSIX] (S_ISBLK): Require macro.
40231         [POSIX] (S_ISCHR): Likewise.
40232         [POSIX] (S_ISDIR): Likewise.
40233         [POSIX] (S_ISFIFO): Likewise.
40234         [POSIX] (S_ISREG): Likewise.
40235         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40236         optional-macro.
40237         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40238         type.
40239         [POSIX] (time_t): Likewise.
40240         [POSIX] (timer_t): Likewise.
40242 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40244         [BZ #17048]
40245         * posix/spawn_int.h (struct __spawn_action): Make the path string
40246         non-const to support deallocation.
40247         * posix/spawn_faction_addopen.c
40248         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40249         * posix/spawn_faction_destroy.c
40250         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40251         path in all spawn_do_open actions.
40252         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40253         posix_spawn_file_actions_addopen.
40255 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40257         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40258         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40259         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40260         conditional code always true.
40261         (__libc_vfork): New alias.
40263 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40265         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40266         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40268         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40270         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40271         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40273         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40274         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40276         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40277         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40279 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40281         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40282         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40283         multiarch strcmp for PPC64.
40284         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40285         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40286         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40287         multiarch optimizations.
40288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40289         (__libc_ifunc_impl_list): Likewise.
40291 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40293         * benchtests/scripts/validate_benchout.py: New script.
40294         * benchtests/Makefile (bench-func): Call it.
40295         * benchtests/scripts/benchout.schema.json: New file.
40297 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40299         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40300         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40301         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40302         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40303         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40304         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40305         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40306         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40307         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40308         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40309         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40310         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40311         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40312         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40313         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40314         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40316         Moved ...
40317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40318         ... here.
40319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40320         Moved ...
40321         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40323         Moved ...
40324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40325         ... here.
40326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40327         Moved ...
40328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40329         ... here.
40330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40331         Moved ...
40332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40334         Moved ...
40335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40336         ... here.
40337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40338         Moved ...
40339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40340         ... here.
40341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40342         Moved ...
40343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40345         Moved ...
40346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40347         ... here.
40348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40349         Moved ...
40350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40351         ... here.
40352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40353         Moved ...
40354         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40355         ... here.
40356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40357         Moved ...
40358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40360         Moved ...
40361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40362         ... here.
40363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40364         Moved ...
40365         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40366         ... here.
40367         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40368         Moved ...
40369         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40370         ... here.
40371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40372         Moved ...
40373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40375         Moved ...
40376         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40377         ... here.
40378         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40379         Moved ...
40380         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40381         ... here.
40382         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40383         Moved ...
40384         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40386         Moved ...
40387         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40388         ... here.
40389         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40390         Moved ...
40391         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40393         Moved ...
40394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40396         Moved ...
40397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40398         ... here.
40399         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40400         Moved ...
40401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40402         ... here.
40403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40404         Moved ...
40405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40406         ... here.
40407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40408         Moved ...
40409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40411         Moved ...
40412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40413         ... here.
40414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40415         Moved ...
40416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40417         ... here.
40418         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40419         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40420         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40421         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40422         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40423         Moved ...
40424         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40425         ... here.
40426         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40427         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40428         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40429         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40430         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40431         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40432         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40433         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40434         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40435         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40436         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40437         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40438         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40439         Moved ...
40440         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40441         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40442         Moved ...
40443         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40444         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40445         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40446         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40447         Moved ...
40448         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40449         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40450         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40451         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40452         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40453         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40454         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40456 2014-06-10  Wilco  <wdijkstr@arm.com>
40458         * math/test-fenv-return.c: New file.
40459         * math/Makefile: Add new test test-fenv-return.
40461 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40463         [BZ #17042]
40464         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40465         when x - 1 is zero.
40466         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40467         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40468         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40469         0.0L for an argument of 1.0L.
40470         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40471         Likewise.
40472         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40473         value when x - 1 is zero.
40474         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40475         * sysdeps/i386/fpu/libm-test-ulps: Update.
40476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40478 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40480         [BZ #15119]
40481         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40483 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40485         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40486         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40488 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40490         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40491         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40493         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40494         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40496         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40497         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40499         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40500         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40502         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40503         if not already defined.
40504         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40505         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40506         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40507         (TLS_INIT_TP): Use it.
40508         (TLS_DEFINE_INIT_TP): New macro.
40509         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40511 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40513         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40514         constant.
40515         [POSIX] (IXANY): Likewise.
40516         [POSIX] (OLCUC): Likewise.
40517         [POSIX || POSIX2008] (CBAUD): Do not allow.
40518         [POSIX || POSIX2008] (DEFECHO): Likewise.
40519         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40520         [POSIX || POSIX2008] (ECHOKE): Likewise.
40521         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40522         [POSIX || POSIX2008] (EXTA): Likewise.
40523         [POSIX || POSIX2008] (EXTB): Likewise.
40524         [POSIX || POSIX2008] (FLUSHO): Likewise.
40525         [POSIX || POSIX2008] (LOBLK): Likewise.
40526         [POSIX || POSIX2008] (PENDIN): Likewise.
40527         [POSIX || POSIX2008] (SWTCH): Likewise.
40528         [POSIX || POSIX2008] (VDISCARD): Likewise.
40529         [POSIX || POSIX2008] (VDSUSP): Likewise.
40530         [POSIX || POSIX2008] (VLNEXT): Likewise.
40531         [POSIX || POSIX2008] (VREPRINT): Likewise.
40532         [POSIX || POSIX2008] (VSTATUS): Likewise.
40533         [POSIX || POSIX2008] (VWERASE): Likewise.
40534         (B*): Change to B[0123456789]*.
40535         * conform/data/time.h-data [POSIX || UNIX98]
40536         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40537         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40538         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40539         [POSIX] (tm_*): Do not allow.
40541 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40543         * Makefile (install): Don't set LANGUAGE.
40544         * Makefile.in (install): Likewise.
40545         * assert/Makefile (test-assert-ENV): Remove variable.
40546         (test-assert-perr-ENV): Likewise.
40547         * elf/Makefile (neededtest4-ENV): Likewise.
40548         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40549         [$(cross-compiling) = no]: Don't set LANGUAGE.
40550         * io/ftwtest-sh (LANG): Remove variable.
40551         * libio/Makefile (tst-widetext-ENV): Likewise.
40552         * manual/install.texi (Running make install): Don't refer to
40553         environment settings for make install.
40554         * INSTALL: Regenerated.
40555         * nptl/tst-tls6.sh: Don't set LANG.
40556         * posix/globtest.sh (LANG): Remove variable.
40557         * string/Makefile (tester-ENV): Likewise.
40558         (inl-tester-ENV): Likewise.
40559         (noinl-tester-ENV): Likewise.
40560         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40561         [$(cross-compiling) = no]: Don't set LANGUAGE.
40562         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40563         without explicit environment settings.
40565 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40567         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40568         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40569         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40570         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40572 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40574         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40575         other files in the crypt directory.
40576         * crypt/crypt.c: Remove duplicate includes.
40577         * crypt/crypt-entry.c: Likewise.
40578         * crypt/crypt_util.c: Likewise.
40580 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40582         * Makeconfig (run-program-env): New variable.
40583         (run-program-prefix-before-env): Likewise.
40584         (run-program-prefix-after-env): Likewise.
40585         (run-program-prefix): Define in terms of new variables.
40586         (built-program-cmd-before-env): New variable.
40587         (built-program-cmd-after-env): Likewise.
40588         (built-program-cmd): Define in terms of new variables.
40589         (test-program-prefix-before-env): New variable.
40590         (test-program-prefix-after-env): Likewise.
40591         (test-program-prefix): Define in terms of new variables.
40592         (test-program-cmd-before-env): New variable.
40593         (test-program-cmd-after-env): Likewise.
40594         (test-program-cmd): Define in terms of new variables.
40595         * Rules (make-test-out): Use $(run-program-env).
40596         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40597         (help): Do not mention environment variables.  Mention
40598         --timeoutfactor option.
40599         (timeoutfactor): New variable.
40600         (blacklist_exports): Remove function.
40601         (exports): Remove variable.
40602         (command): Do not include ${exports}.
40603         * manual/install.texi (Configuring and compiling): Do not mention
40604         test wrappers preserving environment variables.  Mention that last
40605         assignment to a variable must take precedence.
40606         * INSTALL: Regenerated.
40607         * benchtests/Makefile (run-bench): Use $(run-program-env).
40608         * catgets/Makefile ($(objpfx)test1.cat): Use
40609         $(built-program-cmd-before-env), $(run-program-env) and
40610         $(built-program-cmd-after-env).
40611         ($(objpfx)test2.cat): Do not specify environment variables
40612         explicitly.
40613         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40614         $(run-program-env) and $(built-program-cmd-after-env).
40615         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40616         $(run-program-env) and $(test-program-cmd-after-env).
40617         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40618         explicitly.
40619         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40620         run_program_env and test_program_cmd_after_env arguments.
40621         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40622         * elf/tst-pathopt.sh: Use run_program_env argument.
40623         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40624         $(test-wrapper-env) and $(run-program-env).
40625         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40626         run_program_env arguments.
40627         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40628         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40629         $(test-program-prefix-before-env), $(run-program-env) and
40630         $(test-program-prefix-after-env).
40631         ($(objpfx)tst-gettext2.out): Likewise.
40632         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40633         run_program_env and test_program_prefix_after_env arguments.
40634         * intl/tst-gettext2.sh: Likewise.
40635         * intl/tst-gettext4.sh: Do not set environment variables
40636         explicitly.
40637         * intl/tst-gettext6.sh: Likewise.
40638         * intl/tst-translit.sh: Likewise.
40639         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40640         $(test-program-prefix-before-env), $(run-program-env) and
40641         $(test-program-prefix-after-env).
40642         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40643         run_program_env and test_program_prefix_after_env arguments.
40644         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40645         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40646         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40647         explicitly with each use of ${test_wrapper_env}.
40648         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40649         $(test-program-prefix-before-env), $(run-program-env) and
40650         $(test-program-prefix-after-env).
40651         * posix/tst-getconf.sh: Do not set environment variables
40652         explicitly.
40653         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40654         run_program_env and test_program_prefix_after_env arguments.
40655         * stdio-common/tst-printf.sh: Do not set environment variables
40656         explicitly.
40657         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40658         $(test-program-prefix-before-env), $(run-program-env) and
40659         $(test-program-prefix-after-env).
40660         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40661         run_program_env and test_program_prefix_after_env arguments.
40662         Split $test calls into $test_pre and $test.
40663         * timezone/Makefile (build-testdata): Use
40664         $(built-program-cmd-before-env), $(run-program-env) and
40665         $(built-program-cmd-after-env).
40667 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40669         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40670         strlen for non SHARED builds.
40672 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40674         * nptl/allocatestack.c (check_list): Inlined function...
40675         (__reclaim_stacks): ... here.
40677 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40679         [BZ #15698]
40680         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40681         memory overrun.
40683 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40685         * Rules (make-test-out): Include
40686         LOCPATH=$(common-objpfx)localedata in default environment.
40687         * debug/Makefile (tst-chk1-ENV): Remove variable.
40688         (tst-chk2-ENV): Likewise.
40689         (tst-chk3-ENV): Likewise.
40690         (tst-chk4-ENV): Likewise.
40691         (tst-chk5-ENV): Likewise.
40692         (tst-chk6-ENV): Likewise.
40693         (tst-lfschk1-ENV): Likewise.
40694         (tst-lfschk2-ENV): Likewise.
40695         (tst-lfschk3-ENV): Likewise.
40696         (tst-lfschk4-ENV): Likewise.
40697         (tst-lfschk5-ENV): Likewise.
40698         (tst-lfschk6-ENV): Likewise.
40699         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40700         (tst-iconv7-ENV): Likewise.
40701         * intl/Makefile (LOCPATH-ENV): Likewise.
40702         (tst-codeset-ENV): Likewise.
40703         (tst-gettext3-ENV): Likewise.
40704         (tst-gettext5-ENV): Likewise.
40705         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40706         (tst-fopenloc-ENV): Likewise.
40707         (tst-fgetws-ENV): Remove variable.
40708         (tst-ungetwc1-ENV): Likewise.
40709         (tst-ungetwc2-ENV): Likewise.
40710         (bug-ungetwc2-ENV): Likewise.
40711         (tst-swscanf-ENV): Likewise.
40712         (bug-ftell-ENV): Likewise.
40713         (tst-fgetwc-ENV): Likewise.
40714         (tst-fseek-ENV): Likewise.
40715         (tst-ftell-partial-wide-ENV): Likewise.
40716         (tst-ftell-active-handler-ENV): Likewise.
40717         (tst-ftell-append-ENV): Likewise.
40718         * posix/Makefile (tst-fnmatch-ENV): Likewise.
40719         (tst-regexloc-ENV): Likewise.
40720         (bug-regex1-ENV): Likewise.
40721         (tst-regex-ENV): Likewise.
40722         (tst-regex2-ENV): Likewise.
40723         (bug-regex5-ENV): Likewise.
40724         (bug-regex6-ENV): Likewise.
40725         (bug-regex17-ENV): Likewise.
40726         (bug-regex18-ENV): Likewise.
40727         (bug-regex19-ENV): Likewise.
40728         (bug-regex20-ENV): Likewise.
40729         (bug-regex22-ENV): Likewise.
40730         (bug-regex23-ENV): Likewise.
40731         (bug-regex25-ENV): Likewise.
40732         (bug-regex26-ENV): Likewise.
40733         (bug-regex30-ENV): Likewise.
40734         (bug-regex32-ENV): Likewise.
40735         (bug-regex33-ENV): Likewise.
40736         (bug-regex34-ENV): Likewise.
40737         (bug-regex35-ENV): Likewise.
40738         (tst-rxspencer-ENV): Likewise.
40739         (tst-rxspencer-no-utf8-ENV): Likewise.
40740         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40741         (tst-sscanf-ENV): Likewise.
40742         (tst-swprintf-ENV): Likewise.
40743         (tst-swscanf-ENV): Likewise.
40744         (test-vfprintf-ENV): Likewise.
40745         (scanf13-ENV): Likewise.
40746         (bug14-ENV): Likewise.
40747         (tst-grouping-ENV): Likewise.
40748         * stdlib/Makefile (tst-strtod-ENV): Likewise.
40749         (tst-strtod3-ENV): Likewise.
40750         (tst-strtod4-ENV): Likewise.
40751         (tst-strtod5-ENV): Likewise.
40752         (testmb2-ENV): Likewise./
40753         * string/Makefile (tst-strxfrm-ENV): Likewise.
40754         (tst-strxfrm2-ENV): Likewise.
40755         (bug-strcoll1-ENV): Likewise.
40756         (test-strcasecmp-ENV): Likewise.
40757         (test-strncasecmp-ENV): Likewise.
40758         * time/Makefile (tst-strptime-ENV): Likewise.
40759         (tst-ftime_l-ENV): Likewise.
40760         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40761         (tst-mbrtowc-ENV): Likewise.
40762         (tst-wcrtomb-ENV): Likewise.
40763         (tst-mbrtowc2-ENV): Likewise.
40764         (tst-c16c32-1-ENV): Likewise.
40765         (tst-mbsnrtowcs-ENV): Likewise.
40767 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40769         * manual/resource.texi (How to get information about the memory
40770         subsystem?): Fix typo.
40771         Reported by Peon de la Parra Ivan <peon@keba.com>
40773 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
40775         [BZ #16882]
40776         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
40777         (pthread_spin_lock): Branch out of spin loop to proper location.
40778         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
40779         (pthread_spin_lock): Likewise.
40781         * nptl/tst-spin4.c: New test.
40782         * nptl/Makefile (tests): Add tst-spin4.
40784 2014-06-03  Andreas Schwab  <schwab@suse.de>
40786         [BZ #15946]
40787         * resolv/res_send.c (send_dg): Reload file descriptor after
40788         calling reopen.
40790 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
40792         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
40794 2014-06-03  Richard Henderson  <rth@redhat.com>
40796         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
40797         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
40798         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
40799         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
40800         in the SAVE_PID block.
40801         (__libc_vfork): New alias.
40802         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
40804         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
40805         child in registers, not on the stack.  Remove RESET_PID conditionals.
40806         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
40808 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40810         * sysdeps/aarch64/libm-test-ulps: Regenerate.
40812 2014-06-03  Wilco  <wdijkstr@arm.com>
40814         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
40815         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
40816         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40817         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
40818         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
40819         Likewise.
40821 2014-06-03  Wilco  <wdijkstr@arm.com>
40823         * sysdeps/aarch64/fpu/math_private.h
40824         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
40825         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
40826         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
40827         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
40828         Fix declarations.
40830 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
40832         * crypt/crypt-private.h: Include ufc-crypt.h.
40833         (__b64_from_24bit): Declare extern.
40834         * crypt/crypt_util.c(__b64_from_24bit): New function.
40835         (b64t): New static const variable.
40836         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
40837         (b64t): Remove variable.
40838         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
40839         * crypt/sha256-crypt.c: Include crypt-private.h.
40840         (b64t): Remove variable.
40841         (__sha256_crypt_r): Remove b64_from_24bit and replace
40842         with __b64_from_24bit.
40843         * crypt/sha512-crypt.c: Likewise.
40845 2014-06-02  Roland McGrath  <roland@hack.frob.com>
40847         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
40848         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
40849         Label the code __libc_vfork rather than __vfork.
40850         [!NOT_IN_libc] (vfork): Define as weak alias.
40851         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
40852         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
40853         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
40855 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40857         * malloc/malloc.c (malloc_info): Fix format specifier for
40858         n_mmaps.
40860 2014-06-02  Wilco  <wdijkstr@arm.com>
40862         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
40863         FPCR write.
40865 2014-06-02  Wilco  <wdijkstr@arm.com>
40867         [BZ #17009]
40868         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
40869         Rewrite to reduce FPCR/FPSR accesses.
40871 2014-06-01  David S. Miller  <davem@davemloft.net>
40873         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40875 2014-05-31  David S. Miller  <davem@davemloft.net>
40877         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
40878         to occur in round to nearest mode when |x| >= 2.0
40880 2014-05-30  Richard Henderson  <rth@twiddle.net>
40882         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
40883         (PSEUDO_RET_NOERRNO): Remove.
40884         (ret): Don't redefine.
40885         (ret_NOERRNO): Define in terms of ret.
40886         (ret_ERRVAL): Likewise.
40888         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
40889         use of PSEUDO_RET; perform the error check directly.
40891 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
40893         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
40894         with __int128_t.
40896 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40898         * malloc/malloc (malloc_info): Fix formatting.
40900 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
40901             Roland McGrath  <roland@hack.frob.com>
40903         * malloc/malloc (malloc_info): Also print mmapped statistics.
40905 2014-05-30  Roland McGrath  <roland@hack.frob.com>
40907         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
40908         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
40910 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
40912         * malloc/malloc.c (malloc_info): Inline mi_arena.
40914 2014-05-29  Richard Henderson  <rth@twiddle.net>
40916         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
40917         Remove comma before expanding ASM_ARGS_##nr.
40918         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
40919         Make _x0 a strict output; make _x8 a strict input; adjust expansion
40920         of ASM_ARGS_##nr.
40921         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
40922         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
40923         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
40924         (ASM_ARGS_1): Add leading comma.
40926         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
40927         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
40928         to __errno_location.
40929         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
40930         Remove the expected plt for __errno_location.
40932         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40933         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
40934         call to __read_tp.
40936         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40937         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
40938         it and break it down.
40939         (DOCARGS_0, DOCARGS_1): Do nothing.
40940         (DOCARGS_2): Update to store into the new stack frame.
40941         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
40942         (UNDOCARGS_1): Update to restore from the new stack frame.
40943         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
40944         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
40946         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
40947         (SINGLE_THREAD_P): New parameter for result regno.
40948         (PSEUDO): Update to match; use cbz instead of beq.
40950         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
40951         Use ENTRY to define the _nocancel entry point.  Share the syscall
40952         and syscall error check paths with the cancel path.
40953         (PSEUDO_END): New.
40955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
40956         whitespace; tabs before and after asm mnemonics.
40958 2014-05-29  Eric Wong  <normalperson@yhbt.net>
40960         [BZ #15132]
40961         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40962         Call fstat64 or stat64 internally, depending on arguments passed.
40963         Replace stat buffer argument with file descriptor argument.
40964         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
40965         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
40966         Pass fd to __internal_statvfs instead of calling fstat64.
40967         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
40968         Pass fd to __internal_statvfs64 instead of calling fstat64.
40969         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
40970         Pass -1 to __internal_statvfs instead of calling stat64.
40971         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
40972         Pass -1 to __internal_statvfs64 instead of calling stat64.
40974 2014-05-28  Roland McGrath  <roland@hack.frob.com>
40976         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
40977         that was previously under [RESET_PID].
40978         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
40980         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
40981         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
40983 2014-05-27  Roland McGrath  <roland@hack.frob.com>
40985         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
40987         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
40988         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
40990 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
40992         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
40994 2014-05-27  Andreas Schwab  <schwab@suse.de>
40996         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
40997         TLS_INIT_TP macro.
40998         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
40999         * elf/rtld.c (init_tls, dl_main): Likewise.
41000         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41001         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41002         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41003         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41004         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41005         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41006         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41007         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41008         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41009         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41010         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41011         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41012         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41013         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41014         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41015         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41016         * sysdeps/generic/tls.h: Update description.
41018 2014-05-27  Will Newton  <will.newton@linaro.org>
41020         [BZ #16990]
41021         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41022         and restore r2 rather than just restoring.
41024 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41026         [BZ #16724]
41027         * libio/tst-ftell-append.c: New test case.
41028         * libio/Makefile (tests): Add test case.
41029         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41030         append mode.
41031         * libio/wfileops.c (do_ftell_wide): Likewise.
41033 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41037         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41038         ...
41039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41041         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41042         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41043         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41044         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41045         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41046         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41047         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41048         Moved ...
41049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41050         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41051         Moved ...
41052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41053         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41054         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41055         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41056         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41057         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41058         ...
41059         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41060         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41061         Moved ...
41062         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41063         here.
41064         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41065         ...
41066         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41067         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41068         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41070         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41071         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41072         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41073         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41075         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41076         merge into ...
41077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41078         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41079         ...
41080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41081         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41082         ...
41083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41084         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41085         Moved ...
41086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41087         here.
41088         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41089         Moved ...
41090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41091         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41092         Moved ...
41093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41096         conditional [RESET_PID].
41097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41098         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41099         removed.
41100         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41101         removed.
41103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41104         <tcb-offsets.h>.
41105         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41106         (__libc_vfork): New strong alias.
41107         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41108         removed.
41109         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41110         Removed.
41112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41113         <tcb-offsets.h>.
41114         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41115         (__libc_vfork): New strong alias.
41116         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41117         removed.
41118         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41119         removed.
41121 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
41123         * malloc/malloc.c (mi_arena): New function.
41124         (malloc_info): Remove nested function mi_arena. Call non-nosted
41125         function mi_arena.
41127 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41129         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41130         by insrwi.
41131         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41132         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41133         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41134         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41135         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41136         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41137         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41139 2014-05-26  Andreas Schwab  <schwab@suse.de>
41141         [BZ #16984]
41142         * locale/programs/repertoire.c (repertoire_read): Add slash
41143         between I18NPATH element and file name.
41144         * locale/programs/locfile.c (locfile_read): Likewise.
41146 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41148         * nptl/pthread_mutexattr_settype.c
41149         (__pthread_mutexattr_settype):
41150         Disable lock elision for PTHREAD_MUTEX_NORMAL.
41152 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41154         * nptl/tst-mutex5 (do_test):
41155         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41157 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41159         * benchtests/README: Document 'init' directive.
41160         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41161         BENCH_INIT.
41162         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41163         (parse_file): Recognize 'init' directive.
41165 2014-05-26  Kyle McMartin  <kyle@redhat.com>
41167         [BZ #16796]
41168         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41169         alignment of struct pthread.
41171 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41173         [BZ #16878]
41174         * nscd/netgroupcache.c (addgetnetgrentX): Look for
41175         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41176         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41177         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41179 2014-05-25  Richard Henderson  <rth@twiddle.net>
41181         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41182         (SINGLE_THREAD_P_PIC): Remove.
41183         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41184         (SINGLE_THREAD_P_PIC): Remove.
41186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41187         branch to syscall error ...
41188         (PSEUDO): ... here.
41189         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41190         from __local_syscall_error to .Lsyscall_error.
41191         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41192         (SYSCALL_ERROR): Update label name.
41194         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41195         Do not use DOARGS/UNDOARGS.
41196         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41197         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41198         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41199         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41200         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41202         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41203         block comment.
41205         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41206         define if !NOT_IN_libc.
41207         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41208         define with non-default symbol versions.
41210 2014-05-23  Richard Henderson  <rth@twiddle.net>
41212         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41213         (vfork, __vfork): Define via compat_symbol.
41215         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41216         [!HAVE_IFUNC] (vfork_compat): Remove.
41217         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41219 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41221         [BZ #16978]
41222         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41223         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41224         variable.
41226 2014-05-23  Richard Henderson  <rth@twiddle.net>
41228         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41229         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41230         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41231         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41233         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41234         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41235         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41236         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41237         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41238         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41239         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41240         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41241         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41242         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41243         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41244         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41245         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41246         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41247         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41248         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41249         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41250         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41251         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41252         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41253         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41254         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41255         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41256         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41257         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41258         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41259         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41260         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41261         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41262         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41263         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41264         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41265         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41266         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41267         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41268         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41269         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41270         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41271         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41272         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41273         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41274         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41275         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41276         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41277         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41278         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41279         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41280         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41281         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41282         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41283         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41284         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41285         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41286         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41287         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41288         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41290         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41291         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41292         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41293         before exiting on error.
41294         (__libc_vfork): New strong alias.
41295         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41296         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41298         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41299         that was previously under [RESET_PID].
41300         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41302         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41304 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41306         [BZ #16977]
41307         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41308         value when x - 1 is zero.
41309         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41310         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41311         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41312         0.0L for an argument of 1.0L.
41313         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41314         Likewise.
41315         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41316         value when x - 1 is zero.
41317         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41318         * sysdeps/i386/fpu/libm-test-ulps: Update.
41319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41321 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41323         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41324         alphasort and versionsort.
41326 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41328         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41329         macro.
41330         [copysignf]: Likewise.
41332 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41334         * crypt/md5-crypt.c: Fix formatting.
41336 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41338         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41339         (b64_from_24bit): New function.
41341 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41343         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41344         libc_hidden_builtin_def to ifunc.
41345         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41346         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41348 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41350         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41351         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41353 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41355         * nscd/Depend (linuxthreads): Remove.
41356         (nptl): Add.
41357         * resolv/Depend (linuxthreads): Remove.
41358         * rt/Depend (linuxthreads): Remove.
41360         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41361         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41362         $(common-objpfx)elf/.
41363         (link-libc-before-gnulib): Likewise.
41364         (elfobjdir): Remove variable.
41365         * Makefile (install): Use $(elf-objpfx) instead of
41366         $(common-objpfx)elf/.
41367         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41368         $(elfobjdir)/.
41369         (link-libc-deps): Likewise.
41370         ($(common-objpfx)libc.so): Likewise.
41371         ($(common-objpfx)linkobj/libc.so): Likewise.
41372         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41373         instead of $(common-objpfx)elf/.
41374         (symbolic-link-list): Likewise.
41375         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41376         [$(cross-compiling) = no]: Likewise.
41377         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41378         $(elfobjdir)/.
41379         (static-gnulib-arch): Likewise.
41380         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41381         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41382         $(common-objpfx)elf/.
41384 2014-05-21  Richard Henderson  <rth@redhat.com>
41386         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41387         (SINGLE_THREAD_P): Use the correct width load.  Fold
41388         into the ldr offset.
41390         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41391         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41393 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41395         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41396         (libgcc_s_resume): Use __attribute_used__.
41397         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41398         Likewise.
41400 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41402         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41403         optimization when used with float constants.
41405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41407 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41409         [BZ #16915]
41410         * locale/nl_langinfo_l.c: Make direct reference to every
41411         _nl_current_CATEGORY symbol.
41412         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41413         (tests-static): Add tst-langinfo-static.
41414         (tests-special): Add tst-langinfo-static.out.
41415         ($(objpfx)tst-langinfo.out): Redirect output.
41416         ($(objpfx)tst-langinfo-static.out): New.
41417         * localedata/tst-langinfo.sh: Send output to stdout.
41418         * localedata/tst-langinfo-static.c: New file.
41420         [BZ #16965]
41421         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41422         when the shift amount is modulo the limb size.
41424 2014-05-20  Richard Henderson  <rth@redhat.com>
41426         [BZ #16967]
41427         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41428         Change type of sa_flags from unsigned int to int.
41430         [BZ #16966]
41431         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41433         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41435 2014-05-20  Will Newton  <will.newton@linaro.org>
41437         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41438         Test the return value of the system call in the nocancel case.
41440 2014-05-20  Will Newton  <will.newton@linaro.org>
41441             Yvan Roux  <yvan.roux@linaro.org>
41443         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41444         #include of asm/ptrace.h.
41445         (PTRACE_GET_THREAD_AREA): Remove #undef.
41446         (PTRACE_GETHBPREGS): Likewise.
41447         (PTRACE_SETHBPREGS): Likewise.
41448         (struct user_regs_struct): New structure.
41449         (struct user_fpsimd_struct): New structure.
41450         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41451         #include of asm/ptrace.h and second #include of sys/user.h.
41452         (PTRACE_GET_THREAD_AREA): Remove #undef.
41453         (PTRACE_GETHBPREGS): Likewise.
41454         (PTRACE_SETHBPREGS): Likewise.
41455         (ELF_NGREG): Use new struct user_regs_struct.
41456         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41458 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41460         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41461         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41463 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41465         [BZ #16958]
41466         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41467         membar to avoid block loads/stores to overlap previous stores.
41469 2014-05-17  Richard Henderson  <rth@redhat.com>
41471         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41472         Create the __##syscall_name##_nocancel entry point.
41473         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41474         Remove; let the sysdep-cancel.h code create it.
41476 2014-05-17  David S. Miller  <davem@davemloft.net>
41478         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41479         Protect with __USE_GNU.
41480         (TIOCSET_TEMPT): Likewise.
41481         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41482         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41483         these are already provided in bits/ioctl-types.h
41485 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41487         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41488         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41490         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41491         Use wait4 regardless of [__NR_waitpid].
41493 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41495         PR libgcc/60166
41496         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41497         (_FP_NANSIGN_Q): Set the quiet bit.
41499 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41501         * benchtests/Makefile
41502         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41503         not $(common-objpfx)math/libm.so.
41504         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41505         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41506         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41507         $(common-objpfx)dlfcn/libdl.so.
41508         ($(objpfx)tst-audit8): Depend on $(libm), not
41509         $(common-objpfx)math/libm.so.
41510         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41511         not $(common-objpfx)dlfcn/libdl.so.
41512         * math/Makefile
41513         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41514         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41515         [$(build-shared) = yes].
41516         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41517         $(common-objpfx)nptl/libpthread.so.
41518         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41519         $(common-objpfx)math/libm.so$(libm.so-version) or
41520         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41521         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41522         $(common-objpfx)dlfcn/libdl.so.
41523         * setjmp/Makefile (link-libm): Remove variable.
41524         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41525         * stdio-common/Makefile (link-libm): Remove variable.
41526         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41527         * stdlib/Makefile (link-libm): Remove variable.
41528         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41529         ($(objpfx)tst-strtod-round): Likewise.
41530         ($(objpfx)tst-tininess): Likewise.
41531         ($(objpfx)tst-strtod-underflow): Likewise.
41532         ($(objpfx)tst-strtod6): Likewise.
41533         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41534         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41535         $(common-objpfx)dlfcn/libdl.so.
41537 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41539         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41540         BSD terminal modes definitions.
41542 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41544         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41545         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41547         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41548         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41549         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41550         Don't do #include_next.
41551         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41552         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41553         Don't do #include_next.
41554         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41555         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41556         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41557         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41559 2014-05-16  Allan McRae  <allan@archlinux.org>
41561         * po/sv.po: Update Swedish translation from translation project.
41563         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41564         in sed expression.
41566 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41568         [BZ #16917]
41569         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41570         errno if the TIOCGPTN ioctl fails with an error different than
41571         EINVAL.
41572         * login/tst-ptsname.c: New file.
41573         * login/Makefile (tests): Add tst-ptsname.
41575         [BZ #16943]
41576         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41577         and prlimit64.
41579 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41581         [BZ #16849]
41582         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41583         herrno to return EAI_AGAIN.
41585 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41587         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41588         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41589         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41590         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41591         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41592         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41593         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41594         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41595         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41596         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41597         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41598         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41599         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41600         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41601         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41602         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41603         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41604         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41605         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41606         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41607         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41608         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41609         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41610         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41611         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41612         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41613         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41614         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41615         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41616         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41617         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41618         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41619         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41620         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41621         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41622         Moved ...
41623         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41624         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41625         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41627         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41628         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41629         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41630         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41631         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41632         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41633         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41634         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41635         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41636         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41637         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41638         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41639         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41640         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41641         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41642         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41643         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41644         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41645         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41646         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41647         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41648         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41649         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41651         Moved ...
41652         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41653         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41654         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41655         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41656         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41657         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41658         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41659         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41660         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41661         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41662         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41663         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41664         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41665         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41666         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41668         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41670         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41672         Moved ...
41673         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41674         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41675         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41677         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41678         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41679         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41680         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41681         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41682         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41683         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41684         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41685         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41686         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41687         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41688         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41689         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41690         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41691         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41692         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41693         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41694         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41695         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41696         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41697         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41698         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41699         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41700         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41701         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41702         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41703         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41704         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41705         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41706         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41707         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41709         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41710         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41712         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41713         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41714         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41715         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41716         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41717         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41718         Moved ...
41719         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41720         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41721         Moved ...
41722         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41723         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41724         Moved ...
41725         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41726         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41727         Moved ...
41728         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41729         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41730         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41731         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41732         Moved ...
41733         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41734         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41735         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41736         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41737         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41738         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41739         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41740         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41741         Moved ...
41742         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41743         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41744         Moved ...
41745         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41746         ... here.
41747         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41748         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41749         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41750         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41751         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41752         Moved ...
41753         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41754         ... here.
41755         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41756         Moved ...
41757         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41758         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41759         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41760         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41761         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41762         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41763         Moved ...
41764         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41765         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41766         Moved ...
41767         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41768         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
41769         Moved ...
41770         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
41771         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
41772         Moved ...
41773         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
41774         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
41775         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
41776         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
41777         Moved ...
41778         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
41779         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
41780         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
41781         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
41782         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
41783         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
41784         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
41785         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
41786         Moved ...
41787         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
41788         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41789         Moved ...
41790         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
41791         ... here.
41792         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
41793         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
41794         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
41795         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
41796         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41797         Moved ...
41798         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
41799         ... here.
41800         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
41801         Moved ...
41802         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
41803         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
41804         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
41805         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
41806         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
41807         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
41808         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
41809         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
41810         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
41811         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
41812         Moved ...
41813         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
41814         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
41815         Moved ...
41816         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
41817         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
41818         Moved ...
41819         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
41820         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
41821         Moved ...
41822         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
41823         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
41824         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
41825         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
41826         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
41827         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
41828         Moved ...
41829         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
41830         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
41831         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
41832         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
41833         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
41834         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
41835         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
41836         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
41837         Moved ...
41838         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
41839         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41840         Moved ...
41841         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
41842         ... here.
41843         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
41844         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
41845         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
41846         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
41847         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41848         Moved ...
41849         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
41850         ... here.
41851         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
41852         Moved ...
41853         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
41854         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
41855         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
41856         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
41857         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
41858         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
41859         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
41860         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
41861         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
41862         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
41863         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
41865         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
41866         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
41868         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
41869         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
41871         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
41872         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
41873         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
41874         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
41875         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
41876         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
41877         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
41878         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
41879         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
41880         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
41881         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
41882         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
41883         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
41884         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
41885         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
41886         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
41887         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
41888         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
41889         Moved ...
41890         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
41891         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
41892         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
41893         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
41894         Moved ...
41895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
41896         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
41897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
41898         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
41899         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
41900         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
41901         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
41902         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
41903         Moved ...
41904         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
41905         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
41906         Moved ...
41907         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
41908         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
41909         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
41910         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
41911         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
41912         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
41913         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
41914         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
41915         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
41916         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
41917         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
41918         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
41919         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
41920         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
41921         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
41922         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
41923         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
41925         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
41926         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
41927         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
41928         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
41929         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
41931         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
41932         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
41933         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
41934         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
41935         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
41936         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
41937         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
41938         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
41939         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
41940         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
41942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
41943         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
41945         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
41946         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
41947         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
41948         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
41949         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
41950         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
41951         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
41952         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
41953         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
41954         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
41955         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
41956         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
41957         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
41958         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
41959         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
41960         Update #include.
41961         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
41962         Likewise.
41963         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41964         Likewise.
41965         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41966         Likewise.
41967         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41968         Likewise.
41969         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
41970         Likewise.
41971         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
41972         Likewise.
41973         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
41974         Likewise.
41975         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
41976         Likewise.
41977         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
41978         Likewise.
41979         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
41980         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
41981         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
41982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
41983         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
41984         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
41985         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
41986         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
41987         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
41988         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
41989         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
41990         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
41991         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
41992         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
41993         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
41995         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
41996         that was previously under [RESET_PID].
41997         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41998         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
41999         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42001         * sysdeps/i386/nptl/Implies: New file.
42002         * sysdeps/x86_64/nptl/Implies: New file.
42003         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42004         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42005         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42006         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42008         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42009         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42010         (__libc_vfork): New strong alias.
42011         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42012         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42014         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42015         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42016         (__libc_vfork): New strong alias.
42017         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42018         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42020         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42021         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42022         (__libc_vfork): New strong alias.
42023         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42024         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42025         * nptl/pt-vfork.c: New file.
42026         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42027         (libpthread: GLIBC_2.20): New version set (empty).
42029 2014-05-14  Will Newton  <will.newton@linaro.org>
42031         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42032         rather than #if.
42034 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42036         [BZ #16564]
42037         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42038         arguments with exponent 65 or above.
42039         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42040         arguments 0x1p113L or above.
42041         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42042         to arguments 0x1p107L or above.
42043         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42044         positive arguments with exponent 65 or above.
42045         * math/auto-libm-test-in: Add more tests of log1p.
42046         * math/auto-libm-test-out: Regenerated.
42048         [BZ #16928]
42049         * math/s_cacos.c (__cacos): Ensure zero real part of result from
42050         non-finite arguments is +0.
42051         * math/s_cacosf.c (__cacosf): Likewise.
42052         * math/s_cacosl.c (__cacosl): Likewise.
42053         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42054         * sysdeps/i386/fpu/libm-test-ulps: Update.
42055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42057         [BZ #16927]
42058         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42059         value.
42060         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42061         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42062         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42063         for explicit high bit of mantissa when testing for argument equal
42064         to 1.
42065         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42066         * sysdeps/i386/fpu/libm-test-ulps: Update.
42067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42069         [BZ #16516]
42070         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42071         (__erf): Scale by 16 instead of 8 in potentially underflowing
42072         case.  Ensure exception if result actually underflows.
42073         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42074         (__erff): Scale by 16 instead of 8 in potentially underflowing
42075         case.  Ensure exception if result actually underflows.
42076         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42077         (efx8): Remove variable.
42078         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42079         case.  Ensure exception if result actually underflows.
42080         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42081         (efx8): Remove variable.
42082         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42083         case.  Ensure exception if result actually underflows.
42084         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42085         (efx8): Remove variable.
42086         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42087         case.  Ensure exception if result actually underflows.
42088         * math/auto-libm-test-in: Add more tests of erf.
42089         * math/auto-libm-test-out: Regenerated.
42091 2014-05-14  Andreas Schwab  <schwab@suse.de>
42093         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42094         Remove code conditionalized on USE___THREAD.
42096         * config.h.in (HAVE_PT_CHOWN): Define as 0.
42097         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42098         not definedness.
42100 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42102         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42103         Define unconditionally.
42104         (__ASSUME_O_CLOEXEC): Likewise.
42105         (__ASSUME_SOCK_CLOEXEC): Likewise.
42106         (__ASSUME_IN_NONBLOCK): Likewise.
42107         (__ASSUME_PIPE2): Likewise.
42108         (__ASSUME_EVENTFD2): Likewise.
42109         (__ASSUME_SIGNALFD4): Likewise.
42110         (__ASSUME_DUP3): Likewise.
42111         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42112         (__ASSUME_DUP3): Do not define.
42113         (__ASSUME_EVENTFD2): Likewise.
42114         (__ASSUME_IN_NONBLOCK): Likewise.
42115         (__ASSUME_O_CLOEXEC): Likewise.
42116         (__ASSUME_PIPE2): Likewise.
42117         (__ASSUME_SIGNALFD4): Likewise.
42118         (__ASSUME_SOCK_CLOEXEC): Likewise.
42119         (__ASSUME_UTIMES): Undefine.
42120         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42121         (__ASSUME_UTIMES): Do not define.
42122         (__ASSUME_O_CLOEXEC): Likewise.
42123         (__ASSUME_SOCK_CLOEXEC): Likewise.
42124         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42125         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42126         0x020621].
42127         (__ASSUME_PIPE2): Likewise.
42128         (__ASSUME_EVENTFD2): Likewise.
42129         (__ASSUME_SIGNALFD4): Likewise.
42130         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42131         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42132         Do not define.
42133         (__ASSUME_EVENTFD2): Likewise.
42134         (__ASSUME_SIGNALFD4): Likewise.
42135         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42136         (__ASSUME_32BITUIDS): Likewise.
42137         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42138         (__ASSUME_IPC64): Likewise.
42139         (__ASSUME_ST_INO_64_BIT): Likewise.
42140         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42141         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42143         (__ASSUME_UTIMES): Do not define.
42144         (__ASSUME_PSELECT): Likewise.
42145         (__ASSUME_PPOLL): Likewise.
42146         (__ASSUME_O_CLOEXEC): Likewise.
42147         (__ASSUME_SOCK_CLOEXEC): Likewise.
42148         (__ASSUME_IN_NONBLOCK): Likewise.
42149         (__ASSUME_PIPE2): Likewise.
42150         (__ASSUME_EVENTFD2): Likewise.
42151         (__ASSUME_SIGNALFD4): Likewise.
42152         (__ASSUME_DUP3): Likewise.
42153         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42154         (__ASSUME_UTIMES): Likewise.
42155         (__ASSUME_O_CLOEXEC): Likewise.
42156         (__ASSUME_SOCK_CLOEXEC): Likewise.
42157         (__ASSUME_IN_NONBLOCK): Likewise.
42158         (__ASSUME_PIPE2): Likewise.
42159         (__ASSUME_EVENTFD2): Likewise.
42160         (__ASSUME_SIGNALFD4): Likewise.
42161         (__ASSUME_DUP3): Likewise.
42162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42163         (__ASSUME_UTIMES): Likewise.
42164         (__ASSUME_O_CLOEXEC): Likewise.
42165         (__ASSUME_SOCK_CLOEXEC): Likewise.
42166         (__ASSUME_IN_NONBLOCK): Likewise.
42167         (__ASSUME_PIPE2): Likewise.
42168         (__ASSUME_EVENTFD2): Likewise.
42169         (__ASSUME_SIGNALFD4): Likewise.
42170         (__ASSUME_DUP3): Likewise.
42171         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42172         Likewise.
42173         (__ASSUME_UTIMES): Likewise.
42174         (__ASSUME_EVENTFD2): Likewise.
42175         (__ASSUME_SIGNALFD4): Likewise.
42176         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42177         (__ASSUME_O_CLOEXEC): Likewise.
42178         (__ASSUME_SOCK_CLOEXEC): Likewise.
42179         (__ASSUME_IN_NONBLOCK): Likewise.
42180         (__ASSUME_PIPE2): Likewise.
42181         (__ASSUME_EVENTFD2): Likewise.
42182         (__ASSUME_SIGNALFD4): Likewise.
42183         (__ASSUME_DUP3): Likewise.
42184         (__ASSUME_UTIMES): Undefine.
42186         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42187         feclearexcept.  Remove symbol versioning code.
42188         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
42189         symbol versioning code.
42190         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
42191         symbol versioning code.
42192         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42193         feupdateenv.  Remove symbol versioning code.
42194         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42195         fegetexceptflag.  Remove symbol versioning code.
42196         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42197         fesetexceptflag.  Remove symbol versioning code.
42198         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42199         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
42200         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42201         (__posix_fadvise64_l32): Remove prototype.
42202         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42203         code.
42205 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42207         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42208         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42209         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42210         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42212 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
42214         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42215         current working directory
42217 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42219         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42220         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42221         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42222         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42223         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42224         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42225         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42226         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42227         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42228         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42229         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42230         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42231         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42232         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42233         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42234         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42235         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42236         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42237         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42238         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42239         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42240         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42241         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42242         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42243         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42244         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42245         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42246         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42247         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42248         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42249         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42250         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42251         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42252         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42253         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42254         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42255         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42256         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42257         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42258         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42259         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42260         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42262         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42263         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42265         * sysdeps/unix/sysv/linux/arm/Makefile
42266         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42267         Add rt-aeabi_unwind_cpp_pr1.
42268         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42269         Add nptl-aeabi_unwind_cpp_pr1.
42270         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42271         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42272         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42273         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42274         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42275         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42277         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42278         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42279         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42280         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42282         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42283         Deconditionalize the code that was previously under [RESET_PID].
42284         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42286         * sysdeps/generic/exit-thread.h: New file.
42287         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42288         * include/unistd.h (__exit_thread): Remove declaration.
42289         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42290         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42291         * csu/libc-start.c: Include <exit-thread.h>.
42292         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42293         * nptl/pthread_create.c: Include <exit-thread.h>.
42294         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42295         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42296         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42297         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42298         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42299         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42300         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42301         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42302         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42303         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42304         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42305         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42306         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42307         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42308         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42309         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42310         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42312 2014-05-13  Andreas Schwab  <schwab@suse.de>
42314         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42316 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42318         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42319         (__ASSUME_UTIMES): Do not condition on kernel version.
42320         (__ASSUME_PSELECT): Define unconditionally.
42321         (__ASSUME_PPOLL): Likewise.
42322         (__ASSUME_ATFCTS): Likewise.
42323         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42324         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42325         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42326         (__ASSUME_UTIMENSAT): Define unconditionally.
42327         (__ASSUME_PRIVATE_FUTEX): Likewise.
42328         (__ASSUME_FALLOCATE): Likewise.
42329         (__ASSUME_O_CLOEXEC): Likewise.
42330         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42331         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42332         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42333         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42334         (__ASSUME_IN_NONBLOCK): Likewise.
42335         (__ASSUME_PIPE2): Likewise.
42336         (__ASSUME_EVENTFD2): Likewise.
42337         (__ASSUME_SIGNALFD4): Likewise.
42338         (__ASSUME_DUP3): Likewise.
42339         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42340         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42341         (__ASSUME_AT_RANDOM): Likewise.
42342         (__ASSUME_PREADV): Likewise.
42343         (__ASSUME_PWRITEV): Likewise.
42344         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42345         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42346         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42347         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42348         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42349         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42350         (__ASSUME_O_CLOEXEC): Define unconditionally.
42351         (__ASSUME_PSELECT): Do not undefine conditionally.
42352         (__ASSUME_PPOLL): Likewise.
42353         (__ASSUME_ATFCTS): Likewise.
42354         (__ASSUME_SET_ROBUST_LIST): Likewise.
42355         (__ASSUME_UTIMENSAT): Likewise.
42356         (__ASSUME_FDATASYNC): Define unconditionally.
42357         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42358         (__ASSUME_SIGFRAME_V2): Likewise.
42359         )__ASSUME_EVENTFD2): Likewise.
42360         (__ASSUME_SIGNALFD4): Likewise.
42361         (__ASSUME_PSELECT): Do not undefine conditionally.
42362         (__ASSUME_PPOLL): Likewise.
42363         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42364         (__ASSUME_PSELECT): Define unconditionally.
42365         (__ASSUME_PPOLL): Likewise.
42366         (__ASSUME_O_CLOEXEC): Likewise.
42367         (__ASSUME_SOCK_CLOEXEC): Likewise.
42368         (__ASSUME_IN_NONBLOCK): Likewise.
42369         (__ASSUME_PIPE2): Likewise.
42370         (__ASSUME_EVENTFD2): Likewise.
42371         (__ASSUME_SIGNALFD4): Likewise.
42372         (__ASSUME_DUP3): Likewise.
42373         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42374         (__ASSUME_O_CLOEXEC): Likewise.
42375         (__ASSUME_SOCK_CLOEXEC): Likewise.
42376         (__ASSUME_IN_NONBLOCK): Likewise.
42377         (__ASSUME_PIPE2): Likewise.
42378         (__ASSUME_EVENTFD2): Likewise.
42379         (__ASSUME_SIGNALFD4): Likewise.
42380         (__ASSUME_DUP3): Likewise.
42381         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42382         (__ASSUME_EVENTFD2): Likewise.
42383         (__ASSUME_SIGNALFD4): Likewise.
42384         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42386 2014-05-12  Andreas Schwab  <schwab@suse.de>
42388         [BZ #16932]
42389         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42390         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42391         than maximum RPC packet size.
42392         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42393         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42394         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42395         (_nss_nis_getservbyport_r): Likewise.
42397 2014-05-12  Will Newton  <will.newton@linaro.org>
42399         * malloc/Makefile (tests): Add tst-mallopt.
42400         * malloc/tst-mallopt.c: New file.
42402 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42404         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42405         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42407 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42409         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42410         (tst-tlsmod6.so): Likewise.
42412 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42414         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42416 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42418         [BZ #16064]
42419         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42420         and <dl-procinfo.h>.
42421         (__fegetenv): Save SSE state in envp->__eip if supported.
42422         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42423         envp->__eip if supported.
42424         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42425         and <dl-procinfo.h>.
42426         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42427         __data_offset and __data_selector in environment to 0.  Set SSE
42428         state if supported.
42429         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42430         test-fenv-sse.
42431         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42432         -mfpmath=sse.
42433         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42435 2014-05-09  Will Newton  <will.newton@linaro.org>
42437         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42438         and libc_relro_required for ARM.
42439         * sysdeps/arm/preconfigure: Regenerate.
42441 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42442             Stefan Liebler  <stli@linux.vnet.ibm.com>
42444         * config.make.in (enable-lock-elision): New Makefile variable.
42445         * configure.ac: Likewise.
42446         * configure: Regenerate.
42447         * sysdeps/s390/configure.ac:
42448         Add check for gcc transactions support.
42449         * sysdeps/s390/configure: Regenerate.
42450         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42451         Build elision files if enabled.
42452         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42453         Add lock elision support for s390.
42454         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42455         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42456         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42457         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42458         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42459         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42460         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42461         Likewise.
42462         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42463         Likewise.
42464         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42465         Likewise.
42466         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42467         Likewise.
42468         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42469         (__lll_timedlock_elision, __lll_lock_elision)
42470         (__lll_unlock_elision, __lll_trylock_elision)
42471         (lll_timedlock_elision, lll_lock_elision)
42472         (lll_unlock_elision, lll_trylock_elision): Add.
42473         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42474         (pthread_mutex_t): Add lock elision support for s390.
42476 2014-05-14  Wilco  <wdijkstr@arm.com>
42478         * sysdeps/arm/fclrexcpt.c: Cleanup.
42479         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42480         * sysdeps/arm/feenablxcpt.c: Cleanup.
42481         * sysdeps/arm/fegetenv.c: Cleanup.
42482         * sysdeps/arm/fegetexcept.c: Cleanup.
42483         * sysdeps/arm/fegetround.c: Cleanup.
42484         * sysdeps/arm/feholdexcpt.c: Cleanup.
42485         * sysdeps/arm/fesetenv.c: Cleanup.
42486         * sysdeps/arm/fesetround.c: Cleanup.
42487         * sysdeps/arm/feupdateenv.c: Cleanup.
42488         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42489         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42490         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42491         * sysdeps/arm/ftestexcept.c: Cleanup.
42492         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42493         * sysdeps/arm/setfpucw.c: Cleanup.
42495 2014-05-09  Will Newton  <will.newton@linaro.org>
42497         * sysdeps/arm/armv7/strcmp.S: New file.
42498         * NEWS: Mention addition of ARMv7 optimized strcmp.
42500 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42502         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42503         look for %.ac rather than %.in.
42505         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42506         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42507         * sysdeps/mach/hurd/configure: Regenerated.
42508         * sysdeps/unix/sysv/linux/configure: Regenerated.
42510         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42512 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42514         [BZ# 16922]
42515         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42516         (LONG_SUB): Ditto.
42517         (PTR_SUB): Ditto.
42519 2014-05-07  Andreas Schwab  <schwab@suse.de>
42521         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42522         when skipping over non-matching result from nscd.
42524 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42526         [BZ #16876]
42527         * nptl/sockperf.c (client): Check socket return value.
42529         [BZ #16877]
42530         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42531         nscd security class.
42533 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42535         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42536         * sysdeps/arm/unwind.h: ... here.
42538 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42540         [BZ# 16916]
42541         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42542         Define.
42544 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42546         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42547         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42548         multiarch strncpy for PPC64.
42549         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42550         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42552         multiarch optimizations.
42553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42554         (__libc_ifunc_impl_list): Likewise.
42555         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42556         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42557         multiarch stpncpy for PPC64.
42558         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42559         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42561 2014-05-06  Andreas Schwab  <schwab@suse.de>
42563         [BZ #16912]
42564         * gmon/mcount.c (_MCOUNT_DECL): Use
42565         atomic_compare_and_exchange_bool_acq instead of
42566         catomic_compare_and_exchange_bool_acq.
42568 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42570         * elf/Makefile (others, install-bin): Remove pldd.
42571         (pldd-modules): Variable removed.
42572         ($(objpfx)pldd): Target removed.
42573         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42574         (others, install-bin): Append pldd here.
42575         ($(objpfx)pldd): New target.
42577         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42578         to 0, so the first #if test emitted later doesn't see it undefined.
42579         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42580         * sysdeps/gnu/errlist.c: Regenerated.
42582 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42584         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42585         [libc_hidden_builtin_def]: Define to empty value.
42586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42587         [libc_hidden_builtin_def]: Likewise.
42588         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42589         [libc_hidden_builtin_def]: Likewise.
42590         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42591         [libc_hidden_builtin_def]: Likewise.
42592         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42593         __redirect_memcpy and define ifunc as default hidden symbol.
42594         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42595         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42597 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42599         * locale/iso-4217.def: Reintroduce XDR currency.
42601 2014-05-04  Allan McRae  <allan@archlinux.org>
42603         * po/eo.po: Update Esperanto translation from translation project.
42605 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42607         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42608         and FEATURE_INDEX_MAX to 1.
42609         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42611 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42613         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42614         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42615         * iconvdata/big5.c (ONE_DIRECTION): Define.
42616         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42617         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42618         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42619         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42620         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42621         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42622         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42623         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42624         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42625         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42626         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42627         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42628         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42629         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42630         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42631         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42632         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42633         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42634         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42635         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42636         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42637         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42638         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42639         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42640         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42641         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42642         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42643         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42644         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42645         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42646         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42647         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42648         * iconvdata/johab.c (ONE_DIRECTION): Define.
42649         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42650         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42651         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42652         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42653         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42654         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42655         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42656         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42657         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42658         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42660 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42662         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42663         (_IO_JUMPS_OFFSET): Define to 0.
42665         * nptl/sysdeps/pthread/bits/libc-lock.h
42666         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42667         (__libc_lock_define_initialized_recursive): Always define using
42668         initializer.  Modern compilers treat uninitialized (implicit zero) and
42669         explicit zero initializers the same (i.e. put the datum in bss).
42671 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42673         * nscd/nscd-client.h: Include <string.h>.
42675 2014-05-01  David S. Miller  <davem@davemloft.net>
42677         [BZ #16885]
42678         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42679         multiple zero bytes exist at the end of a string.
42680         Reported by Aurelien Jarno <aurelien@aurel32.net>
42682         * string/test-strcmp.c (check): Add explicit test for situations where
42683         there are multiple zero bytes after the first.
42685 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42687         [BZ #16890]
42688         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42689         when compiling wprintf.
42690         * stdio-common/tstdiomisc.c (t3): New function.
42691         (main): Call it.
42693 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42695         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42696         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42697         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42698         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42700 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42702         * stdlib/longlong.h: Updated from GCC.
42704 2014-05-01  Will Newton  <will.newton@linaro.org>
42705             Bernard Ogden  <bernie.ogden@linaro.org>
42707         * NEWS: Update fixed bug list.
42709         [BZ #15119]
42710         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42712 2014-04-30  David S. Miller  <davem@davemloft.net>
42714         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42715         (libc_feholdexcept_setround_sparc_ctx): New function.
42716         (libc_fesetenv_sparc_ctx): Likewise.
42717         (libc_feupdateenv_sparc_ctx): Likewise.
42718         (libc_feholdsetround_sparc_ctx): Likewise.
42719         (libc_feholdexcept_setround_ctx): Define.
42720         (libc_feholdexcept_setroundf_ctx): Likewise.
42721         (libc_feholdexcept_setroundl_ctx): Likewise.
42722         (libc_fesetenv_ctx): Likewise.
42723         (libc_fesetenvf_ctx): Likewise.
42724         (libc_fesetenvl_ctx): Likewise.
42725         (libc_feupdateenv_ctx): Likewise.
42726         (libc_feupdateenvf_ctx): Likewise.
42727         (libc_feupdateenvl_ctx): Likewise.
42728         (libc_feresetround_ctx): Likewise.
42729         (libc_feresetroundf_ctx): Likewise.
42730         (libc_feresetroundl_ctx): Likewise.
42731         (libc_feholdsetround_ctx): Likewise.
42732         (libc_feholdsetroundf_ctx): Likewise.
42733         (libc_feholdsetroundl_ctx): Likewise.
42735         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42736         with __USE_GNU instead of XOPEN cpp guards.
42738         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42739         0.
42741         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42742         with XOPEN cpp guards.
42744 2014-04-30  Julian Brown  <julian@codesourcery.com>
42746         [BZ #16888]
42747         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42748         handling.
42750 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
42752         [BZ #9894]
42753         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42754         Change to 2.6.32.
42755         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42756         * sysdeps/unix/sysv/linux/configure: Regenerated.
42757         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42758         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42759         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42760         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42761         * README: Update reference to required Linux kernel version.
42762         * manual/install.texi (Linux): Update reference to required Linux
42763         kernel headers version.
42764         * INSTALL: Regenerated.
42766         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42767         header inclusion.
42768         [POSIX] (limits.h): Likewise.
42769         [POSIX] (math.h): Likewise.
42770         [POSIX] (sys/wait.h): Likewise.
42771         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
42772         function.
42773         [POSIX] (stddef.h): Do not allow header inclusion.
42775 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42777         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
42779 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
42781         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
42782         Return immediately after lll_futex_wake.
42784 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42786         [BZ #16791]
42787         * nscd/nscd-client.h (datahead_init_common): Initialize entire
42788         structure.
42789         (datahead_init_pos): Call datahead_init_common early.
42790         (datahead_init_neg): Likewise.
42792         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
42793         datahead_init_neg): New functions.
42794         * nscd/aicache.c (addhstaiX): Use them.
42795         * nscd/grpcache.c (cache_addgr): Likewise.
42796         * nscd/hstcache.c (cache_addhst): Likewise.
42797         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42798         * nscd/netgroupcache.c (do_notfound): Likewise.
42799         (addgetnetgrentX): Likewise.
42800         (addinnetgrX): Likewise.
42801         * nscd/pwdcache.c (cache_addpw): Likewise.
42802         * nscd/servicescache.c (cache_addserv): Likewise.
42804 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42805             Atsushi Onoe  <atsushi@onoe.org>
42807         [BZ #14308]
42808         [BZ #12994]
42809         [BZ #13651]
42810         * resolv/res_query.c (__libc_res_nsearch): Return if at least
42811         one response is valid.
42812         * resolv/res_send.c (send_dg): Check for validity of other
42813         response if the current response is a referral.
42815 2014-04-29  Steve Ellcey  <sellcey@mips.com>
42817         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
42819 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
42821         [BZ #16823]
42822         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
42823         Always divide by positive zero when computing -Inf result.
42824         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42825         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
42827 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42829         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
42830         FPSCR if value do not change.
42831         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42832         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
42833         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
42834         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
42835         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
42836         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
42837         function.
42839 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
42841         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
42842         * sysdeps/unix/sysv/linux/hppa: Move directory from
42843         ports/systeps/unix/sysv/linux/hppa.
42844         * README: Update listing for hppa-*-linux-gnu.
42846 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
42848         [BZ #16754]
42849         * manual/stdio.texi (Hook functions): Fix types of stream hook
42850         functions.
42851         [BZ #16854]
42852         * socket/sys/socket.h: Fix typo in comment.
42854 2014-04-28  Wilco  <wdijkstr@arm.com>
42856         * sysdeps/arm/fenv_private.h: New file.
42857         * sysdeps/arm/math_private.h: New file.
42858         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
42860 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
42862         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
42863         with __int128_t.
42864         (La_x86_64_retval): Likewise.
42866 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
42868         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
42869         fpsr if value didn't change.
42870         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
42871         to fpcr if value didn't change.
42872         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
42873         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
42874         fpsr or fpcr if value didn't change.
42875         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
42876         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
42877         fpcr if value didn't change.
42878         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
42879         to fpsr if value didn't change.
42881 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
42883         * nptl/tst-sem3.c: Use test-skeleton.c
42884         (main): Rename to do_test.  Use return instead of
42885         exit.
42886         * nptl/tst-sem4.c: Use test-skeleton.c
42887         (main): Rename to do_test.
42889 2014-04-22  David S. Miller  <davem@davemloft.net>
42891         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
42892         (struct sigaction): New struct member __glibc_reserved0, change
42893         type of sa_flags to int.
42895 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
42897         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
42898         (COUNT_LEADING_ZEROS_0): Define for AArch64.
42900 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42902         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
42903         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
42905 2014-04-22  Will Newton  <will.newton@linaro.org>
42906             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
42908         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
42909         (__longjmp): Add longjmp and longjmp_target SystemTap
42910         probes.
42911         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
42912         (__sigsetjmp): Add setjmp SystemTap probe.
42914 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
42916         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
42917         match manual order.
42919 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42921         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
42923         * sysdeps/powerpc/fpu/fenv_private.h
42924         (libc_feholdexcept_setroundl_ctx): Define to
42925         libc_feholdexcept_setround_ppc_ctx.
42926         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
42927         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
42928         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
42929         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
42931 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42933         * sysdeps/aarch64/math-tests.h: New file.
42935 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
42937         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
42938         New.
42939         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42940         Check and set bit_AVX2_Usable.
42941         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
42942         macro.
42943         (bit_AVX2): Likewise.
42944         (index_AVX2_Usable): Likewise.
42945         (CPUID_AVX2): Likewise.
42946         (HAS_AVX2): Likewise.
42948 2014-04-17  Will Newton  <will.newton@linaro.org>
42950         * manual/setjmp.texi (System V contexts): Add note that
42951         calling setcontext on a context created by a call to a
42952         signal handler is undefined.  Update text to note that
42953         setcontext from a signal handler is possible but not
42954         recommended.
42956         [BZ #16629]
42957         * stdlib/tst-setcontext.c: Include signal.h.
42958         (main): Check that the signal stack before and
42959         after swapcontext is the same.
42961         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
42962         Re-implement to restore registers in user code and avoid
42963         rt_sigreturn system call.
42965 2014-04-17  Wilco  <wdijkstr@arm.com>
42967         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
42968         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
42969         * math/test-fenv.c: Skip exception trap tests on targets which only
42970         support non-stop mode.
42972 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
42973             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42975         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
42976         (libc_feholdsetround_aarch64_ctx)
42977         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
42978         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
42979         (libc_feresetround_ctx, libc_feresetroundf_ctx)
42980         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
42981         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
42982         (libc_feresetround_noexl_ctx): Define.
42984 2014-04-16  Richard Henderson  <rth@redhat.com>
42986         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
42988         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
42989         unwind tables.
42991         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
42992         const from the non-libc, non-ldso copy.
42994         * sysdeps/alpha/libm-test-ulps: Regenerate.
42996 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
42997             Wilco Dijkstra  <wilco.dijkstra@arm.com>
42999         * sysdeps/aarch64/fpu/math_private.h: New file.
43001 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43003         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43005 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
43007         [BZ #16275]
43008         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43009         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43010         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43011         Intel MPX bound registers before _dl_profile_fixup.
43012         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43013         registers after _dl_profile_fixup.  Save and restore bound
43014         registers bnd0/bnd1 when calling _dl_call_pltexit.
43015         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43016         (LR_BND_OFFSET): Likewise.
43017         (LRV_BND0_OFFSET): Likewise.
43018         (LRV_BND1_OFFSET): Likewise.
43020 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43022         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43023         to...
43024         * sysdeps/mach/hurd/i386/tls.h: ... here.
43025         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43026         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43027         fields.
43029 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43031         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43033 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43035         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43037 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43039         [BZ #14770]
43040         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43041         * sysdeps/s390/configure: Regenerate.
43043         [BZ #16824]
43044         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43045         Set round-to-nearest internally to reduce error accumulation.
43047 2014-04-16  Alan Modra  <amodra@gmail.com>
43049         [BZ #16740]
43050         [BZ #16619]
43051         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43052         * math/libm-test.inc (frexp_test_data): Add tests.
43053         * NEWS: Update fixed bug list.
43055 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43057         * benchtests/Makefile: Depend on libraries in build directory.
43058         (bench-math): Separate out math tests.
43059         (bench-pthread): Separate out pthread tests.
43060         (bench): Include math and pthread tests.
43062 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
43064         [BZ #16831]
43065         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43066         _dl_debug_initialize.
43068         * configure.ac: Remove SELinux header check.
43069         * configure: Regenerate.
43070         * nscd/selinux.c (perms): Array of const char* to permission names.
43071         (nscd_request_avc_has_perm): Call security_deny_unknown to find
43072         default policy. Call string_to_security_class and string_to_av_perm to
43073         translate strings. Enforce default policy and call avs_has_perm with
43074         results of translated strings.
43076 2014-04-13  David S. Miller  <davem@davemloft.net>
43078         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43080 2014-04-12  Allan McRae  <allan@archlinux.org>
43082         [BZ #16838]
43083         * manual/string.texi (Collation Functions): Fix qsort argument
43084         order in example.
43085         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43087 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
43089         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43090         Make the test a no-op if there are no exceptions defined.
43092 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
43094         * elf/Makefile (tests): make tst-dlopen-aout conditional on
43095         enable-hardcoded-path-in-tests
43097 2014-04-11  Will Newton  <will.newton@linaro.org>
43099         * benchtests/Makefile (extra-objs): Add json-lib.o.
43100         (bench-func): Tidy up JSON output.
43101         * benchtests/bench-skeleton.c: Include json-lib.h.
43102         (main): Use JSON library functions to do output of
43103         benchmark results.
43104         * benchtests/bench-timing-type.c (main): Output the
43105         timing type simply, leaving formatting to the user.
43106         * benchtests/json-lib.c: New file.
43107         * benchtests/json-lib.h: Likewise.
43109 2014-04-11  Torvald Riegel  <triegel@redhat.com>
43111         [BZ #15215]
43112         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43113         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
43114         memory barriers.  Add comments.
43115         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43116         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43117         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43118         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43119         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43120         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43122 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43124         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43125         * sysdeps/s390/s390-64/configure.ac: ... this ...
43126         * sysdeps/s390/configure.ac: ... to here.
43127         * sysdeps/s390/s390-32/configure: Delete file.
43128         * sysdeps/s390/s390-64/configure: Delete file.
43129         * sysdeps/s390/configure: Regenerate.
43131 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
43133         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43135 2014-04-11  Will Newton  <will.newton@linaro.org>
43137         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43138         to zero if it is not defined elsewhere.  (mtrim): Test
43139         the value of MALLOC_DEBUG with #if rather than #ifdef.
43141 2014-04-10 Torvald Riegel  <triegel@redhat.com>
43143         * benchtests/pthread_once-inputs: New file.
43144         * benchtests/pthread_once-source.c: New file.
43145         * benchtests/README: Update documentation.
43147 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
43148             H.J. Lu  <hongjiu.lu@intel.com>
43150         [BZ #16275]
43151         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43152         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43153         * sysdeps/x86_64/configure: Regenerated.
43154         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43155         macro.
43156         (REGISTER_SAVE_RAX): Likewise.
43157         (REGISTER_SAVE_RCX): Likewise.
43158         (REGISTER_SAVE_RDX): Likewise.
43159         (REGISTER_SAVE_RSI): Likewise.
43160         (REGISTER_SAVE_RDI): Likewise.
43161         (REGISTER_SAVE_R8): Likewise.
43162         (REGISTER_SAVE_R9): Likewise.
43163         (REGISTER_SAVE_BND0): Likewise.
43164         (REGISTER_SAVE_BND1): Likewise.
43165         (REGISTER_SAVE_BND2): Likewise.
43166         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
43167         bound registers when calling _dl_fixup.
43169 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43171         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43172         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43173         of its definition.
43174         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43175         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43176         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43177         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43178         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43179         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43180         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43182 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
43184         [BZ #15514]
43185         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43186         pathconf(_PC_NAME_MAX).
43188 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43190         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43191         Remove macro usage.
43192         (__PTHREAD_SPINS): Move definition to ...
43193         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43194         (__PTHREAD_SPINS): ... here.
43195         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43196         (__PTHREAD_SPIN): Likewise.
43197         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43198         (__PTHREAD_SPIN): Likewise.
43199         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43200         (__PTHREAD_SPIN): Likewise.
43201         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43202         (__PTHREAD_SPIN): Likewise.
43203         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43204         (__PTHREAD_SPIN): Likewise.
43205         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43206         (__PTHREAD_SPIN): Likewise.
43207         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43208         (__PTHREAD_SPIN): Likewise.
43209         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43210         (__PTHREAD_SPIN): Likewise.
43211         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43212         (__PTHREAD_SPIN): Likewise.
43213         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43214         (__PTHREAD_SPIN): Likewise.
43215         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43216         (__PTHREAD_SPIN): Likewise.
43217         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43218         (__PTHREAD_SPIN): Likewise.
43220         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43221         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43222         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43223         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43224         imply folder.
43225         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43226         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43227         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43228         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43229         correct imply path.
43230         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43231         strlen symbol for non multi-arch builds.
43232         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43233         missing hidden_def and weak_alias.
43235 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43237         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43239 2014-04-07  Will Newton  <will.newton@linaro.org>
43241         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43242         and contents.  [!_LIBC] Remove #ifndef and contents.
43243         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43244         * string/memccpy.c (__memccpy): Use ANSI prototype.
43245         * string/memfrob.c (memfrob): Likewise.
43246         * string/strcoll.c (STRCOLL): Likewise.
43247         * string/strlen.c (strlen): Likewise.
43248         * string/strtok.c (STRTOK): Likewise.
43249         * string/strcat.c: Remove unused #include of memcopy.h.
43250         (strcat): Use ANSI prototype.
43251         * string/strchr.c: Remove unused #include of memcopy.h.
43252         (strchr): Use ANSI prototype.
43253         * string/strcmp.c: Remove unused #include of memcopy.h.
43254         (strcmp): Use ANSI prototype.
43255         * string/strcpy.c: Remove unused #include of memcopy.h.
43256         (strcpy): Use ANSI prototype.
43258 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43260         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43261         * config.make.in (config-extra-cppflags): Set it from
43262         libc_extra_cppflags.
43263         * configure.ac (libc_extra_cflags): Make it accumulate over
43264         configure fragments.
43265         (libc_extra_cppflags): New flag.
43266         * configure. Regenerate.
43267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43268         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43269         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43272         [BZ #16815]
43273         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43274         result for FE_DOWNWARD rounding mode.
43275         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43276         Likewise.
43277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43279 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43281         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43282         in function argument name.
43284 2014-04-03  David Svoboda  <svoboda@cert.org>
43286         [BZ #5666]
43287         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43288         explicitly.
43290 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43292         * elf/dl-unmap-segments.h: New file.
43293         * sysdeps/generic/ldsodefs.h
43294         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43295         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43296         * elf/dl-fptr.c: Likewise.
43297         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43298         * sysdeps/aarch64/tlsdesc.c: Likewise.
43299         * sysdeps/arm/tlsdesc.c: Likewise.
43300         * sysdeps/i386/tlsdesc.c: Likewise.
43301         * sysdeps/tile/dl-runtime.c: Likewise.
43302         * sysdeps/x86_64/tlsdesc.c: Likewise.
43303         * elf/dl-load.h: New file.
43304         * elf/dl-load.c: Include it.
43305         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43306         Macros moved to dl-load.h.
43307         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43308         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43309         Use _dl_unmap_segments in place of __munmap.
43310         Break out segment-mapping loop into ...
43311         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43313 2014-04-03  Will Newton  <will.newton@linaro.org>
43315         * elf/dl-lookup.c (do_lookup_x): Remove comment
43316         referring to nested function and move variable
43317         declarations down to before first use.
43319 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43321         [BZ #16799]
43322         [BZ #16800]
43323         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43324         with 0 numerator.
43325         * math/s_catanf.c (__catanf): Likewise.
43326         * math/s_catanh.c (__catanh): Likewise.
43327         * math/s_catanhf.c (__catanhf): Likewise.
43328         * math/s_catanhl.c (__catanhl): Likewise.
43329         * math/s_catanl.c (__catanl): Likewise.
43330         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43331         by positive zero when computing -Inf result.
43332         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43333         (catanh_test): Likewise.
43334         * sysdeps/i386/fpu/libm-test-ulps: Update.
43335         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43337         [BZ #16789]
43338         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43339         instead of using underflowing value in computing result.
43340         * math/s_clog10.c (__clog10): Likewise.
43341         * math/s_clog10f.c (__clog10f): Likewise.
43342         * math/s_clog10l.c (__clog10l): Likewise.
43343         * math/s_clogf.c (__clogf): Likewise.
43344         * math/s_clogl.c (__clogl): Likewise.
43345         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43346         (clog10_test): Likewise.
43347         * sysdeps/i386/fpu/libm-test-ulps: Update.
43348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43350 2014-04-02  Alan Modra  <amodra@gmail.com>
43352         [BZ #16739]
43353         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43354         output when value is near a power of two.  Use int64_t for lx and
43355         remove casts.  Use decimal rather than hex exponent constants.
43356         Don't use long double multiplication when double will suffice.
43357         * math/libm-test.inc (nextafter_test_data): Add tests.
43358         * NEWS: Add 16739 and 16786 to bug list.
43360         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43362         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43364 2014-04-01  Will Newton  <will.newton@linaro.org>
43366         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43367         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43369 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43371         [BZ #13347]
43372         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43373         * nptl/tst-setuid2.c: New file.
43374         * nptl/Makefile (xtests): Add tst-setuid2.
43376 2014-04-01  Alan Modra  <amodra@gmail.com>
43378         [BZ #16786]
43379         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43381 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43383         [BZ #6803]
43384         [BZ #6804]
43385         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43386         set errno as appropriate.
43387         * math/w_scalbf.c (__scalbf): Likewise.
43388         * math/w_scalbl.c (__scalbl): Likewise.
43389         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43390         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43391         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43392         Add more NaN tests.
43394         [BZ #16349]
43395         * math/w_atan2.c: Include <errno.h>.
43396         (__atan2): Set errno for result underflowing to zero.
43397         * math/w_atan2f.c: Include <errno.h>.
43398         (__atan2f): Set errno for result underflowing to zero.
43399         * math/w_atan2l.c: Include <errno.h>.
43400         (__atan2l): Set errno for result underflowing to zero.
43401         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43402         tests.
43403         * math/auto-libm-test-out: Regenerated.
43405 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43407         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43408         Encode instruction correctly in little endian.
43409         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43410         Likewise.
43411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43412         Likewise.
43413         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43414         Likewise.
43415         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43416         Likewise.
43418 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43420         [BZ #9894]
43421         * sysdeps/unix/sysv/linux/kernel-features.h
43422         [__sparc__ && !__arch64__ && !__sparc_v9__]
43423         (__ASSUME_SET_ROBUST_LIST): Do not define.
43424         [__sparc__ && !__arch64__ && !__sparc_v9__]
43425         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43426         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43427         Likewise.
43428         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43429         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43430         (__ASSUME_REQUEUE_PI): Likewise.
43431         (__ASSUME_SET_ROBUST_LIST): Likewise.
43432         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43433         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43434         Undefine.
43435         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43436         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43437         Likewise.
43438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43439         Likewise.
43440         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43441         Likewise.
43442         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43443         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43444         Undefine.
43445         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43446         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43447         Likewise.
43449         [BZ #16648]
43450         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43451         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43452         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43454 2014-03-31  Will Newton  <will.newton@linaro.org>
43456         * benchtests/Makefile (bench): Add ffs and ffsll to list
43457         of tests.
43458         * benchtests/ffs-inputs: New file.
43459         * benchtests/ffsll-inputs: Likewise.
43461 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43463         [BZ #16770]
43464         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43465         too large before casting to int.
43466         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43467         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43468         * math/libm-test.inc (scalb_test_data): Add more tests.
43470 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43472         * benchtests/Makefile (DETAILED_OPT): New make option.
43473         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43474         set.
43475         * benchtests/bench-skeleton.c: Include stdbool.h.
43476         (main): Store and print timings per input.
43477         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43478         member to each argument value.
43479         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43480         (_print_arg_data): Initialize per-input timing to 0.
43482         * benchtests/Makefile (timing-type): New binary.
43483         (bench-clean): Also remove bench-timing-type.
43484         (bench): New target for timing-type.
43485         (bench-func): Print output in JSON format.
43486         * benchtests/bench-skeleton.c (main): Print output in JSON
43487         format.
43488         * benchtests/bench-timing-type.c: New file.
43489         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43490         (TIMING_PRINT_STATS): Remove.
43491         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43492         name separately.
43494         * benchtests/bench-modf.c: Remove.
43495         * benchtests/modf-inputs: New inputs file.
43497 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43499         [BZ #16362]
43500         * math/s_clog10.c (M_PI_LOG10E): New macro.
43501         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43502         imaginary parts are 0.
43503         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43504         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43505         imaginary parts are 0.
43506         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43507         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43508         imaginary parts are 0.
43509         * math/libm-test.inc (clog10_test_data): Update expected results
43510         for when real and imaginary parts are 0.
43512 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43514         * elf/dl-load.c: Finish conversion of __builtin_expect into
43515         __glibc_{un}likely.
43517 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43519         [BZ #16348]
43520         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43521         1+x for argument with exponent below -67.
43522         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43523         Likewise.
43524         * math/auto-libm-test-in: Add more tests of exp.
43525         * math/auto-libm-test-out: Regenerated.
43527 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43529         [BZ #16759]
43530         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43531         (nscd_getnetgrent): Use it.
43533         [BZ #16760]
43534         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43535         of stpcpy.
43537 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43539         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43540         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43541         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43542         (lll_robust_unlock): Remove out of line section. Use cfi
43543         intrinsics.
43544         (LLL_STUB_UNWIND_INFO*): Remove.
43545         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43546         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43547         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43548         (lll_robust_unlock): Remove out of line section. Use cfi
43549         intrinsics.
43550         (LLL_STUB_UNWIND_INFO*): Remove.
43552 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43554         [BZ #16758]
43555         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43556         blank values.
43558 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43560         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43562 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43564         [BZ #16198]
43565         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43566         fnstenv.
43567         * math/test-fenv-preserve.c: New file.
43568         * math/Makefile (tests): Add test-fenv-preserve.
43570 2014-03-26  Will Newton <will.newton@linaro.org>
43572         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43574 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43576         * scripts/versionlist.awk: Partition the version sets and emit all
43577         GLIBC_* (sorted) before all others (sorted).
43579 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43581         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43582         GLIBC_2.2.5 version.
43584 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43586         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43587         calls.
43589         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43590         previous change.
43592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43594 2014-03-25  Andreas Schwab  <schwab@suse.de>
43596         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43597         label to be used after in6ailist is initialized.
43599 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43601         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43602         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43604 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43606         [BZ #16357]
43607         [BZ #16599]
43608         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43609         min_plus_half.
43610         (fp_formats): Update initializers.
43611         (init_fp_formats): Initialize new field.
43612         (output_for_one_input_case): Allow underflow for results up to
43613         min_plus_half.
43614         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43615         * math/auto-libm-test-in: Don't mark some underflows from asin and
43616         atanh as spurious.
43617         * math/auto-libm-test-out: Regenerated.
43618         * sysdeps/i386/fpu/libm-test-ulps: Update.
43619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43621 2014-03-25  Andreas Schwab  <schwab@suse.de>
43623         * libio/Makefile (tst-ftell-partial-wide-ENV)
43624         (tst-ftell-active-handler-ENV): Define.
43626 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43628         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43630 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43632         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43634 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43636         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43637         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43638         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43640 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43642         [BZ #16634]
43643         * elf/dl-load.c (open_verify): Add mode parameter.
43644         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43645         (open_path): Change from boolean 'secure' to complete flag 'mode'
43646         (_dl_map_object): Adjust.
43647         * elf/Makefile (tests): Add tst-dlopen-aout.
43648         * elf/tst-dlopen-aout.c: New test.
43650 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43652         [BZ #16714]
43653         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43654         (struct stat): Rename member pad0 to __glibc_reserved0.
43656         [BZ #16712]
43657         * sysdeps/s390/s390-32/bits/wordsize.h
43658         (__WORDSIZE32_SIZE_ULONG): New define.
43659         * sysdeps/s390/s390-64/bits/wordsize.h
43660         (__WORDSIZE32_SIZE_ULONG): Likewise.
43661         * sysdeps/generic/stdint.h (SIZE_MAX):
43662         Define as UL if __WORDSIZE32_SIZE_ULONG.
43664         [BZ #16713]
43665         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43666         (__glibc_reserved0): New variable.
43667         (sa_flags): Change type to int.
43669         * posix/Makefile (before-compile): Use += before-compile instead
43670         of a :=.
43672         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43673         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43675 2014-03-20  Andreas Schwab  <schwab@suse.de>
43677         [BZ #16743]
43678         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43679         non-matching result from nscd.
43681 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43683         * scripts/bench.py: Moved to ...
43684         * benchtests/scripts/bench.py: ... here.
43685         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43687 2014-03-24  Andreas Schwab  <schwab@suse.de>
43689         [BZ #16002]
43690         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43691         alloca_account and account alloca use for struct in6ailist.
43693 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43695         [BZ #16284]
43696         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43697         rounding mode to recompute results that overflow to infinity or
43698         underflow to zero.
43699         * math/auto-libm-test-in: Don't mark tests as expected to fail for
43700         bug 16284.
43701         * math/auto-libm-test-out: Regenerated.
43702         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43703         (ccosh_test): Likewise.
43704         (csin_test_data): Use plus_oflow.
43705         (csin_test): Use ALL_RM_TEST.
43706         (csinh_test_data): Use plus_oflow.
43707         (csinh_test): Use ALL_RM_TEST.
43708         * sysdeps/i386/fpu/libm-test-ulps: Update.
43709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43711 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
43713         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43714         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43715         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43717         [BZ #16731]
43718         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43719         when x - 1 is zero.
43720         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43721         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43722         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43723         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43724         argument is 1.
43725         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43726         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43727         zero.
43728         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43729         * sysdeps/i386/fpu/libm-test-ulps: Update.
43730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43732 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43734         * scripts/bench.pl: Remove file.
43735         * scripts/bench.py: New benchmark script.
43736         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43737         * benchtests/README: Mention python dependency.
43738         * scripts/pylintrc: New file.
43739         * scripts/pylint: New file.
43741         * bits/mathdef.h: Use #ifdef instead of #if.
43742         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43743         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43744         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43745         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43746         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43747         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43749 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43750             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
43752         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43753         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43754         and strpbrk-ppc64 objects.
43755         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43756         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43757         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43758         multiarch strpbrk for POWER7.
43759         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43760         multiarch strpbrk for PPC64.
43761         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43762         ifunc selector.
43763         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43764         strpbrk for POWER7.
43766 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43768         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
43769         (atan_test): Likewise.
43770         (atanh_test_data): Use NO_TEST_INLINE for two tests.
43771         (atanh_test): Use ALL_RM_TEST.
43772         (atan2_test_data): Likewise.
43773         (cabs_test): Likewise.
43774         (cacosh_test): Likewise.
43775         (carg_test): Likewise.
43776         (casin_test): Likewise.
43777         (casinh_test): Likewise.
43778         (cbrt_test): Likewise.
43779         (csqrt_test): Likewise.
43780         (erf_test): Likewise.
43781         (erfc_test): Likewise.
43782         (pow10_test): Likewise.
43783         (exp2_test): Likewise.
43784         (hypot_test): Likewise.
43785         (j0_test): Likewise.
43786         (j1_test): Likewise.
43787         (lgamma_test): Likewise.
43788         (gamma_test): Likewise.
43789         (sincos_test): Likewise.
43790         (tanh_test): Likewise.
43791         (y0_test): Likewise.
43792         (y1_test): Likewise.
43793         * sysdeps/i386/fpu/libm-test-ulps: Update.
43794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43796 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43798         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
43799         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
43800         and strcspn-ppc64 objects.
43801         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43802         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
43803         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
43804         multiarch strcspn for POWER7.
43805         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
43806         multiarch strcspn for PPC64.
43807         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
43808         ifunc selector.
43809         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
43810         strcspn for POWER7.
43812 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
43814         * math/gen-libm-test.pl (generate_testfile): Expect only function
43815         name as argument to AUTO_TESTS_* and pass results for all rounding
43816         modes to parse_args.
43817         (parse_auto_input): Separate inputs of automatic tests from
43818         outputs before storing in %auto_tests.
43819         * math/libm-test.inc (acos_test_data): Update call to
43820         AUTO_TESTS_f_f.
43821         (acos_test): Use ALL_RM_TEST.
43822         (acos_tonearest_test_data): Remove.
43823         (acos_test_tonearest): Likewise.
43824         (acos_towardzero_test_data): Likewise.
43825         (acos_test_towardzero): Likewise.
43826         (acos_downward_test_data): Likewise.
43827         (acos_test_downward): Likewise.
43828         (acos_upward_test_data): Likewise.
43829         (acos_test_upward): Likewise.
43830         (acosh_test_data): Update call to AUTO_TESTS_f_f.
43831         (asin_test_data): Likewise.
43832         (asin_test): Use ALL_RM_TEST.
43833         (asin_tonearest_test_data): Remove.
43834         (asin_test_tonearest): Likewise.
43835         (asin_towardzero_test_data): Likewise.
43836         (asin_test_towardzero): Likewise.
43837         (asin_downward_test_data): Likewise.
43838         (asin_test_downward): Likewise.
43839         (asin_upward_test_data): Likewise.
43840         (asin_test_upward): Likewise.
43841         (asinh_test_data): Update call to AUTO_TESTS_f_f.
43842         (atan_test_data): Likewise.
43843         (atanh_test_data): Likewise.
43844         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
43845         (cabs_test_data): Update call to AUTO_TESTS_c_f.
43846         (carg_test_data): Likewise.
43847         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
43848         (ccos_test_data): Update call to AUTO_TESTS_c_c.
43849         (ccosh_test_data): Likewise.
43850         (cexp_test_data): Likewise.
43851         (clog_test_data): Likewise.
43852         (clog10_test_data): Likewise.
43853         (cos_test_data): Update call to AUTO_TESTS_f_f.
43854         (cos_test): Use ALL_RM_TEST.
43855         (cos_tonearest_test_data): Remove.
43856         (cos_test_tonearest): Likewise.
43857         (cos_towardzero_test_data): Likewise.
43858         (cos_test_towardzero): Likewise.
43859         (cos_downward_test_data): Likewise.
43860         (cos_test_downward): Likewise.
43861         (cos_upward_test_data): Likewise.
43862         (cos_test_upward): Likewise.
43863         (cosh_test_data): Update call to AUTO_TESTS_f_f.
43864         (cosh_test): Use ALL_RM_TEST.
43865         (cosh_tonearest_test_data): Remove.
43866         (cosh_test_tonearest): Likewise.
43867         (cosh_towardzero_test_data): Likewise.
43868         (cosh_test_towardzero): Likewise.
43869         (cosh_downward_test_data): Likewise.
43870         (cosh_test_downward): Likewise.
43871         (cosh_upward_test_data): Likewise.
43872         (cosh_test_upward): Likewise.
43873         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
43874         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
43875         (ctan_test_data): Likewise.
43876         (ctan_test): Use ALL_RM_TEST.
43877         (ctan_tonearest_test_data): Remove.
43878         (ctan_test_tonearest): Likewise.
43879         (ctan_towardzero_test_data): Likewise.
43880         (ctan_test_towardzero): Likewise.
43881         (ctan_downward_test_data): Likewise.
43882         (ctan_test_downward): Likewise.
43883         (ctan_upward_test_data): Likewise.
43884         (ctan_test_upward): Likewise.
43885         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
43886         (ctanh_test): Use ALL_RM_TEST.
43887         (ctanh_tonearest_test_data): Remove.
43888         (ctanh_test_tonearest): Likewise.
43889         (ctanh_towardzero_test_data): Likewise.
43890         (ctanh_test_towardzero): Likewise.
43891         (ctanh_downward_test_data): Likewise.
43892         (ctanh_test_downward): Likewise.
43893         (ctanh_upward_test_data): Likewise.
43894         (ctanh_test_upward): Likewise.
43895         (erf_test_data): Update call to AUTO_TESTS_f_f.
43896         (erfc_test_data): Likewise.
43897         (exp_test_data): Likewise.
43898         (exp_test): Use ALL_RM_TEST.
43899         (exp_tonearest_test_data): Remove.
43900         (exp_test_tonearest): Likewise.
43901         (exp_towardzero_test_data): Likewise.
43902         (exp_test_towardzero): Likewise.
43903         (exp_downward_test_data): Likewise.
43904         (exp_test_downward): Likewise.
43905         (exp_upward_test_data): Likewise.
43906         (exp_test_upward): Likewise.
43907         (exp10_test_data): Update call to AUTO_TESTS_f_f.
43908         (exp10_test): Use ALL_RM_TEST.
43909         (exp10_tonearest_test_data): Remove.
43910         (exp10_test_tonearest): Likewise.
43911         (exp10_towardzero_test_data): Likewise.
43912         (exp10_test_towardzero): Likewise.
43913         (exp10_downward_test_data): Likewise.
43914         (exp10_test_downward): Likewise.
43915         (exp10_upward_test_data): Likewise.
43916         (exp10_test_upward): Likewise.
43917         (exp2_test_data): Update call to AUTO_TESTS_f_f.
43918         (expm1_test_data): Likewise.
43919         (expm1_test): Use ALL_RM_TEST.
43920         (expm1_tonearest_test_data): Remove.
43921         (expm1_test_tonearest): Likewise.
43922         (expm1_towardzero_test_data): Likewise.
43923         (expm1_test_towardzero): Likewise.
43924         (expm1_downward_test_data): Likewise.
43925         (expm1_test_downward): Likewise.
43926         (expm1_upward_test_data): Likewise.
43927         (expm1_test_upward): Likewise.
43928         (fma_test_data): Update call to AUTO_TESTS_fff_f.
43929         (fma_test): Use ALL_RM_TEST.
43930         (fma_towardzero_test_data): Remove.
43931         (fma_test_towardzero): Likewise.
43932         (fma_downward_test_data): Likewise.
43933         (fma_test_downward): Likewise.
43934         (fma_upward_test_data): Likewise.
43935         (fma_test_upward): Likewise.
43936         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
43937         (j0_test_data): Update call to AUTO_TESTS_f_f.
43938         (j1_test_data): Likewise.
43939         (jn_test_data): Update call to AUTO_TESTS_if_f.
43940         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
43941         (log_test_data): Update call to AUTO_TESTS_f_f.
43942         (log10_test_data): Likewise.
43943         (log1p_test_data): Likewise.
43944         (log2_test_data): Likewise.
43945         (pow_test_data): Update call to AUTO_TESTS_ff_f.
43946         (pow_tonearest_test_data): Likewise.
43947         (sin_test_data): Update call to AUTO_TESTS_f_f.
43948         (sin_test): Use ALL_RM_TEST.
43949         (sin_tonearest_test_data): Remove.
43950         (sin_test_tonearest): Likewise.
43951         (sin_towardzero_test_data): Likewise.
43952         (sin_test_towardzero): Likewise.
43953         (sin_downward_test_data): Likewise.
43954         (sin_test_downward): Likewise.
43955         (sin_upward_test_data): Likewise.
43956         (sin_test_upward): Likewise.
43957         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
43958         (sinh_test_data): Update call to AUTO_TESTS_f_f.
43959         (sinh_test): Use ALL_RM_TEST.
43960         (sinh_tonearest_test_data): Remove.
43961         (sinh_test_tonearest): Likewise.
43962         (sinh_towardzero_test_data): Likewise.
43963         (sinh_test_towardzero): Likewise.
43964         (sinh_downward_test_data): Likewise.
43965         (sinh_test_downward): Likewise.
43966         (sinh_upward_test_data): Likewise.
43967         (sinh_test_upward): Likewise.
43968         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
43969         (sqrt_test): Use ALL_RM_TEST.
43970         (sqrt_tonearest_test_data): Remove.
43971         (sqrt_test_tonearest): Likewise.
43972         (sqrt_towardzero_test_data): Likewise.
43973         (sqrt_test_towardzero): Likewise.
43974         (sqrt_downward_test_data): Likewise.
43975         (sqrt_test_downward): Likewise.
43976         (sqrt_upward_test_data): Likewise.
43977         (sqrt_test_upward): Likewise.
43978         (tan_test_data): Update call to AUTO_TESTS_f_f.
43979         (tan_test): Use ALL_RM_TEST.
43980         (tan_tonearest_test_data): Remove.
43981         (tan_test_tonearest): Likewise.
43982         (tan_towardzero_test_data): Likewise.
43983         (tan_test_towardzero): Likewise.
43984         (tan_downward_test_data): Likewise.
43985         (tan_test_downward): Likewise.
43986         (tan_upward_test_data): Likewise.
43987         (tan_test_upward): Likewise.
43988         (tanh_test_data): Update call to AUTO_TESTS_f_f.
43989         (tgamma_test_data): Likewise.
43990         (y0_test_data): Likewise.
43991         (y1_test_data): Likewise.
43992         (yn_test_data): Update call to AUTO_TESTS_if_f.
43993         (main): Do not call removed functions.
43995 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
43997         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
43998         (ldexp_test_data): Remove.
43999         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
44000         scalbn_test_data.
44001         (scalb_test): Use ALL_RM_TEST.
44003 2014-03-19  Andreas Schwab  <schwab@suse.de>
44005         * nscd/nscd.service: Also invalidate netgroup cache on reload.
44007 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
44009         [BZ #16649]
44010         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44011         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44012         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44013         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44014         (__ASSUME_PREADV): Undefine.
44015         (__ASSUME_PWRITEV): Likewise.
44017 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44019         * bits/mman-linux.h: Add comment about non-Linux use.
44020         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44021         bits/mman-linux.h resting place.
44023         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44024         * bits/mman-linux.h: ... here.
44026 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44028         * conform/conformtest.pl: Add standard definition when calling C
44029         preprocessor on data files.
44030         (checknamespace): Remove unused variable.
44032 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44034         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44035         minus_oflow, plus_uflow and minus_uflow in expected results.
44036         * math/libm-test.inc (scalbn_test_data): Add more tests of
44037         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
44038         minus_uflow.
44039         (scalbn_test): Use ALL_RM_TEST.
44040         (scalbln_test_data): Add more tests of negative arguments.  Use
44041         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44042         (scalbln_test): Use ALL_RM_TEST.
44044 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44046         * scripts/abilist.awk: Ignore symbols marked with .hidden.
44048 2014-03-18  Will Newton  <will.newton@linaro.org>
44050         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44051         inaccurate comment.
44053 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44055         * Makerules [!subdir] (check-abi): Exit with error status if a
44056         test failed.
44058 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44060         * math/libm-test.inc (nearbyint_test_data): Include all tests used
44061         for rint.  Include results for all rounding modes.
44062         (nearbyint_test): Use ALL_RM_TEST.
44063         (rint_test_data): Include all tests used for nearbyint.
44065 2014-03-17  Will Newton  <will.newton@linaro.org>
44067         * nptl/sysdeps/pthread/pthread.h: Revert previous
44068         change.
44070         * sysdeps/generic/ldsodefs.h: Revert previous
44071         change.
44073         * libio/genops.c: Revert previous change.
44074         * libio/libioP.h: Likewise.
44075         * stdio-common/vfprintf.c: Likewise.
44077         * sysdeps/generic/math_private.h: Revert previous
44078         change.
44080         * sysdeps/generic/math_private.h: Check whether
44081         HAVE_RM_CTX is defined with #ifdef rather
44082         than #if.
44084         * argp/argp-fmtstream.h: Check whether
44085         __STRICT_ANSI__ is defined with #ifdef rather
44086         than #if.
44087         * argp/argp.h: Likewise.
44089         * libio/genops.c: Check whether
44090         _IO_JUMPS_OFFSET is defined with #ifdef rather
44091         than #if.
44092         * libio/libioP.h: Likewise.
44093         * stdio-common/vfprintf.c: Likewise.
44095         * sysdeps/generic/ldsodefs.h: Check whether
44096         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44097         than #if.
44099         * nptl/sysdeps/pthread/pthread.h: Check
44100         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44101         its value.
44103 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44105         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44106         setting O_APPEND.
44107         * libio/tst-ftell-active-handler.c (do_append_test): Add a
44108         test case.
44110         [BZ #16680]
44111         * libio/fileops.c (_IO_file_open): Seek to end of file but
44112         don't cache the offset.
44113         (get_file_offset): Remove function.
44114         (do_ftell): Use cached offset when available.
44115         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44116         don't cache the offset.
44117         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44118         case.
44119         (do_one_test): Call it.
44120         (do_ftell_test): Fix up expected old offset for a+ mode.
44121         * libio/wfileops.c (do_ftell_wide): Used cached offset when
44122         available.
44124         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44125         up test status with function return status.
44126         (do_write_test): Likewise.
44127         (do_append_test): Likewise.
44129         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44130         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44131         Remove.
44133 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44135         * math/gen-libm-test.pl (parse_args): Handle results specified for
44136         each rounding mode separately.
44137         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44138         tests and results from lrint_tonearest_test_data,
44139         lrint_towardzero_test_data, lrint_downward_test_data and
44140         lrint_upward_test_data.
44141         (lrint_test): Use ALL_RM_TEST.
44142         (lrint_tonearest_test_data): Remove.
44143         (lrint_test_tonearest): Likewise.
44144         (lrint_towardzero_test_data): Likewise.
44145         (lrint_test_towardzero): Likewise.
44146         (lrint_downward_test_data): Likewise.
44147         (lrint_test_downward): Likewise.
44148         (lrint_upward_test_data): Likewise.
44149         (lrint_test_upward): Likewise.
44150         (llrint_test_data): Merge in per-rounding-mode tests and results
44151         from llrint_tonearest_test_data, llrint_towardzero_test_data,
44152         llrint_downward_test_data and llrint_upward_test_data.
44153         (llrint_test): Use ALL_RM_TEST.
44154         (llrint_tonearest_test_data): Remove.
44155         (llrint_test_tonearest): Likewise.
44156         (llrint_towardzero_test_data): Likewise.
44157         (llrint_test_towardzero): Likewise.
44158         (llrint_downward_test_data): Likewise.
44159         (llrint_test_downward): Likewise.
44160         (llrint_upward_test_data): Likewise.
44161         (llrint_test_upward): Likewise.
44162         (rint_test_data): Merge in per-rounding-mode tests and results
44163         from rint_tonearest_test_data, rint_towardzero_test_data,
44164         rint_downward_test_data and rint_upward_test_data.  Add
44165         per-rounding-mode results for tests not in those arrays.
44166         (rint_test): Use ALL_RM_TEST.
44167         (rint_tonearest_test_data): Remove.
44168         (rint_test_tonearest): Likewise.
44169         (rint_towardzero_test_data): Likewise.
44170         (rint_test_towardzero): Likewise.
44171         (rint_downward_test_data): Likewise.
44172         (rint_test_downward): Likewise.
44173         (rint_upward_test_data): Likewise.
44174         (rint_test_upward): Likewise.
44175         (main): Don't call removed functions.
44177 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44179         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44180         "Compiled on ..." crapola.  It is anti-useful.
44182 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
44184         * scripts/evaluate-test.sh: Handle fourth argument to determine
44185         whether test run should stop on failure.
44186         * Makeconfig (stop-on-test-failure): New variable.
44187         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44188         $(stop-on-test-failure).
44189         * Makefile (tests): Give a summary of results from testing and
44190         exit with failure status if they include an ERROR or FAIL.
44191         (xtests): Likewise.
44192         * manual/install.texi (Configuring and compiling): Mention
44193         stop-on-test-failure=y.
44194         * INSTALL: Regenerated.
44196 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44198         * scripts/versionlist.awk: New file.
44199         * Makerules [$(build-shared) = yes]
44200         (postclean-generated): Add Versions.def, not Versions.def.v and
44201         Versions.def.v.i.
44202         ($(common-objpfx)Versions.def.v.i): Target removed.
44203         ($(common-objpfx)Versions.def): New target.
44204         ($(common-objpfx)Versions.all): Depend on that rather that
44205         $(common-objpfx)Versions.def.v.
44206         * Versions.def: File removed.
44208         * Makeconfig (+gccwarn): Add -Wundef.
44209         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44210         a dl-sysdep.h breaking its contract.
44211         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44212         * include/stackinfo.h: New file.
44213         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44214         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44215         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44216         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44217         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44218         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44219         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44220         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44221         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44222         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44223         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44224         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44225         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44226         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44227         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44229 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44231         [BZ #16707]
44232         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44233         implementation.
44234         * math/libm-test.inc (round_test_data): Add more tests.
44236         [BZ #16706]
44237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44238         implementation.
44239         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44241         [BZ #16701]
44242         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44243         implementation.
44244         * math/libm-test.inc (ceil_test_data): Add more tests.
44246         * math/libm-test.inc (trunc_test_data): Add more tests related to
44247         BZ#16414.
44249 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44251         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44252         with #if rather than #ifdef.
44253         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44255 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44257         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44258         first.  Disable AVX-512 GCC support if assembler doesn't support
44259         it.
44260         * sysdeps/x86_64/configure: Regenerated.
44262 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44264         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44265         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44266         (__old_pthread_attr_setstack): Likewise.
44267         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44268         [!_STACK_GROWS_DOWN]: Likewise.
44270 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44272         * config.make.in (have-bash2): Delete.
44273         * configure.ac (libc_cv_have_bash2): Delete.
44274         * configure: Regenerate.
44275         * elf/Makefile (common-ldd-rewrite): Rename to ...
44276         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44277         (sh-ldd-rewrite): Delete.
44278         (bash-ldd-rewrite): Delete.
44279         (have-bash2): Delete checks.
44280         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44281         ldd-rewrite.
44283         * config.make.in (have-ksh): Delete.
44284         (KSH): Delete.
44285         * configure.ac (libc_cv_have_ksh): Delete.
44286         * configure: Regenerate.
44288         * elf/Makefile: Delete $(have-ksh) check.
44289         ($(objpfx)sotruss): Change KSH to BASH.
44290         * elf/sotruss.ksh: Rename to ...
44291         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44292         function style to match POSIX.  Drop ksh vim mode setting.
44294         * manual/time.texi (Specifying the Time Zone with TZ): Change
44295         Tuesday to Thursday.
44297         * debug/tst-longjmp_chk2.c: Update header comment.
44298         (stackoverflow_handler): Add comment.  Call assert on pass value.
44300 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44302         [BZ #16194]
44303         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44304         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44305         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44306         (La_x86_64_vector): Add zmm.
44307         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44308         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44309         ($(objpfx)tst-audit10): New target.
44310         ($(objpfx)tst-audit10.out): Likewise.
44311         (tst-audit10-ENV): New.
44312         (AVX512-CFLAGS): Likewise.
44313         (CFLAGS-tst-audit10.c): Likewise.
44314         (CFLAGS-tst-auditmod10a.c): Likewise.
44315         (CFLAGS-tst-auditmod10b.c): Likewise.
44316         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44317         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44318         * sysdeps/x86_64/configure: Regenerated.
44319         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44320         AVX-512 zmm register support.
44321         (_dl_x86_64_save_sse): Likewise.
44322         (_dl_x86_64_restore_sse): Likewise.
44323         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44324         size vector registers.
44325         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44326         (ZMM_SIZE): Likewise.
44327         * sysdeps/x86_64/tst-audit10.c: New file.
44328         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44329         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44331 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44333         * configure.ac (HAVE_EHDR_START): New check.
44334         * configure: Regenerated.
44335         * config.h.in (HAVE_EHDR_START): New #undef.
44336         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44337         assuming the lowest-addressed segment maps the start of the file.
44339 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44341         * INSTALL: Regenerated.
44343 2014-03-13  Will Newton  <will.newton@linaro.org>
44345         * manual/setjmp.texi (System V contexts): Improve
44346         clarity and grammar of documentation.
44348 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44350         [BZ #16381]
44351         * elf/Makefile (tests): Add tst-pie2.
44352         (tests-pie): Add tst-pie2.
44353         * elf/tst-pie2.c: New file.
44354         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44355         for ET_EXEC.
44356         * elf/rtld.c (map_doit): Load executable as lt_executable.
44357         (dl_main): Likewise.
44359 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44361         [BZ #16642]
44362         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44363         (__ASSUME_PSELECT): Undefine.
44365 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44367         [BZ #16689]
44368         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44369         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44370         static build.
44371         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44372         selector for static builds.
44374 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44376         [BZ #16695]
44377         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44378         key in the buffer.
44380 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44382         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44383         IFUNC selector for static builds.
44385 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44387         * sysdeps/mips/math_private.h [__mips_hard_float]
44388         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44389         libc_feresetround_mips_ctx.
44390         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44391         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44392         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44394         [BZ #16677]
44395         * math/s_nextafter.c (__nextafter): Do not return value from
44396         overflowing computation.
44397         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44398         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44399         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44400         Likewise.
44401         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44402         Likewise.
44403         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44404         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44406 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44408         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44409         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44410         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44411         the new mov targetting sp.
44413 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44415         [BZ #16683]
44416         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44417         Define it for static builds as well.
44418         (NO_BZERO_IMPL): Likewise.
44420 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44422         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44423         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44424         multiarch strspn for PPC64.
44425         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44426         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44428         (__libc_ifunc_impl_list): Likewise.
44429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44430         multiarch optimizations
44431         * string/strspn.c (strspn): Using macro to redefine symbol name.
44433 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44434             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44436         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44437         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44438         multiarch strncat for PPC64.
44439         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44440         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44442         (__libc_ifunc_impl_list): Likewise.
44443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44444         multiarch optimizations
44446 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44448         [BZ #16639]
44449         * nscd/nscd.service: Make service type forking.
44451 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44453         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44454         sign in non default rounding modes.
44455         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44457 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44459         * math/libm-test.inc (ALL_RM_TEST): New macro.
44460         (ceil_test): Use ALL_RM_TEST.
44461         (cimag_test): Likewise.
44462         (conj_test): Likewise.
44463         (copysign_test): Likewise.
44464         (cproj_test): Likewise.
44465         (creal_test): Likewise.
44466         (fabs_test): Likewise.
44467         (floor_test): Likewise.
44468         (fmax_test): Likewise.
44469         (fmin_test): Likewise.
44470         (fmod_test): Likewise.
44471         (fpclassify_test): Likewise.
44472         (frexp_test): Likewise.
44473         (ilogb_test): Likewise.
44474         (isfinite_test): Likewise.
44475         (finite_test): Likewise.
44476         (isgreater_test): Likewise.
44477         (isgreaterequal_test): Likewise.
44478         (isinf_test): Likewise.
44479         (isless_test): Likewise.
44480         (islessequal_test): Likewise.
44481         (islessgreater_test): Likewise.
44482         (isnan_test): Likewise.
44483         (isnormal_test): Likewise.
44484         (issignaling_test): Likewise.
44485         (isunordered_test): Likewise.
44486         (logb_test): Likewise.
44487         (logb_downward_test_data): Remove.
44488         (logb_test_downward): Likewise.
44489         (lround_test): Use ALL_RM_TEST.
44490         (llround_test): Likewise.
44491         (modf_test): Likewise.
44492         (nexttoward_test): Likewise.
44493         (remainder_test): Likewise.
44494         (drem_test): Likewise.
44495         (remainder_tonearest_test_data): Likewise.
44496         (remainder_test_tonearest): Likewise.
44497         (drem_test_tonearest): Likewise.
44498         (remainder_towardzero_test_data): Likewise.
44499         (remainder_test_towardzero): Likewise.
44500         (drem_test_towardzero): Likewise.
44501         (remainder_downward_test_data): Likewise.
44502         (remainder_test_downward): Likewise.
44503         (drem_test_downward): Likewise.
44504         (remainder_upward_test_data): Likewise.
44505         (remainder_test_upward): Likewise.
44506         (drem_test_upward): Likewise.
44507         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44508         (round_test): Use ALL_RM_TEST.
44509         (signbit_test): Likewise.
44510         (trunc_test): Likewise.
44511         (significand_test): Likewise.
44512         (main): Don't call removed functions.
44514 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44516         [BZ #16674]
44517         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44518         || __USE_XOPEN2K8].
44519         (ILL_ILLOPN): Likewise.
44520         (ILL_ILLADR): Likewise.
44521         (ILL_ILLTRP): Likewise.
44522         (ILL_PRVOPC): Likewise.
44523         (ILL_PRVREG): Likewise.
44524         (ILL_COPROC): Likewise.
44525         (ILL_BADSTK): Likewise.
44526         (FPE_INTDIV): Likewise.
44527         (FPE_INTOVF): Likewise.
44528         (FPE_FLTDIV): Likewise.
44529         (FPE_FLTOVF): Likewise.
44530         (FPE_FLTUND): Likewise.
44531         (FPE_FLTRES): Likewise.
44532         (FPE_FLTINV): Likewise.
44533         (FPE_FLTSUB): Likewise.
44534         (SEGV_MAPERR): Likewise.
44535         (SEGV_ACCERR): Likewise.
44536         (BUS_ADRALN): Likewise.
44537         (BUS_ADRERR): Likewise.
44538         (BUS_OBJERR): Likewise.
44539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44540         (TRAP_TRACE): Likewise.
44541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44542         __USE_XOPEN2K8].
44543         (CLD_KILLED): Likewise.
44544         (CLD_DUMPED): Likewise.
44545         (CLD_TRAPPED): Likewise.
44546         (CLD_STOPPED): Likewise.
44547         (CLD_CONTINUED): Likewise.
44548         (POLL_IN): Likewise.
44549         (POLL_OUT): Likewise.
44550         (POLL_MSG): Likewise.
44551         (POLL_ERR): Likewise.
44552         (POLL_PRI): Likewise.
44553         (POLL_HUP): Likewise.
44554         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44555         Likewise.
44556         (ILL_ILLOPN): Likewise.
44557         (ILL_ILLADR): Likewise.
44558         (ILL_ILLTRP): Likewise.
44559         (ILL_PRVOPC): Likewise.
44560         (ILL_PRVREG): Likewise.
44561         (ILL_COPROC): Likewise.
44562         (ILL_BADSTK): Likewise.
44563         (FPE_INTDIV): Likewise.
44564         (FPE_INTOVF): Likewise.
44565         (FPE_FLTDIV): Likewise.
44566         (FPE_FLTOVF): Likewise.
44567         (FPE_FLTUND): Likewise.
44568         (FPE_FLTRES): Likewise.
44569         (FPE_FLTINV): Likewise.
44570         (FPE_FLTSUB): Likewise.
44571         (SEGV_MAPERR): Likewise.
44572         (SEGV_ACCERR): Likewise.
44573         (BUS_ADRALN): Likewise.
44574         (BUS_ADRERR): Likewise.
44575         (BUS_OBJERR): Likewise.
44576         (BUS_MCEERR_AR): Likewise.
44577         (BUS_MCEERR_AO): Likewise.
44578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44579         (TRAP_TRACE): Likewise.
44580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44581         __USE_XOPEN2K8].
44582         (CLD_KILLED): Likewise.
44583         (CLD_DUMPED): Likewise.
44584         (CLD_TRAPPED): Likewise.
44585         (CLD_STOPPED): Likewise.
44586         (CLD_CONTINUED): Likewise.
44587         (POLL_IN): Likewise.
44588         (POLL_OUT): Likewise.
44589         (POLL_MSG): Likewise.
44590         (POLL_ERR): Likewise.
44591         (POLL_PRI): Likewise.
44592         (POLL_HUP): Likewise.
44593         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44594         (ILL_ILLOPN): Likewise.
44595         (ILL_ILLADR): Likewise.
44596         (ILL_ILLTRP): Likewise.
44597         (ILL_PRVOPC): Likewise.
44598         (ILL_PRVREG): Likewise.
44599         (ILL_COPROC): Likewise.
44600         (ILL_BADSTK): Likewise.
44601         (FPE_INTDIV): Likewise.
44602         (FPE_INTOVF): Likewise.
44603         (FPE_FLTDIV): Likewise.
44604         (FPE_FLTOVF): Likewise.
44605         (FPE_FLTUND): Likewise.
44606         (FPE_FLTRES): Likewise.
44607         (FPE_FLTINV): Likewise.
44608         (FPE_FLTSUB): Likewise.
44609         (SEGV_MAPERR): Likewise.
44610         (SEGV_ACCERR): Likewise.
44611         (BUS_ADRALN): Likewise.
44612         (BUS_ADRERR): Likewise.
44613         (BUS_OBJERR): Likewise.
44614         (BUS_MCEERR_AR): Likewise.
44615         (BUS_MCEERR_AO): Likewise.
44616         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44617         (TRAP_TRACE): Likewise.
44618         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44619         __USE_XOPEN2K8].
44620         (CLD_KILLED): Likewise.
44621         (CLD_DUMPED): Likewise.
44622         (CLD_TRAPPED): Likewise.
44623         (CLD_STOPPED): Likewise.
44624         (CLD_CONTINUED): Likewise.
44625         (POLL_IN): Likewise.
44626         (POLL_OUT): Likewise.
44627         (POLL_MSG): Likewise.
44628         (POLL_ERR): Likewise.
44629         (POLL_PRI): Likewise.
44630         (POLL_HUP): Likewise.
44631         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44632         Likewise.
44633         (ILL_ILLOPN): Likewise.
44634         (ILL_ILLADR): Likewise.
44635         (ILL_ILLTRP): Likewise.
44636         (ILL_PRVOPC): Likewise.
44637         (ILL_PRVREG): Likewise.
44638         (ILL_COPROC): Likewise.
44639         (ILL_BADSTK): Likewise.
44640         (ILL_BADIADDR): Likewise.
44641         (ILL_BREAK): Likewise.
44642         (FPE_INTDIV): Likewise.
44643         (FPE_INTOVF): Likewise.
44644         (FPE_FLTDIV): Likewise.
44645         (FPE_FLTOVF): Likewise.
44646         (FPE_FLTUND): Likewise.
44647         (FPE_FLTRES): Likewise.
44648         (FPE_FLTINV): Likewise.
44649         (FPE_FLTSUB): Likewise.
44650         (FPE_DECOVF): Likewise.
44651         (FPE_DECDIV): Likewise.
44652         (FPE_DECERR): Likewise.
44653         (FPE_INVASC): Likewise.
44654         (FPE_INVDEC): Likewise.
44655         (SEGV_MAPERR): Likewise.
44656         (SEGV_ACCERR): Likewise.
44657         (SEGV_PSTKOVF): 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         (TRAP_BRANCH): Likewise.
44666         (TRAP_HWBKPT): Likewise.
44667         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44668         __USE_XOPEN2K8].
44669         (CLD_KILLED): Likewise.
44670         (CLD_DUMPED): Likewise.
44671         (CLD_TRAPPED): Likewise.
44672         (CLD_STOPPED): Likewise.
44673         (CLD_CONTINUED): Likewise.
44674         (POLL_IN): Likewise.
44675         (POLL_OUT): Likewise.
44676         (POLL_MSG): Likewise.
44677         (POLL_ERR): Likewise.
44678         (POLL_PRI): Likewise.
44679         (POLL_HUP): Likewise.
44680         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44681         (ILL_ILLOPN): Likewise.
44682         (ILL_ILLADR): Likewise.
44683         (ILL_ILLTRP): Likewise.
44684         (ILL_PRVOPC): Likewise.
44685         (ILL_PRVREG): Likewise.
44686         (ILL_COPROC): Likewise.
44687         (ILL_BADSTK): Likewise.
44688         (FPE_INTDIV): Likewise.
44689         (FPE_INTOVF): Likewise.
44690         (FPE_FLTDIV): Likewise.
44691         (FPE_FLTOVF): Likewise.
44692         (FPE_FLTUND): Likewise.
44693         (FPE_FLTRES): Likewise.
44694         (FPE_FLTINV): Likewise.
44695         (FPE_FLTSUB): Likewise.
44696         (SEGV_MAPERR): Likewise.
44697         (SEGV_ACCERR): Likewise.
44698         (BUS_ADRALN): Likewise.
44699         (BUS_ADRERR): Likewise.
44700         (BUS_OBJERR): Likewise.
44701         (BUS_MCEERR_AR): Likewise.
44702         (BUS_MCEERR_AO): Likewise.
44703         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44704         (TRAP_TRACE): Likewise.
44705         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44706         __USE_XOPEN2K8].
44707         (CLD_KILLED): Likewise.
44708         (CLD_DUMPED): Likewise.
44709         (CLD_TRAPPED): Likewise.
44710         (CLD_STOPPED): Likewise.
44711         (CLD_CONTINUED): Likewise.
44712         (POLL_IN): Likewise.
44713         (POLL_OUT): Likewise.
44714         (POLL_MSG): Likewise.
44715         (POLL_ERR): Likewise.
44716         (POLL_PRI): Likewise.
44717         (POLL_HUP): Likewise.
44718         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44719         (ILL_ILLOPN): Likewise.
44720         (ILL_ILLADR): Likewise.
44721         (ILL_ILLTRP): Likewise.
44722         (ILL_PRVOPC): Likewise.
44723         (ILL_PRVREG): Likewise.
44724         (ILL_COPROC): Likewise.
44725         (ILL_BADSTK): Likewise.
44726         (FPE_INTDIV): Likewise.
44727         (FPE_INTOVF): Likewise.
44728         (FPE_FLTDIV): Likewise.
44729         (FPE_FLTOVF): Likewise.
44730         (FPE_FLTUND): Likewise.
44731         (FPE_FLTRES): Likewise.
44732         (FPE_FLTINV): Likewise.
44733         (FPE_FLTSUB): Likewise.
44734         (SEGV_MAPERR): Likewise.
44735         (SEGV_ACCERR): Likewise.
44736         (BUS_ADRALN): Likewise.
44737         (BUS_ADRERR): Likewise.
44738         (BUS_OBJERR): Likewise.
44739         (BUS_MCEERR_AR): Likewise.
44740         (BUS_MCEERR_AO): Likewise.
44741         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44742         (TRAP_TRACE): Likewise.
44743         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44744         __USE_XOPEN2K8].
44745         (CLD_KILLED): Likewise.
44746         (CLD_DUMPED): Likewise.
44747         (CLD_TRAPPED): Likewise.
44748         (CLD_STOPPED): Likewise.
44749         (CLD_CONTINUED): Likewise.
44750         (POLL_IN): Likewise.
44751         (POLL_OUT): Likewise.
44752         (POLL_MSG): Likewise.
44753         (POLL_ERR): Likewise.
44754         (POLL_PRI): Likewise.
44755         (POLL_HUP): Likewise.
44756         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44757         (ILL_ILLOPN): Likewise.
44758         (ILL_ILLADR): Likewise.
44759         (ILL_ILLTRP): Likewise.
44760         (ILL_PRVOPC): Likewise.
44761         (ILL_PRVREG): Likewise.
44762         (ILL_COPROC): Likewise.
44763         (ILL_BADSTK): 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/tile/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         (ILL_DBLFLT): Likewise.
44803         (ILL_HARDWALL): Likewise.
44804         (FPE_INTDIV): Likewise.
44805         (FPE_INTOVF): Likewise.
44806         (FPE_FLTDIV): Likewise.
44807         (FPE_FLTOVF): Likewise.
44808         (FPE_FLTUND): Likewise.
44809         (FPE_FLTRES): Likewise.
44810         (FPE_FLTINV): Likewise.
44811         (FPE_FLTSUB): Likewise.
44812         (SEGV_MAPERR): Likewise.
44813         (SEGV_ACCERR): Likewise.
44814         (BUS_ADRALN): Likewise.
44815         (BUS_ADRERR): Likewise.
44816         (BUS_OBJERR): Likewise.
44817         (BUS_MCEERR_AR): Likewise.
44818         (BUS_MCEERR_AO): Likewise.
44819         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44820         (TRAP_TRACE): Likewise.
44821         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44822         __USE_XOPEN2K8].
44823         (CLD_KILLED): Likewise.
44824         (CLD_DUMPED): Likewise.
44825         (CLD_TRAPPED): Likewise.
44826         (CLD_STOPPED): Likewise.
44827         (CLD_CONTINUED): Likewise.
44828         (POLL_IN): Likewise.
44829         (POLL_OUT): Likewise.
44830         (POLL_MSG): Likewise.
44831         (POLL_ERR): Likewise.
44832         (POLL_PRI): Likewise.
44833         (POLL_HUP): Likewise.
44834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
44835         (ILL_ILLOPN): Likewise.
44836         (ILL_ILLADR): Likewise.
44837         (ILL_ILLTRP): Likewise.
44838         (ILL_PRVOPC): Likewise.
44839         (ILL_PRVREG): Likewise.
44840         (ILL_COPROC): Likewise.
44841         (ILL_BADSTK): Likewise.
44842         (FPE_INTDIV): Likewise.
44843         (FPE_INTOVF): Likewise.
44844         (FPE_FLTDIV): Likewise.
44845         (FPE_FLTOVF): Likewise.
44846         (FPE_FLTUND): Likewise.
44847         (FPE_FLTRES): Likewise.
44848         (FPE_FLTINV): Likewise.
44849         (FPE_FLTSUB): Likewise.
44850         (SEGV_MAPERR): Likewise.
44851         (SEGV_ACCERR): Likewise.
44852         (BUS_ADRALN): Likewise.
44853         (BUS_ADRERR): Likewise.
44854         (BUS_OBJERR): Likewise.
44855         (BUS_MCEERR_AR): Likewise.
44856         (BUS_MCEERR_AO): Likewise.
44857         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44858         (TRAP_TRACE): Likewise.
44859         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44860         __USE_XOPEN2K8].
44861         (CLD_KILLED): Likewise.
44862         (CLD_DUMPED): Likewise.
44863         (CLD_TRAPPED): Likewise.
44864         (CLD_STOPPED): Likewise.
44865         (CLD_CONTINUED): Likewise.
44866         (POLL_IN): Likewise.
44867         (POLL_OUT): Likewise.
44868         (POLL_MSG): Likewise.
44869         (POLL_ERR): Likewise.
44870         (POLL_PRI): Likewise.
44871         (POLL_HUP): Likewise.
44872         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
44873         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
44875         [BZ #16670]
44876         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
44877         before #include of <time.h>.
44878         [!__USE_XOPEN2K] (__need_timespec): Likewise.
44879         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
44880         (test-xfail-UNIX98/sched.h/conform): Likewise.
44882 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
44884         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
44885         error absence of trapping exception support.
44886         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
44888 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44890         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
44891         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
44892         * timezone/Makefile (testdata): Move definition above include of
44893         Rules.
44894         (test-zones): New variable.
44895         (tests-special): Add zone files.
44896         (build-testdata): Use $(evaluate-test).
44898         * elf/Makefile (tests-special): Rename tests to end with .out.
44899         ($(objpfx)noload-mem): Likewise.
44900         ($(objpfx)tst-leaks1-mem): Likewise.
44901         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
44902         * iconv/Makefile (xtests-special): Change test-iconvconfig to
44903         $(objpfx)test-iconvconfig.out.
44904         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
44905         set -e inside subshell and redirect output to file.
44906         * iconvdata/Makefile (generated): Rename tests to end with .out.
44907         Correct type.
44908         (tests-special): Rename tests to end with .out.
44909         ($(objpfx)mtrace-tst-loading): Likewise.
44910         * intl/Makefile (generated): Likewise.
44911         (tests-special): Likewise.
44912         ($(objpfx)mtrace-tst-gettext): Likewise.
44913         * misc/Makefile (generated): Likewise.
44914         (tests-special): Likewise.
44915         ($(objpfx)tst-error1-mem): Likewise.
44916         * nptl/Makefile (tests-special): Likewise.
44917         ($(objpfx)tst-stack3-mem): Likewise.
44918         (generated): Likewise.
44919         * posix/Makefile (generated): Likewise.
44920         (tests-special): Likewise.
44921         (xtests-special): Likewise.
44922         ($(objpfx)tst-fnmatch-mem): Likewise.
44923         ($(objpfx)bug-regex2-mem): Likewise.
44924         ($(objpfx)bug-regex14-mem): Likewise.
44925         ($(objpfx)bug-regex21-mem): Likewise.
44926         ($(objpfx)bug-regex31-mem): Likewise.
44927         ($(objpfx)tst-vfork3-mem): Likewise.
44928         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
44929         ($(objpfx)tst-pcre-mem): Likewise.
44930         ($(objpfx)tst-boost-mem): Likewise.
44931         ($(objpfx)bug-ga2-mem): Likewise.
44932         ($(objpfx)bug-glob2-mem): Likewise.
44933         * resolv/Makefile (generate): Likewise.
44934         (tests-special): Likewise.
44935         (xtests-special): Likewise.
44936         (generated): Likewise.
44937         ($(objpfx)mtrace-tst-leaks): Likewise.
44938         ($(objpfx)mtrace-tst-leaks2): Likewise.
44940         * scripts/merge-test-results.sh: New file.
44941         * Makefile (tests-special-notdir): New variable.
44942         (tests): Run merge-test-results.sh.
44943         (xtests): Likewise.
44944         * Rules (tests-special-notdir): New variable.
44945         (xtests-special-notdir): Likewise.
44946         (tests): Run merge-test-results.sh
44947         (xtests): Likewise.
44949         * Makeconfig (test-xfail-name): New variable.
44950         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
44951         compute variable name for expected failures.
44952         * conform/Makefile (conformtest-headers-data): New variable.
44953         (conformtest-standards): Likewise.
44954         (conformtest-headers-ISO): Likewise.
44955         (conformtest-headers-ISO99): Likewise.
44956         (conformtest-headers-ISO11): Likewise.
44957         (conformtest-headers-POSIX): Likewise.
44958         (conformtest-headers-XPG3): Likewise.
44959         (conformtest-headers-XPG4): Likewise.
44960         (conformtest-headers-UNIX98): Likewise.
44961         (conformtest-headers-XOPEN2K): Likewise.
44962         (conformtest-headers-POSIX2008): Likewise.
44963         (conformtest-headers-XOPEN2K8): Likewise.
44964         (conformtest-header-list-base): Likewise.
44965         (conformtest-header-list-tests): Likewise.
44966         (conformtest-header-base): Likewise.
44967         (conformtest-header-tests): Likewise.
44968         (tests-special): Add $(conformtest-header-list-tests).  If
44969         [$(fast-check) && !$(cross-compiling)], add
44970         $(conformtest-header-tests) instead of
44971         $(objpfx)run-conformtest.out.
44972         (generated): Add $(conformtest-header-list-base).  If
44973         [$(fast-check) && !$(cross-compiling)], add
44974         $(conformtest-header-base).  Remove previous setting.
44975         ($(conformtest-header-list-tests)): New target.
44976         (test-xfail-run-conformtest): Remove variable.
44977         ($(objpfx)run-conformtest.out): Remove target.
44978         (test-xfail-ISO11/complex.h/conform): New variable.
44979         (test-xfail-ISO11/stdalign.h/conform): Likewise.
44980         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
44981         (test-xfail-XPG3/varargs.h/conform): Likewise.
44982         (test-xfail-XPG4/varargs.h/conform): Likewise.
44983         (test-xfail-UNIX98/varargs.h/conform): Likewise.
44984         (test-xfail-XPG4/ndbm.h/conform): Likewise.
44985         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
44986         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
44987         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
44988         (test-xfail-XPG3/fcntl.h/conform): Likewise.
44989         (test-xfail-XPG3/ftw.h/conform): Likewise.
44990         (test-xfail-XPG3/grp.h/conform): Likewise.
44991         (test-xfail-XPG3/langinfo.h/conform): Likewise.
44992         (test-xfail-XPG3/limits.h/conform): Likewise.
44993         (test-xfail-XPG3/pwd.h/conform): Likewise.
44994         (test-xfail-XPG3/search.h/conform): Likewise.
44995         (test-xfail-XPG3/signal.h/conform): Likewise.
44996         (test-xfail-XPG3/stdio.h/conform): Likewise.
44997         (test-xfail-XPG3/stdlib.h/conform): Likewise.
44998         (test-xfail-XPG3/string.h/conform): Likewise.
44999         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45000         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45001         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45002         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45003         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45004         (test-xfail-XPG3/sys/types.h/conform): Likewise.
45005         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45006         (test-xfail-XPG3/termios.h/conform): Likewise.
45007         (test-xfail-XPG3/time.h/conform): Likewise.
45008         (test-xfail-XPG3/unistd.h/conform): Likewise.
45009         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45010         (test-xfail-XPG4/fcntl.h/conform): Likewise.
45011         (test-xfail-XPG4/langinfo.h/conform): Likewise.
45012         (test-xfail-XPG4/netdb.h/conform): Likewise.
45013         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45014         (test-xfail-XPG4/signal.h/conform): Likewise.
45015         (test-xfail-XPG4/stdio.h/conform): Likewise.
45016         (test-xfail-XPG4/stdlib.h/conform): Likewise.
45017         (test-xfail-XPG4/stropts.h/conform): Likewise.
45018         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45019         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45020         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45021         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45022         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45023         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45024         (test-xfail-XPG4/sys/time.h/conform): Likewise.
45025         (test-xfail-XPG4/sys/types.h/conform): Likewise.
45026         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45027         (test-xfail-XPG4/termios.h/conform): Likewise.
45028         (test-xfail-XPG4/ucontext.h/conform): Likewise.
45029         (test-xfail-XPG4/unistd.h/conform): Likewise.
45030         (test-xfail-XPG4/utmpx.h/conform): Likewise.
45031         (test-xfail-POSIX/sched.h/conform): Likewise.
45032         (test-xfail-POSIX/signal.h/conform): Likewise.
45033         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45034         (test-xfail-POSIX/tar.h/conform): Likewise.
45035         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45036         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45037         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45038         (test-xfail-UNIX98/netdb.h/conform): Likewise.
45039         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45040         (test-xfail-UNIX98/sched.h/conform): Likewise.
45041         (test-xfail-UNIX98/signal.h/conform): Likewise.
45042         (test-xfail-UNIX98/stdio.h/conform): Likewise.
45043         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45044         (test-xfail-UNIX98/stropts.h/conform): Likewise.
45045         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45046         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45047         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45048         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45049         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45050         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45051         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45052         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45053         (test-xfail-UNIX98/unistd.h/conform): Likewise.
45054         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45055         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45056         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45057         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45058         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45059         (test-xfail-XOPEN2K/math.h/conform): Likewise.
45060         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45061         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45062         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45063         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45064         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45065         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45066         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45067         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45068         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45069         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45070         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45071         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45072         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45073         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45074         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45075         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45076         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45077         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45078         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45079         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45080         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45081         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45082         (test-xfail-POSIX2008/signal.h/conform): Likewise.
45083         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45084         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45085         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45086         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45087         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45088         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45089         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45090         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45091         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45092         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45093         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45094         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45095         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45096         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45097         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45098         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45099         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45100         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45101         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45102         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45103         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45104         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45105         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45106         (conformtest-cc-flags): Likewise.
45107         ($(conformtest-header-tests): New target.
45108         * conform/check-header-lists.sh: New file.
45109         * conform/run-conformtest.sh: Remove.
45111         * conform/conformtest.pl: Allow ' and \ in values given for
45112         constants.
45113         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45114         inclusion.
45115         [POSIX] (sys/types.h): Likewise.
45116         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45117         inclusion.
45118         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45119         inclusion.
45120         * conform/data/signal.h-data (SIGIO): Remove expectation.
45121         [XPG3] (SIGBUS): Do not expect.
45122         [POSIX || XPG3] (SIGPOLL): Likewise.
45123         [POSIX || XPG3] (SIGPROF): Likewise.
45124         [POSIX || XPG3] (SIGSYS): Likewise.
45125         [XPG3] (SIGTRAP): Likewise.
45126         [POSIX || XPG3] (SIGURG): Likewise.
45127         [POSIX || XPG3] (SIGVTALRM): Likewise.
45128         [POSIX || XPG3] (SIGXCPU): Likewise.
45129         [POSIX || XPG3] (SIGXFSZ): Likewise.
45130         [POSIX] (SA_SIGINFO): Expect.
45131         [XPG3] (siginfo_t): Do not expect type or contents.
45132         [POSIX] (si_pid): Do not expect element.
45133         [POSIX] (si_uid): Likewise.
45134         [POSIX] (si_addr): Likewise.
45135         [POSIX] (si_status): Likewise.
45136         [POSIX] (si_band): Likewise.
45137         [XPG4] (si_value): Likewise.
45138         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45139         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45140         [POSIX || XPG3] (ILL_ILLADR): Likewise.
45141         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45142         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45143         [POSIX || XPG3] (ILL_PRVREG): Likewise.
45144         [POSIX || XPG3] (ILL_COPROC): Likewise.
45145         [POSIX || XPG3] (ILL_BADSTK): Likewise.
45146         [POSIX || XPG3] (FPE_INTDIV): Likewise.
45147         [POSIX || XPG3] (FPE_INTOVF): Likewise.
45148         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45149         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45150         [POSIX || XPG3] (FPE_FLTUND): Likewise.
45151         [POSIX || XPG3] (FPE_FLTRES): Likewise.
45152         [POSIX || XPG3] (FPE_FLTINV): Likewise.
45153         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45154         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45155         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45156         [POSIX || XPG3] (BUS_ADRALN): Likewise.
45157         [POSIX || XPG3] (BUS_ADRERR): Likewise.
45158         [POSIX || XPG3] (BUS_OBJERR): Likewise.
45159         [POSIX || XPG3] (CLD_EXITED): Likewise.
45160         [POSIX || XPG3] (CLD_KILLED): Likewise.
45161         [POSIX || XPG3] (CLD_DUMPED): Likewise.
45162         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45163         [POSIX || XPG3] (CLD_STOPPED): Likewise.
45164         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45165         [POSIX || XPG3] (POLL_IN): Likewise.
45166         [POSIX || XPG3] (POLL_OUT): Likewise.
45167         [POSIX || XPG3] (POLL_MSG): Likewise.
45168         [POSIX || XPG3] (POLL_ERR): Likewise.
45169         [POSIX || XPG3] (POLL_PRI): Likewise.
45170         [POSIX || XPG3] (POLL_HUP): Likewise.
45171         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45172         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45173         (SIG*): Do not allow.
45174         [XPG3] (si_*): Likewise.
45175         [XPG3] (SI_*): Likewise.
45176         [XPG3 || XPG4] (sigev_*): Likewise.
45177         [XPG3 || XPG4] (SIGEV_*): Likewise.
45178         [XPG3 || XPG4] (sival_*): Likewise.
45179         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45180         [POSIX || XPG3] (BUS_*): Likewise.
45181         [POSIX || XPG3] (CLD_*): Likewise.
45182         [POSIX || XPG3] (FPE_*): Likewise.
45183         [POSIX || XPG3] (ILL_*): Likewise.
45184         [POSIX || XPG3] (POLL_*): Likewise.
45185         [POSIX || XPG3] (SEGV_*): Likewise.
45186         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45187         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45188         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45189         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45190         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45191         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45192         Specify type and value.
45193         (TVERSLEN): Likewise.
45194         (REGTYPE): Likewise.
45195         (AREGTYPE): Likewise.
45196         (LNKTYPE): Likewise.
45197         (SYMTYPE): Likewise.
45198         (CHRTYPE): Likewise.
45199         (BLKTYPE): Likewise.
45200         (DIRTYPE): Likewise.
45201         (FIFOTYPE): Likewise.
45202         (CONTTYPE): Likewise.
45203         (TSUID): Likewise.
45204         (TSGID): Likewise.
45205         (TSVTX): Likewise.
45206         (TUREAD): Likewise.
45207         (TUWRITE): Likewise.
45208         (TUEXEC): Likewise.
45209         (TGREAD): Likewise.
45210         (TGWRITE): Likewise.
45211         (TGEXEC): Likewise.
45212         (TOREAD): Likewise.
45213         (TOWRITE): Likewise.
45214         (TOEXEC): Likewise.
45215         [POSIX] (TSVTX): Expect constant.
45217 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
45219         * Makefile (tests): Change dependencies to ....
45220         (tests-special): ... additions to this variable.
45221         (tests): Depend on $(tests-special).
45222         * Makerules (check-abi-list): New variable.
45223         (check-abi): Depend on $(check-abi-list).
45224         [$(subdir) = elf] (tests-special): Add
45225         $(objpfx)check-abi-libc.out.
45226         [$(build-shared) = yes && subdir] (tests-special): Add
45227         $(check-abi-list).
45228         [$(build-shared) = yes && subdir] (tests): Do not depend on
45229         check-abi.
45230         * Rules (tests): Depend on $(tests-special).
45231         (xtests): Depend on $(xtests-special).
45232         * catgets/Makefile (tests): Change dependencies to ....
45233         (tests-special): ... additions to this variable.
45234         * conform/Makefile (tests): Change dependencies to ....
45235         (tests-special): ... additions to this variable.
45236         * elf/Makefile (tests): Change dependencies to ....
45237         (tests-special): ... additions to this variable.
45238         * grp/Makefile (tests): Change dependencies to ....
45239         (tests-special): ... additions to this variable.
45240         * iconv/Makefile (xtests): Change dependencies to ....
45241         (xtests-special): ... additions to this variable.
45242         * iconvdata/Makefile (tests): Change dependencies to ....
45243         (tests-special): ... additions to this variable.
45244         * intl/Makefile (tests): Change dependencies to ....
45245         (tests-special): ... additions to this variable.  Also add
45246         $(objpfx)tst-gettext.out.
45247         * io/Makefile (tests): Change dependencies to ....
45248         (tests-special): ... additions to this variable.
45249         * libio/Makefile (tests): Change dependencies to ....
45250         (tests-special): ... additions to this variable.
45251         * malloc/Makefile (tests): Change dependencies to ....
45252         (tests-special): ... additions to this variable.
45253         * misc/Makefile (tests): Change dependencies to ....
45254         (tests-special): ... additions to this variable.
45255         * nptl/Makefile (tests): Change dependencies to ....
45256         (tests-special): ... additions to this variable.
45257         * nptl_db/Makefile (tests): Change dependencies to ....
45258         (tests-special): ... additions to this variable.
45259         * posix/Makefile (tests): Change dependencies to ....
45260         (tests-special): ... additions to this variable.
45261         (xtests): Change dependencies to ....
45262         (xtests-special): ... additions to this variable.
45263         * resolv/Makefile (tests): Change dependencies to ....
45264         (tests-special): ... additions to this variable.
45265         (xtests): Change dependencies to ....
45266         (xtests-special): ... additions to this variable.
45267         * stdio-common/Makefile (tests): Change dependencies to ....
45268         (tests-special): ... additions to this variable.
45269         (do-tst-unbputc): Remove target.
45270         (do-tst-printf): Likewise.
45271         * stdlib/Makefile (tests): Change dependencies to ....
45272         (tests-special): ... additions to this variable.
45273         * string/Makefile (tests): Change dependencies to ....
45274         (tests-special): ... additions to this variable.
45275         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45276         (tests-special): ... additions to this variable.
45278         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45279         whole file.
45280         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45281         whole file.
45282         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45283         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45285         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45286         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45287         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45288         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45289         * conform/data/libgen.h-data [XPG3]: Likewise.
45290         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45291         * conform/data/ndbm.h-data [XPG3]: Likewise.
45292         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45293         * conform/data/netdb.h-data [XPG3]: Likewise.
45294         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45295         * conform/data/poll.h-data [XPG3]: Likewise.
45296         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45297         * conform/data/strings.h-data [XPG3]: Likewise.
45298         * conform/data/stropts.h-data [XPG3]: Likewise.
45299         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45300         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45301         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45302         Likewise.
45303         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45304         * conform/data/sys/time.h-data [XPG3]: Likewise.
45305         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45306         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45307         * conform/data/sys/un.h-data [XPG3]: Likewise.
45308         * conform/data/syslog.h-data [XPG3]: Likewise.
45309         * conform/data/ucontext.h-data [XPG3]: Likewise.
45310         * conform/data/utmpx.h-data [XPG3]: Likewise.
45311         * conform/data/varargs.h-data [UNIX98]: Enable file.
45313         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45315         * math/libm-test.inc (struct test_f_f_data): Move expected results
45316         into structure for each rounding mode.
45317         (struct test_ff_f_data): Likewise.
45318         (struct test_ff_f_data_nexttoward): Likewise.
45319         (struct test_fi_f_data): Likewise.
45320         (struct test_fl_f_data): Likewise.
45321         (struct test_if_f_data): Likewise.
45322         (struct test_fff_f_data): Likewise.
45323         (struct test_c_f_data): Likewise.
45324         (struct test_f_f1_data): Likewise.
45325         (struct test_fF_f1_data): Likewise.
45326         (struct test_ffI_f1_data): Likewise.
45327         (struct test_c_c_data): Likewise.
45328         (struct test_cc_c_data): Likewise.
45329         (struct test_f_i_data): Likewise.
45330         (struct test_ff_i_data): Likewise.
45331         (struct test_f_l_data): Likewise.
45332         (struct test_f_L_data): Likewise.
45333         (struct test_fFF_11_data): Likewise.
45334         (RM_): New macro.
45335         (RM_FE_DOWNWARD): Likewise.
45336         (RM_FE_TONEAREST): Likewise.
45337         (RM_FE_TOWARDZERO): Likewise.
45338         (RM_FE_UPWARD): Likewise.
45339         (RUN_TEST_LOOP_f_f): Update references to expected results.
45340         (RUN_TEST_LOOP_2_f): Likewise.
45341         (RUN_TEST_LOOP_fff_f): Likewise.
45342         (RUN_TEST_LOOP_c_f): Likewise.
45343         (RUN_TEST_LOOP_f_f1): Likewise.
45344         (RUN_TEST_LOOP_fF_f1): Likewise.
45345         (RUN_TEST_LOOP_fI_f1): Likewise.
45346         (RUN_TEST_LOOP_ffI_f1): Likewise.
45347         (RUN_TEST_LOOP_c_c): Likewise.
45348         (RUN_TEST_LOOP_cc_c): Likewise.
45349         (RUN_TEST_LOOP_f_i): Likewise.
45350         (RUN_TEST_LOOP_f_i_tg): Likewise.
45351         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45352         (RUN_TEST_LOOP_f_b): Likewise.
45353         (RUN_TEST_LOOP_f_b_tg): Likewise.
45354         (RUN_TEST_LOOP_f_l): Likewise.
45355         (RUN_TEST_LOOP_f_L): Likewise.
45356         (RUN_TEST_LOOP_fFF_11): Likewise.
45357         * math/gen-libm-test.pl (parse_args): Output four copies of
45358         expected results for each test.
45360         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45361         (__ASSUME_UTIMES): Remove.
45362         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45363         (__ASSUME_UTIMES): Likewise.
45365         * math/gen-auto-libm-tests.c: Update comment on output format.
45366         (output_for_one_input_case): Generate before-rounding and
45367         after-rounding information as conditions on output flags not
45368         floating-point format.
45369         * math/auto-libm-test-out: Regenerated.
45370         * math/gen-libm-test.pl (cond_value): New function.
45371         (or_cond_value): Use cond_value.
45372         (generate_testfile): Handle conditional exceptions.
45374 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45376         * math/libm-test.inc (max_valid_error): New variable.
45377         (init_max_error): Take new argument specifying whether function
45378         results are exactly determined.  Set max_valid_error and bound
45379         other variables for errors based on this argument.
45380         (set_max_error): Do not record results above max_valid_error.
45381         (check_float_internal): Only accept errors of up to 0.5ulps if
45382         also at most max_valid_error.
45383         (START): Take new argument EXACT and pass it to init_max_error.
45384         (acos_test): Update call to START.
45385         (acos_test_tonearest): Likewise.
45386         (acos_test_towardzero): Likewise.
45387         (acos_test_downward): Likewise.
45388         (acos_test_upward): Likewise.
45389         (acosh_test): Likewise.
45390         (asin_test): Likewise.
45391         (asin_test_tonearest): Likewise.
45392         (asin_test_towardzero): Likewise.
45393         (asin_test_downward): Likewise.
45394         (asin_test_upward): Likewise.
45395         (asinh_test): Likewise.
45396         (atan_test): Likewise.
45397         (atanh_test): Likewise.
45398         (atan2_test): Likewise.
45399         (cabs_test): Likewise.
45400         (cacos_test): Likewise.
45401         (cacosh_test): Likewise.
45402         (carg_test): Likewise.
45403         (casin_test): Likewise.
45404         (casinh_test): Likewise.
45405         (catan_test): Likewise.
45406         (catanh_test): Likewise.
45407         (cbrt_test): Likewise.
45408         (ccos_test): Likewise.
45409         (ccosh_test): Likewise.
45410         (ceil_test): Likewise.
45411         (cexp_test): Likewise.
45412         (cimag_test): Likewise.
45413         (clog_test): Likewise.
45414         (clog10_test): Likewise.
45415         (conj_test): Likewise.
45416         (copysign_test): Likewise.
45417         (cos_test): Likewise.
45418         (cos_test_tonearest): Likewise.
45419         (cos_test_towardzero): Likewise.
45420         (cos_test_downward): Likewise.
45421         (cos_test_upward): Likewise.
45422         (cosh_test): Likewise.
45423         (cosh_test_tonearest): Likewise.
45424         (cosh_test_towardzero): Likewise.
45425         (cosh_test_downward): Likewise.
45426         (cosh_test_upward): Likewise.
45427         (cpow_test): Likewise.
45428         (cproj_test): Likewise.
45429         (creal_test): Likewise.
45430         (csin_test): Likewise.
45431         (csinh_test): Likewise.
45432         (csqrt_test): Likewise.
45433         (ctan_test): Likewise.
45434         (ctan_test_tonearest): Likewise.
45435         (ctan_test_towardzero): Likewise.
45436         (ctan_test_downward): Likewise.
45437         (ctan_test_upward): Likewise.
45438         (ctanh_test): Likewise.
45439         (ctanh_test_tonearest): Likewise.
45440         (ctanh_test_towardzero): Likewise.
45441         (ctanh_test_downward): Likewise.
45442         (ctanh_test_upward): Likewise.
45443         (erf_test): Likewise.
45444         (erfc_test): Likewise.
45445         (exp_test): Likewise.
45446         (exp_test_tonearest): Likewise.
45447         (exp_test_towardzero): Likewise.
45448         (exp_test_downward): Likewise.
45449         (exp_test_upward): Likewise.
45450         (exp10_test): Likewise.
45451         (exp10_test_tonearest): Likewise.
45452         (exp10_test_towardzero): Likewise.
45453         (exp10_test_downward): Likewise.
45454         (exp10_test_upward): Likewise.
45455         (pow10_test): Likewise.
45456         (exp2_test): Likewise.
45457         (expm1_test): Likewise.
45458         (expm1_test_tonearest): Likewise.
45459         (expm1_test_towardzero): Likewise.
45460         (expm1_test_downward): Likewise.
45461         (expm1_test_upward): Likewise.
45462         (fabs_test): Likewise.
45463         (fdim_test): Likewise.
45464         (floor_test): Likewise.
45465         (fma_test): Likewise.
45466         (fma_test_towardzero): Likewise.
45467         (fma_test_downward): Likewise.
45468         (fma_test_upward): Likewise.
45469         (fmax_test): Likewise.
45470         (fmin_test): Likewise.
45471         (fmod_test): Likewise.
45472         (fpclassify_test): Likewise.
45473         (frexp_test): Likewise.
45474         (hypot_test): Likewise.
45475         (ilogb_test): Likewise.
45476         (isfinite_test): Likewise.
45477         (finite_test): Likewise.
45478         (isgreater_test): Likewise.
45479         (isgreaterequal_test): Likewise.
45480         (isinf_test): Likewise.
45481         (isless_test): Likewise.
45482         (islessequal_test): Likewise.
45483         (islessgreater_test): Likewise.
45484         (isnan_test): Likewise.
45485         (isnormal_test): Likewise.
45486         (issignaling_test): Likewise.
45487         (isunordered_test): Likewise.
45488         (j0_test): Likewise.
45489         (j1_test): Likewise.
45490         (jn_test): Likewise.
45491         (ldexp_test): Likewise.
45492         (lgamma_test): Likewise.
45493         (gamma_test): Likewise.
45494         (lrint_test): Likewise.
45495         (lrint_test_tonearest): Likewise.
45496         (lrint_test_towardzero): Likewise.
45497         (lrint_test_downward): Likewise.
45498         (lrint_test_upward): Likewise.
45499         (llrint_test): Likewise.
45500         (llrint_test_tonearest): Likewise.
45501         (llrint_test_towardzero): Likewise.
45502         (llrint_test_downward): Likewise.
45503         (llrint_test_upward): Likewise.
45504         (log_test): Likewise.
45505         (log10_test): Likewise.
45506         (log1p_test): Likewise.
45507         (log2_test): Likewise.
45508         (logb_test): Likewise.
45509         (logb_test_downward): Likewise.
45510         (lround_test): Likewise.
45511         (llround_test): Likewise.
45512         (modf_test): Likewise.
45513         (nearbyint_test): Likewise.
45514         (nextafter_test): Likewise.
45515         (nexttoward_test): Likewise.
45516         (pow_test): Likewise.
45517         (pow_test_tonearest): Likewise.
45518         (pow_test_towardzero): Likewise.
45519         (pow_test_downward): Likewise.
45520         (pow_test_upward): Likewise.
45521         (remainder_test): Likewise.
45522         (drem_test): Likewise.
45523         (remainder_test_tonearest): Likewise.
45524         (drem_test_tonearest): Likewise.
45525         (remainder_test_towardzero): Likewise.
45526         (drem_test_towardzero): Likewise.
45527         (remainder_test_downward): Likewise.
45528         (drem_test_downward): Likewise.
45529         (remainder_test_upward): Likewise.
45530         (drem_test_upward): Likewise.
45531         (remquo_test): Likewise.
45532         (rint_test): Likewise.
45533         (rint_test_tonearest): Likewise.
45534         (rint_test_towardzero): Likewise.
45535         (rint_test_downward): Likewise.
45536         (rint_test_upward): Likewise.
45537         (round_test): Likewise.
45538         (scalb_test): Likewise.
45539         (scalbn_test): Likewise.
45540         (scalbln_test): Likewise.
45541         (signbit_test): Likewise.
45542         (sin_test): Likewise.
45543         (sin_test_tonearest): Likewise.
45544         (sin_test_towardzero): Likewise.
45545         (sin_test_downward): Likewise.
45546         (sin_test_upward): Likewise.
45547         (sincos_test): Likewise.
45548         (sinh_test): Likewise.
45549         (sinh_test_tonearest): Likewise.
45550         (sinh_test_towardzero): Likewise.
45551         (sinh_test_downward): Likewise.
45552         (sinh_test_upward): Likewise.
45553         (sqrt_test): Likewise.
45554         (sqrt_test_tonearest): Likewise.
45555         (sqrt_test_towardzero): Likewise.
45556         (sqrt_test_downward): Likewise.
45557         (sqrt_test_upward): Likewise.
45558         (tan_test): Likewise.
45559         (tan_test_tonearest): Likewise.
45560         (tan_test_towardzero): Likewise.
45561         (tan_test_downward): Likewise.
45562         (tan_test_upward): Likewise.
45563         (tanh_test): Likewise.
45564         (tgamma_test): Likewise.
45565         (trunc_test): Likewise.
45566         (y0_test): Likewise.
45567         (y1_test): Likewise.
45568         (yn_test): Likewise.
45569         (significand_test): Likewise.
45571         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45572         individual tests in comment.
45573         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45574         (prev_max_error): New variable.
45575         (prev_real_max_error): Likewise.
45576         (prev_imag_max_error): Likewise.
45577         (compare_ulp_data): Don't refer to test names in comment.
45578         (find_test_ulps): Remove function.
45579         (find_function_ulps): Likewise.
45580         (find_complex_function_ulps): Likewise.
45581         (init_max_error): Take function name as argument.  Look up ulps
45582         for that function.
45583         (print_ulps): Remove function.
45584         (print_max_error): Use prev_max_error instead of calling
45585         find_function_ulps.
45586         (print_complex_max_error): Use prev_real_max_error and
45587         prev_imag_max_error instead of calling find_complex_function_ulps.
45588         (check_float_internal): Take max_ulp parameter instead of calling
45589         find_test_ulps.  Don't call print_ulps.
45590         (check_float): Update call to check_float_internal.
45591         (check_complex): Update calls to check_float_internal.
45592         (START): Pass argument to init_max_error.
45593         * math/gen-libm-test.pl (%results): Don't include "kind"
45594         information.
45595         (parse_ulps): Don't handle ulps of individual tests.
45596         (print_ulps_file): Likewise.
45597         (output_ulps): Likewise.
45598         * math/README.libm-test: Update.
45599         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45600         individual tests.
45601         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45602         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45603         * sysdeps/arm/libm-test-ulps: Likewise.
45604         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45605         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45606         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45607         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45608         * sysdeps/microblaze/libm-test-ulps: Likewise.
45609         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45610         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45611         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45612         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45613         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45614         * sysdeps/sh/libm-test-ulps: Likewise.
45615         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45616         * sysdeps/tile/libm-test-ulps: Likewise.
45617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45619 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45621         * math/libm-test.inc (print_complex_max_error): Check separately
45622         whether real and imaginary errors are within allowed range and
45623         pass 0 to print_complex_function_ulps instead of value within
45624         allowed range.
45626 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45628         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45629         formatting.
45630         (get_handles_fopen): Likewise.
45631         (do_write_test): Likewise.
45633         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45635         * libio/fileops.c (do_ftell): Use cached offset when
45636         available.
45637         * libio/iofwide.c (do_ftell_wide): Likewise.
45638         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45639         _IO_file_attach.
45640         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45642         [BZ #16532]
45643         * libio/libioP.h (get_file_offset): New function.
45644         * libio/fileops.c (get_file_offset): Likewise.
45645         (do_ftell): Likewise.
45646         (_IO_new_file_seekoff): Split out ftell logic.
45647         * libio/wfileops.c (do_ftell_wide): Likewise.
45648         (_IO_wfile_seekoff): Split out ftell logic.
45649         * libio/tst-ftell-active-handler.c: New test case.
45650         * libio/Makefile (tests): Add it.
45652 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45654         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45655         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45657 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45659         [BZ #16639]
45660         * nscd/connections.c (nscd_init): Call do_exit.
45661         (start_threads): Call do_exit and notify_parent.
45662         (begin_drop_privileges): Call do_exit.
45663         (finish_drop_privileges): Likewise.
45664         * nscd/selinux.c (preserve_capabilities): Likewise.
45665         (install_real_capabilities): Likewise.
45666         (nscd_selinux_enabled): Likewise.
45667         (avc_create_thread): Likewise.
45668         (avc_alloc_lock): Likewise.
45669         (nscd_avc_init): Likewise.
45670         * nscd/nscd.c (parent_fd): New static variable.
45671         (main): Create a pipe between parent and child processes.
45672         Skip closing parent_fd.
45673         (monitor_child): New function.
45674         (do_exit): Likewise.
45675         (notify_parent): Likewise.
45676         * nscd/nscd.h (notify_parent): Likewise.
45677         (do_exit): Likewise.
45679 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45681         * malloc/malloc.c (__libc_calloc): Revert last change.
45683 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45685         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45687 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45689         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45690         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45691         implementation.
45692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45693         (__libc_ifunc_impl_list): Likewise.
45694         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45695         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45696         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45697         * string/strrchr.c: Define STRRCHR.
45699 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
45701         * benchtest/bench-strtok.c (simple_strtok): Delete.
45702         (strtok_string): Use as benchmark.
45703         * string/strtok (STRTOK): New macro.
45705 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
45707         * manual/threads.texi: Add header and standard comments to all
45708         functions.
45710         * elf/dl-lookup.c (check_match): New function.
45711         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45712         (do_lookup_x): Remove nested function check_match. Use non-nested
45713         function check_match.
45715 2014-02-28  Roland McGrath  <roland@hack.frob.com>
45717         * csu/Makefile (generated, before-compile): Use += rather than =.
45718         * catgets/Makefile (generated, generated-dirs): Likewise.
45719         * debug/Makefile (generated): Likewise.
45720         * dlfcn/Makefile (generated): Likewise.
45721         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45722         * iconvdata/Makefile (before-compile, generated): Likewise.
45723         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45724         * libio/Makefile (generated): Likewise.
45725         * malloc/Makefile (generated): Likewise.
45726         * manual/Makefile (generated, generated-dirs): Likewise.
45727         * misc/Makefile (generated): Likewise.
45728         * posix/Makefile (generated): Likewise.
45729         * resolv/Makefile (generated): Likewise.
45730         * sunrpc/Makefile (generated, generated-dirs): Likewise.
45731         * timezone/Makefile (generated, generated-dirs): Likewise.
45733         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45735 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45737         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45738         power8 implementation.
45739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45740         file: POWER8 llround ifunc implementation.
45741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45742         (__lllround): Add POWER8 implementation.
45743         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45744         POWER8 llround implementation.
45746         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45747         power8 implementation.
45748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45749         file: POWER8 llrint ifunc implementation.
45750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45751         Add POWER8 implementation.
45752         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45753         POWER8 llrint implementation.
45755         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45756         power8 implementation.
45757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45758         file: POWER8 finite ifunc implementation.
45759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45760         Add POWER8 implementation.
45761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45762         Likewise.
45763         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45764         POWER8 finite implementation.
45765         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45767         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45768         power8 implementation.
45769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
45770         file: POWER8 isinf ifunc implementation.
45771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
45772         POWER8 implementation.
45773         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
45774         Likewise.
45775         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
45776         isinf implementation.
45777         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
45779         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
45780         (INIT_ARCH): Add hwcap2 initialization.
45781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
45782         power8 implementation.
45783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
45784         file: POWER8 isnan ifunc implementation.
45785         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
45786         POWER8 implementation.
45787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
45788         Likewise.
45789         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
45790         isnan implementation.
45791         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
45793 2014-02-27  Joey Ye  <joey.ye@arm.com>
45795         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
45796         (_FP_NANFRAC_Q): Set to zero.
45798 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
45800         [BZ #16623]
45801         * math/auto-libm-test-in: New test inputs.
45802         * math/auto-libm-test-out: Regenerate.
45803         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
45804         and DA.
45805         (__cos): Likewise.
45806         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
45808 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
45810         * scripts/evaluate-test.sh: Take new argument indicating whether
45811         failure is expected.
45812         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
45813         indicating whether failure is expected.
45814         * conform/Makefile (test-xfail-run-conformtest): New variable.
45815         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
45816         level.
45817         * posix/Makefile (test-xfail-annexc): New variable.
45818         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
45820 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
45822         * argp/Makefile: Include Makeconfig immediately after defining
45823         subdir.
45824         * assert/Makefile: Likewise.
45825         * benchtests/Makefile: Likewise.
45826         * catgets/Makefile: Likewise.
45827         * conform/Makefile: Likewise.
45828         * crypt/Makefile: Likewise.
45829         * csu/Makefile: Likewise.
45830         (all): Remove target.
45831         * ctype/Makefile: Include Makeconfig immediately after defining
45832         subdir.
45833         * debug/Makefile: Likewise.
45834         * dirent/Makefile: Likewise.
45835         * dlfcn/Makefile: Likewise.
45836         * gmon/Makefile: Likewise.
45837         * gnulib/Makefile: Likewise.
45838         * grp/Makefile: Likewise.
45839         * gshadow/Makefile: Likewise.
45840         * hesiod/Makefile: Likewise.
45841         * hurd/Makefile: Likewise.
45842         (all): Remove target.
45843         * iconvdata/Makefile: Include Makeconfig immediately after
45844         defining subdir.
45845         * inet/Makefile: Likewise.
45846         * intl/Makefile: Likewise.
45847         * io/Makefile: Likewise.
45848         * libio/Makefile: Likewise.
45849         (all): Remove target.
45850         * locale/Makefile: Include Makeconfig immediately after defining
45851         subdir.
45852         * login/Makefile: Likewise.
45853         * mach/Makefile: Likewise.
45854         (all): Remove target.
45855         * malloc/Makefile: Include Makeconfig immediately after defining
45856         subdir.
45857         (all): Remove target.
45858         * manual/Makefile: Include Makeconfig immediately after defining
45859         subdir.
45860         * math/Makefile: Likewise.
45861         * misc/Makefile: Likewise.
45862         * nis/Makefile: Likewise.
45863         * nss/Makefile: Likewise.
45864         * po/Makefile: Likewise.
45865         (all): Remove target.
45866         * posix/Makefile: Include Makeconfig immediately after defining
45867         subdir.
45868         * pwd/Makefile: Likewise.
45869         * resolv/Makefile: Likewise.
45870         * resource/Makefile: Likewise.
45871         * rt/Makefile: Likewise.
45872         * setjmp/Makefile: Likewise.
45873         * shadow/Makefile: Likewise.
45874         * signal/Makefile: Likewise.
45875         * socket/Makefile: Likewise.
45876         * soft-fp/Makefile: Likewise.
45877         * stdio-common/Makefile: Likewise.
45878         * stdlib/Makefile: Likewise.
45879         * streams/Makefile: Likewise.
45880         * string/Makefile: Likewise.
45881         * sunrpc/Makefile: Likewise.
45882         (all): Remove target.
45883         * sysvipc/Makefile: Include Makeconfig immediately after defining
45884         subdir.
45885         * termios/Makefile: Likewise.
45886         * time/Makefile: Likewise.
45887         * timezone/Makefile: Likewise.
45888         (all): Remove target.
45889         * wcsmbs/Makefile: Include Makeconfig immediately after defining
45890         subdir.
45891         * wctype/Makefile: Likewise.
45893 2014-02-26  Steve Ellcey  <sellcey@mips.com>
45895         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
45896         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
45897         (libc_feholdexcept_setround_mips): Ditto.
45898         (libc_feholdsetround): New.
45899         (libc_feholdsetroundf): New.
45900         (libc_feholdsetroundl): New.
45901         (libc_feupdateenv_test_mips): New.
45902         (libc_feupdateenv_test): New.
45903         (libc_feupdateenv_testf): New.
45904         (libc_feupdateenv_testl): New.
45905         (libc_feresetround): New.
45906         (libc_feresetroundf): New.
45907         (libc_feresetroundl): New.
45908         (libc_fetestexcept_mips): New.
45909         (libc_fetestexcept): New.
45910         (libc_fetestexceptf): New.
45911         (libc_fetestexceptl): New.
45912         (HAVE_RM_CTX): New.
45913         (libc_feholdexcept_setround_mips_ctx): New.
45914         (libc_feholdexcept_setround_ctx): New.
45915         (libc_feholdexcept_setroundf_ctx): New.
45916         (libc_feholdexcept_setroundl_ctx): New.
45917         (libc_fesetenv_mips_ctx): New.
45918         (libc_fesetenv_ctx): New.
45919         (libc_fesetenv_ctxf): New.
45920         (libc_fesetenv_ctxl): New.
45921         (libc_feupdateenv_mips_ctx): New.
45922         (libc_feupdateenv_ctx): New.
45923         (libc_feupdateenvf_ctx): New.
45924         (libc_feupdateenvl_ctx): New.
45925         (libc_feholdsetround_mips_ctx): New.
45926         (libc_feholdsetround_ctx): New.
45927         (libc_feholdsetroundf_ctx): New.
45928         (libc_feholdsetroundl_ctx): New.
45929         (libc_feresetround_mips_ctx): New.
45930         (libc_feresetround_ctx): New.
45931         (libc_feresetroundf_ctx): New.
45932         (libc_feresetroundl_ctx): New.
45934 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
45936         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
45938         * manual/ipc.texi: New file.
45939         * manual/Makefile (chapters): Add ipc.
45940         * manual/job.texi: Add "Inter-Process Communication" to next.
45941         * manual/process.texi: Add "Inter-Process Communication" to prev.
45943 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45947 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
45949         * malloc/malloc.c (__libc_calloc): Simplify implementation.
45951         * manual/arith.texi: Fix spaces after sentences.
45952         * manual/charset.texi: Likewise.
45953         * manual/errno.texi: Likewise.
45954         * manual/install.texi: Likewise.
45955         * manual/llio.texi: Likewise.
45956         * manual/locale.texi: Likewise.
45957         * manual/maint.texi: Likewise.
45958         * manual/math.texi: Likewise.
45959         * manual/memory.texi: Likewise.
45960         * manual/message.texi: Likewise.
45961         * manual/probes.texi: Likewise.
45962         * manual/resource.texi: Likewise.
45963         * manual/signal.texi: Likewise.
45964         * manual/socket.texi: Likewise.
45965         * manual/stdio.texi: Likewise.
45966         * manual/string.texi: Likewise.
45967         * manual/time.texi: Likewise.
45968         * manual/users.texi: Likewise.
45970 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
45972         [BZ #16632]
45973         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
45974         _DEFAULT_SOURCE is defined.
45976 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
45977             Carlos O'Donell  <carlos@redhat.com>
45979         [BZ #16613]
45980         * elf/dl-tls.c (_dl_count_modids): New function.
45981         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
45982         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
45983         audit library and increment generation counter.
45984         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
45985         * elf/tst-audit9.c: New file.
45986         * elf/tst-auditmod9a.c: New file.
45987         * elf/tst-auditmod9b.c: New file.
45988         * elf/Makefile: Add rules to build and run tst-audit9.
45990 2014-02-25  Florian Weimer  <fweimer@redhat.com>
45992         [BZ #15347]
45993         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
45995 2014-02-25  Will Newton  <will.newton@linaro.org>
45997         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
45998         (__longjmp): Restore sp and lr before restoring callee
45999         saved registers.  Add longjmp and longjmp_target
46000         SystemTap probe point.
46001         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46002         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46003         Define to zero to match jmpbuf layout.
46004         * sysdeps/arm/setjmp.S: Include stap-probe.h.
46005         (__sigsetjmp): Save sp and lr before saving callee
46006         saved registers.  Add setjmp SystemTap probe point.
46008 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
46010         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46012 2014-02-24  Andreas Schwab  <schwab@suse.de>
46014         [BZ #15804]
46015         * elf/pldd.c (wait_for_ptrace_stop): New function.
46016         (main): Call it after attaching.
46018 2014-02-22  Roland McGrath  <roland@hack.frob.com>
46020         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46021         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46022         Versions files is now verboten.
46023         * hurd/Versions (libc: GLIBC_2.0):
46024         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46025         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46026         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46027         * mach/Versions: Likewise.
46029         * csu/Versions: Remove unused %include.
46030         * resolv/Versions: Likewise.
46032 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
46034         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46035         ($(objpfx)check-local-headers.out): Likewise.
46036         ($(objpfx)begin-end-check.out): Likewise.
46037         * Makerules (check-abi-%.out): Likewise.
46038         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46039         ($(objpfx)test2.cat): Likewise.
46040         ($(objpfx)de/libc.cat): Likewise.
46041         ($(objpfx)test-gencat.out): Likewise.
46042         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46043         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46044         ($(objpfx)noload-mem): Likewise.
46045         ($(objpfx)tst-pathopt.out): Likewise.
46046         ($(objpfx)tst-rtld-load-self.out): Likewise.
46047         ($(objpfx)tst-array1-cmp.out): Likewise.
46048         ($(objpfx)tst-array1-static-cmp.out): Likewise.
46049         ($(objpfx)tst-array2-cmp.out): Likewise.
46050         ($(objpfx)tst-array3-cmp.out): Likewise.
46051         ($(objpfx)tst-array4-cmp.out): Likewise.
46052         ($(objpfx)tst-array5-cmp.out): Likewise.
46053         ($(objpfx)tst-array5-static-cmp.out): Likewise.
46054         ($(objpfx)check-textrel.out): Likewise.
46055         ($(objpfx)check-execstack.out): Likewise.
46056         ($(objpfx)check-localplt.out): Likewise.
46057         ($(objpfx)order2-cmp.out): Likewise.
46058         ($(objpfx)tst-leaks1-mem): Likewise.
46059         ($(objpfx)tst-leaks1-static-mem): Likewise.
46060         ($(objpfx)tst-initorder-cmp.out): Likewise.
46061         ($(objpfx)tst-initorder2-cmp.out): Likewise.
46062         ($(objpfx)tst-unused-dep.out): Likewise.
46063         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46064         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46065         * iconv/Makefile (test-iconvconfig): Likewise.
46066         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46067         ($(objpfx)iconv-test.out): Likewise.
46068         ($(objpfx)tst-tables.out): Likewise.
46069         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46070         ($(objpfx)tst-gettext.out): Likewise.
46071         ($(objpfx)tst-translit.out): Likewise.
46072         ($(objpfx)tst-gettext2.out): Likewise.
46073         ($(objpfx)tst-gettext4.out): Likewise.
46074         ($(objpfx)tst-gettext6.out): Likewise.
46075         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46076         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46077         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46078         ($(objpfx)tst-fopenloc-mem.out): Likewise.
46079         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46080         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46081         * posix/Makefile ($(objpfx)globtest.out): Likewise.
46082         ($(objpfx)wordexp-tst.out): Likewise.
46083         ($(objpfx)annexc.out): Likewise.
46084         ($(objpfx)tst-fnmatch-mem): Likewise.
46085         ($(objpfx)bug-regex2-mem): Likewise.
46086         ($(objpfx)bug-regex14-mem): Likewise.
46087         ($(objpfx)bug-regex21-mem): Likewise.
46088         ($(objpfx)bug-regex31-mem): Likewise.
46089         ($(objpfx)tst-vfork3-mem): Likewise.
46090         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46091         ($(objpfx)tst-pcre-mem): Likewise.
46092         ($(objpfx)tst-boost-mem): Likewise.
46093         ($(objpfx)tst-getconf.out): Likewise.
46094         ($(objpfx)bug-ga2-mem): Likewise.
46095         ($(objpfx)bug-glob2-mem): Likewise.
46096         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46097         ($(objpfx)mtrace-tst-leaks2): Likewise.
46098         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46099         ($(objpfx)tst-printf.out): Likewise.
46100         ($(objpfx)tst-setvbuf1.out): Likewise.
46101         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46102         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46103         ($(objpfx)tst-fmtmsg.out): Likewise.
46104         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46105         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46107         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46108         * bits/sigaction.h [__USE_MISC]: Likewise.
46109         * bits/waitstatus.h: Update #endif comments.
46110         * ctype/ctype.h: Likewise.
46111         * dirent/dirent.h: Likewise.
46112         [__USE_MISC]: Remove redundant conditionals.
46113         * grp/grp.h: Update #endif comments.
46114         [__USE_GNU]: Remove redundant conditionals.
46115         [__USE_MISC]: Likewise.
46116         * inet/netinet/in.h [__USE_GNU]: Likewise.
46117         * io/sys/stat.h [__USE_MISC]: Likewise.
46118         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46119         * libio/bits/stdio.h: Update #endif comments.
46120         [__USE_MISC]: Remove redundant conditionals.
46121         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46122         * libio/stdio.h: Update #endif comments.
46123         [__USE_MISC]: Remove redundant conditionals.
46124         * math/bits/math-finite.h [__USE_MISC]: Likewise.
46125         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46126         * math/math.h: Update #else and #endif comments.
46127         [__USE_MISC]: Remove redundant conditionals.
46128         * misc/sys/uio.h: Update #endif comments.
46129         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46130         * posix/glob.h [__USE_MISC]: Likewise.
46131         * posix/sys/types.h: Update #endif comments.
46132         [__USE_MISC]: Remove redundant conditionals.
46133         * posix/sys/wait.h: Update #endif comments.
46134         [__USE_MISC]: Remove redundant conditionals.
46135         * posix/unistd.h: Update #endif comments.
46136         [__USE_MISC]: Remove redundant conditionals.
46137         * pwd/pwd.h [__USE_GNU]: Likewise.
46138         [__USE_MISC]: Likewise.
46139         * resolv/netdb.h [__USE_GNU]: Likewise.
46140         * signal/signal.h: Update #endif comments.
46141         [__USE_MISC]: Remove redundant conditionals.
46142         * stdlib/stdlib.h: Update #else and #endif comments.
46143         [__USE_MISC]: Remove redundant conditionals.
46144         [__USE_GNU]: Likewise.
46145         * string/bits/string2.h [__USE_MISC]: Likewise.
46146         * string/string.h: Update #endif comments.
46147         [__USE_MISC]: Remove redundant conditionals.
46148         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46149         Likewise.
46150         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46151         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46152         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46153         Likewise.
46154         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46155         Likewise.
46156         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46157         comments.
46158         [__USE_MISC]: Remove redundant conditionals.
46159         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46160         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46161         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46162         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46163         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46164         Likewise.
46165         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46166         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46167         Likewise.
46168         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46169         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46170         Likewise.
46171         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46172         Likewise.
46173         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46174         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46175         Likewise.
46176         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46177         Likewise.
46178         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46179         * sysdeps/x86/bits/string.h: Update #endif comments.
46180         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46181         conditionals.
46182         * time/sys/time.h: Update #endif comments.
46183         * time/time.h: Likewise.
46184         [__USE_MISC]: Remove redundant conditionals.
46186 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
46188         [BZ #16600]
46189         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46191 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
46193         * Versions.def (librt): Add GLIBC_2.17.
46195 2014-02-21  Adam Conrad  <adconrad@0c3.net>
46197         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46198         synonym for _SYS_AUXV_H to allow direct inclusion.
46199         * sysdeps/sparc/bits/hwcap.h: Likewise.
46200         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46201         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46202         * sysdeps/sparc/sysdep.h: Likewise.
46204 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46206         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46208 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46210         * benchtests/bench-strrchr.c: Print length instead of position.
46212 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
46214         [BZ #16611]
46215         * sysdeps/unix/sysv/linux/kernel-features.h
46216         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46217         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46218         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46219         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46220         Likewise.
46221         [__i386__ || __powerpc__ || __sh__ || __sparc__]
46222         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46223         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46224         (__ASSUME_SENDMMSG): Define instead of using previous
46225         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46226         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46227         (__ASSUME_SENDMMSG_SYSCALL): Define.
46228         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46229         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46230         Likewise.
46231         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46232         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46233         Likewise.
46234         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46235         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46236         Likewise.
46237         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46238         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46239         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46240         [__ASSUME_SENDMMSG]: Change conditionals to
46241         [__ASSUME_SENDMMSG_SOCKETCALL].
46242         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46243         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46244         Define.
46245         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46246         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46247         Likewise.
46248         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46249         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46250         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46251         [!__ASSUME_SENDMMSG]: Change conditional to
46252         [!__ASSUME_SENDMMSG_SOCKETCALL].
46253         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46254         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46255         Define.
46257         [BZ #16610]
46258         * sysdeps/unix/sysv/linux/kernel-features.h
46259         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46260         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46261         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46262         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46263         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46264         [__i386__ || __sparc__]
46265         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46266         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46267         (__ASSUME_RECVMMSG): Define instead of using previous
46268         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46269         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46270         (__ASSUME_RECVMMSG_SYSCALL): Define.
46271         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46272         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46273         Likewise.
46274         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46275         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46276         Likewise.
46277         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46278         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46279         Likewise.
46280         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46281         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46282         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46283         [__ASSUME_RECVMMSG]: Change condition to
46284         [__ASSUME_RECVMMSG_SOCKETCALL].
46285         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46286         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46287         Define.
46288         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46289         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46290         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46291         Likewise.
46292         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46293         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46294         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46295         [!__ASSUME_RECVMMSG]: Change condition to
46296         [!__ASSUME_RECVMMSG_SOCKETCALL].
46297         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46298         (__ASSUME_RECVMMSG_SYSCALL): Define.
46300         [BZ #16609]
46301         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46302         __powerpc__ || __s390__ || __sh__ || __sparc__]
46303         (__ASSUME_SOCKETCALL): Define.
46304         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46305         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46306         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46307         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46308         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46309         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46310         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46311         (__ASSUME_ACCEPT4): Define instead of using previous
46312         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46313         __powerpc__ || __sparc__ || __s390__)] condition.
46314         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46315         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46316         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46317         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46318         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46319         [!__ASSUME_ACCEPT4]: Change condition to
46320         [!__ASSUME_ACCEPT4_SOCKETCALL].
46321         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46322         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46323         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46324         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46325         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46326         __ASSUME_ACCEPT4_SYSCALL.
46327         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46328         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46329         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46330         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46331         __ASSUME_ACCEPT4_SYSCALL.
46332         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46333         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46334         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46335         [__ASSUME_ACCEPT4]: Change condition to
46336         [__ASSUME_ACCEPT4_SOCKETCALL].
46337         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46338         (__ASSUME_SOCKETCALL): Define.
46339         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46340         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46341         (__ASSUME_SOCKETCALL): Define.
46342         (__ASSUME_ACCEPT4): Remove.
46343         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46344         Define.
46345         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46346         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46347         Likewise.
46348         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46349         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46351         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46352         macro.
46353         (HWCAP_ARM_LPAE): Likewise.
46354         (HWCAP_ARM_EVTSTRM): Likewise.
46355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46356         Add vpfd32, lpae and evtstrm.
46357         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46358         Increase to 22.
46360 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46362         * math/auto-libm-test-in: Add tests of clog10.
46363         * math/auto-libm-test-out: Regenerated.
46364         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46365         * sysdeps/i386/fpu/libm-test-ulps: Update.
46366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46368 2014-02-18  Andreas Schwab  <schwab@suse.de>
46370         [BZ #16574]
46371         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46372         Store non-zero if the second buffer was newly allocated.
46373         (send_dg): Likewise.
46374         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46375         to send_vc and send_dg.
46376         (res_nsend): Pass NULL for ansp2_malloced.
46377         * resolv/res_query.c (__libc_res_nquery): Add parameter
46378         answerp2_malloced and pass it down to __libc_res_nsend.
46379         (res_nquery): Pass additional NULL to __libc_res_nquery.
46380         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46381         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46382         second answer buffer if answerp2_malloced was set.
46383         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46384         (__libc_res_nquerydomain): Add parameter
46385         answerp2_malloced and pass it down to __libc_res_nquery.
46386         (res_nquerydomain): Pass additional NULL to
46387         __libc_res_nquerydomain.
46388         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46389         additional NULL to __libc_res_nsend and __libc_res_nquery.
46390         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46391         additional NULL to __libc_res_nsearch.
46392         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46393         parameter of __libc_res_nsearch to check for separately allocated
46394         second buffer.
46395         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46396         __libc_res_nquery.
46397         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46398         additional NULL to __libc_res_nquery.
46399         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46400         __libc_res_nsearch.
46401         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46402         * include/resolv.h: Update prototypes of __libc_res_nquery,
46403         __libc_res_nsearch, __libc_res_nsend.
46405 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46407         * math/auto-libm-test-in: Add tests of fma.
46408         * math/auto-libm-test-out: Regenerated.
46409         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46410         (fma_towardzero_test_data): Likewise.
46411         (fma_downward_test_data): Likewise.
46412         (fma_upward_test_data): Likewise.
46413         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46414         mpc_mode.
46415         (rounding_modes): Add values for new field.
46416         (func_calc_method): Add value mpfr_fff_f.
46417         (func_calc_desc): Add mpfr_fff_f union field.
46418         (test_function): Add field exact_args.
46419         (FUNC): Add macro argument EXACT_ARGS.
46420         (FUNC_mpfr_f_f): Update call to FUNC.
46421         (FUNC_mpfr_f_f): Likewise.
46422         (FUNC_mpfr_ff_f): Likewise.
46423         (FUNC_mpfr_if_f): Likewise.
46424         (FUNC_mpc_c_f): Likewise.
46425         (FUNC_mpc_c_c): Likewise.
46426         (test_functions): Add fma.  Update calls to FUNC.
46427         (handle_input_arg): Add argument exact_args.
46428         (add_test): Update call to handle_input_arg.
46429         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46430         (output_for_one_input_case): Update call to calc_generic_results.
46431         Recalculate exact zero results in each rounding mode.
46433         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46434         non-negative before setting low bit.
46435         * math/auto-libm-test-in: Mark one asin test possibly having
46436         spurious underflow.
46437         * math/auto-libm-test-out: Regenerated.
46438         * sysdeps/i386/fpu/libm-test-ulps: Update.
46439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46441 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46443         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46444         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46445         ports/sysdeps/unix/sysv/linux/microblaze.
46446         * README: Add missing listing for microblaze*-*-linux-gnu.
46448 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46450         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46451         duplicate code
46453 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46455         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46456         * sysdeps/unix/sysv/linux/ia64: Move directory from
46457         ports/sysdeps/unix/sysv/linux/ia64.
46458         * README: Update listing for ia64-*-linux-gnu.
46460 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46461             Joseph Myers  <joseph@codesourcery.com>
46463         * Makeconfig (test-name): New variable.
46464         (evaluate-test): Likewise.
46465         * Makerules (do-test-clean): Remove .test-result files.
46466         (common-mostlyclean): Likewise.
46467         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46468         * scripts/evaluate-test.sh: New file.
46470 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46472         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46473         separate $(objpfx)tst-fopenloc-cmp.out and
46474         $(objpfx)tst-fopenloc-mem.out targets.
46475         (tests): Update dependencies.
46476         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46477         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46478         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46479         (tst-rxspencer-no-utf8-ARGS): New variable.
46480         (tst-rxspencer-no-utf8-ENV): Likewise.
46481         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46482         instead of $(objpfx)tst-rxspencer-mem.
46483         ($(objpfx)tst-rxspencer-mem): Change target to
46484         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46485         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46486         * posix/tst-rxspencer-no-utf8.c: New file.
46488         * elf/Makefile ($(objpfx)order.out): Remove rule.
46489         [$(run-built-tests) = yes] (tests): Depend on
46490         $(objpfx)order-cmp.out.
46491         ($(objpfx)order-cmp.out): New rule.
46492         [$(run-built-tests) = yes] (tests): Depend on
46493         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46494         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46495         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46496         $(objpfx)tst-array5-static-cmp.out.
46497         ($(objpfx)tst-array1.out): Remove rule.
46498         ($(objpfx)tst-array1-cmp.out): New rule.
46499         ($(objpfx)tst-array1-static.out): Remove rule.
46500         ($(objpfx)tst-array1-static-cmp.out): New rule.
46501         ($(objpfx)tst-array2.out): Remove rule.
46502         ($(objpfx)tst-array2-cmp.out): New rule.
46503         ($(objpfx)tst-array3.out): Remove rule.
46504         ($(objpfx)tst-array3-cmp.out): New rule.
46505         ($(objpfx)tst-array4.out): Remove rule.
46506         ($(objpfx)tst-array4-cmp.out): New rule.
46507         ($(objpfx)tst-array5.out): Remove rule.
46508         ($(objpfx)tst-array5-cmp.out): New rule.
46509         ($(objpfx)tst-array5-static.out): Remove rule.
46510         ($(objpfx)tst-array5-static-cmp.out): New rule.
46511         [$(run-built-tests) = yes] (tests): Depend on
46512         $(objpfx)order2-cmp.out.
46513         ($(objpfx)order2.out): Remove rule.
46514         ($(objpfx)order2-cmp.out): New rule.
46515         ($(objpfx)tst-initorder.out): Remove rule.
46516         [$(run-built-tests) = yes] (tests): Depend on
46517         $(objpfx)tst-initorder-cmp.out.
46518         ($(objpfx)tst-initorder-cmp.out): New rule.
46519         ($(objpfx)tst-initorder2.out): Remove rule.
46520         [$(run-built-tests) = yes] (tests): Depend on
46521         $(objpfx)tst-initorder2-cmp.out.
46522         ($(objpfx)tst-initorder2-cmp.out): New rule.
46523         [$(run-built-tests) = yes] (tests): Depend on
46524         $(objpfx)tst-unused-dep-cmp.out.
46525         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46526         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46527         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46528         on $(objpfx)tst-setvbuf1-cmp.out.
46529         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46530         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46531         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46532         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46533         ($(objpfx)tst-svc.out): Remove rule.
46534         ($(objpfx)tst-svc-cmp.out): New rule.
46536 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46538         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46539         * ctype/ctype.h [__USE_MISC]: Likewise.
46540         * dirent/dirent.h [__USE_MISC]: Likewise.
46541         * grp/grp.h [__USE_MISC]: Likewise.
46542         * io/fcntl.h [__USE_MISC]: Likewise.
46543         * io/sys/stat.h [__USE_MISC]: Likewise.
46544         * libio/stdio.h [__USE_MISC]: Likewise.
46545         * posix/unistd.h [__USE_MISC]: Likewise.
46546         * pwd/pwd.h [__USE_MISC]: Likewise.
46547         * stdlib.h [__USE_MISC]: Likewise.
46548         * string/bits/string2.h [__USE_MISC]: Likewise.
46549         * string/string.h [__USE_MISC]: Likewise.
46550         * time/time.h [__USE_MISC]: Likewise.
46552 2014-02-13  Andreas Schwab  <schwab@suse.de>
46554         [BZ #16574]
46555         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46556         second answer buffer if it was separately allocated.
46558 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46560         * sysdeps/mips/math-tests.h: Include <features.h>.
46561         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46562         (ROUNDING_TESTS_long_double): Do not define.
46563         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46564         (EXCEPTION_TESTS_long_double): Likewise.
46565         * sysdeps/mips/mips64/libm-test-ulps: Update.
46567         * include/features.h (__USE_BSD): Remove macro definitions.
46568         (__USE_SVID): Likewise.
46569         (_BSD_SOURCE): Likewise.
46570         (_SVID_SOURCE): Likewise.
46571         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46572         from definition of _DEFAULT_SOURCE.
46573         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46574         [_DEFAULT_SOURCE].
46575         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46576         * bits/mman.h [__USE_BSD]: Likewise.
46577         * bits/termios.h [__USE_BSD]: Likewise.
46578         * bits/waitstatus.h [__USE_BSD]: Likewise.
46579         * ctype/ctype.h [__USE_SVID]: Likewise.
46580         * dirent/dirent.h [__USE_BSD]: Likewise.
46581         * grp/grp.h [__USE_SVID]: Likewise.
46582         [__USE_BSD]: Likewise.
46583         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46584         * io/fcntl.h [__USE_BSD]: Likewise.
46585         * io/ftw.h [__USE_BSD]: Likewise.
46586         * io/sys/stat.h [__USE_BSD]: Likewise.
46587         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46588         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46589         * libio/stdio.h [__USE_SVID]: Likewise.
46590         [__USE_BSD]: Likewise.
46591         * math/math.h [__USE_SVID]: Likewise.
46592         [__USE_BSD]: Likewise.
46593         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46594         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46595         * misc/search.h [__USE_SVID]: Likewise.
46596         * misc/sys/mman.h [__USE_BSD]: Likewise.
46597         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46598         * misc/sys/uio.h [__USE_BSD]: Likewise.
46599         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46600         * posix/glob.h [__USE_BSD]: Likewise.
46601         * posix/regex.h [__USE_BSD]: Likewise.
46602         * posix/sys/types.h [__USE_BSD]: Likewise.
46603         [__USE_SVID]: Likewise.
46604         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46605         * posix/sys/wait.h [__USE_BSD]: Likewise.
46606         [__USE_SVID]: Likewise.
46607         * posix/unistd.h [__USE_BSD]: Likewise.
46608         [__USE_SVID]: Likewise.
46609         * pwd/pwd.h [__USE_SVID]: Likewise.
46610         * resolv/netdb.h [__USE_BSD]: Likewise.
46611         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46612         * signal/signal.h [__USE_BSD]: Likewise.
46613         [__USE_SVID]: Likewise.
46614         * socket/sys/socket.h [__USE_BSD]: Likewise.
46615         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46616         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46617         [__USE_SVID]: Likewise.
46618         * string/bits/string2.h [__USE_BSD]: Likewise.
46619         [__USE_SVID]: Likewise.
46620         * string/bits/string3.h [__USE_BSD]: Likewise.
46621         * string/endian.h [__USE_BSD]: Likewise.
46622         * string/string.h [__USE_SVID]: Likewise.
46623         [__USE_BSD]: Likewise.
46624         * string/strings.h [__USE_BSD]: Likewise.
46625         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46626         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46627         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46628         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46629         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46630         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46631         Likewise.
46632         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46633         Likewise.
46634         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46635         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46636         Likewise.
46637         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46638         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46639         Likewise.
46640         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46641         Likewise.
46642         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46643         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46644         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46645         Likewise.
46646         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46647         Likewise.
46648         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46649         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46650         * termios/termios.h [__USE_BSD]: Likewise.
46651         * time/sys/time.h [__USE_BSD]: Likewise.
46652         * time/time.h [__USE_BSD]: Likewise.
46653         [__USE_SVID]: Likewise.
46655         * Makefile (subdir_targets): Remove subdir_lint.out.
46657         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46658         (do-tst-printf): Likewise.
46659         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46660         $(objpfx)tst-printf.out.
46662         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46664         * Makerules (check-abi-%): Change target to
46665         $(objpfx)check-abi-%.out.
46666         (check-abi target): Update dependencies.
46667         (check-abi-pattern variable): Redirect output of diff to $@.
46668         (check-abi variable): Likewise.
46669         * elf/Makefile (check-abi): Update dependencies.
46671         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46672         unused.
46673         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46674         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46675         subnormal range.
46676         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46677         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46678         value has largest subnormal exponent.
46679         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46680         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46681         * sysdeps/aarch64/soft-fp/sfp-machine.h
46682         (_FP_TININESS_AFTER_ROUNDING): New macro.
46683         * sysdeps/alpha/soft-fp/sfp-machine.h
46684         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46685         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46686         Likewise.
46687         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46688         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46689         * sysdeps/mips/soft-fp/sfp-machine.h
46690         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46691         * sysdeps/powerpc/soft-fp/sfp-machine.h
46692         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46693         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46694         Likewise.
46695         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46696         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46697         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46698         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46699         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46700         Likewise.
46702 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
46704         [BZ #16545]
46705         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46706         model 1.
46708 2014-02-12  Richard Henderson  <rth@redhat.com>
46710         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46711         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46712         * sysdeps/unix/sysv/linux/alpha: Move directory from
46713         ports/sysdeps/unix/sysv/linux/alpha.
46714         * README: Update listing for alpha-*-linux-gnu.
46716 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
46718         * include/features.h: Update comment documenting feature test
46719         macros.
46720         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
46721         _DEFAULT_SOURCE.
46722         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46723         (_SVID_SOURCE): Likewise.
46724         (_DEFAULT_SOURCE): Update description of default features.
46725         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46726         with _GNU_SOURCE.
46727         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46728         (S_ISVTX): Likewise.
46729         * manual/math.texi (Mathematical Constants): Likewise.
46730         * manual/signal.texi (Interrupted Primitives): Likewise.
46731         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46732         * math/test-matherr.c (_SVID_SOURCE): Do not define.
46733         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46734         Don't refer to _SVID_SOURCE in warning text.
46736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46738         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46739         already defined.
46740         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46741         * sysdeps/mips/dl-lookup.c: Remove.
46742         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46744 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
46746         [BZ #16447]
46747         * math/auto-libm-test-in: Add testcase for expl.
46748         * math/auto-libm-test-out: Regenerate.
46749         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46750         calculation of unsafe.
46751         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46753 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
46755         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46756         * sysdeps/unix/sysv/linux/aarch64: Move directory from
46757         ports/sysdeps/unix/sysv/linux/aarch64.
46758         * README: Update listing for aarch64*-*-linux-gnu.
46760 2014-02-11  Will Newton  <will.newton@linaro.org>
46762         * manual/probes.texi (Mathematical Function Probes): Use
46763         "triggered" instead of "hit".
46765         * manual/probes.texi (Internal Probes): Add documentation
46766         of setjmp, longjmp and longjmp_target probes.
46768         * include/stap-probe.h: Add comment about probe argument
46769         format.
46771         * malloc/mtrace.c (attribute_hidden): Remove unused macro
46772         definition.  (tr_where, tr_freehook, tr_mallochook,
46773         tr_reallochook, tr_memalignhook): Use ANSI protoype.
46775 2014-02-11  David S. Miller  <davem@davemloft.net>
46777         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
46778         processing int_tests.
46780 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
46782         * sysdeps/mips: Move directory from ports/sysdeps/mips.
46783         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
46784         * sysdeps/unix/sysv/linux/mips: Move directory from
46785         ports/sysdeps/unix/sysv/linux/mips.
46786         * README: Update listing for mips-*-linux-gnu and
46787         mips64-*-linux-gnu.
46789 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
46791         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
46792         * sysdeps/unix/sysv/linux/m68k: Move directory from
46793         ports/sysdeps/unix/sysv/linux/m68k.
46794         * README: Update listing for m68k-*-linux-gnu.
46796 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
46798         * sysdeps/tile: Move directory from ports/sysdeps/tile.
46799         * sysdeps/unix/sysv/linux/generic: Move directory from
46800         ports/sysdeps/unix/sysv/linux/generic.
46801         * sysdeps/unix/sysv/linux/tile: Move directory from
46802         ports/sysdeps/unix/sysv/linux/tile.
46803         * README: Update listing for tile*-*-linux-gnu.
46805 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
46807         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
46808         __builtin_expect.
46809         * benchtests/bench-memmem.c (simple_memmem): Likewise.
46810         * catgets/open_catalog.c (__open_catalog): Likewise.
46811         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
46812         * debug/confstr_chk.c: Likewise.
46813         * debug/fread_chk.c (__fread_chk): Likewise.
46814         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
46815         * debug/getgroups_chk.c: Likewise.
46816         * debug/mbsnrtowcs_chk.c: Likewise.
46817         * debug/mbsrtowcs_chk.c: Likewise.
46818         * debug/mbstowcs_chk.c: Likewise.
46819         * debug/memcpy_chk.c: Likewise.
46820         * debug/memmove_chk.c: Likewise.
46821         * debug/mempcpy_chk.c: Likewise.
46822         * debug/memset_chk.c: Likewise.
46823         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
46824         * debug/strcat_chk.c (__strcat_chk): Likewise.
46825         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
46826         * debug/strncat_chk.c (__strncat_chk): Likewise.
46827         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
46828         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
46829         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
46830         * debug/wcpncpy_chk.c: Likewise.
46831         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
46832         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
46833         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
46834         * debug/wcsncpy_chk.c: Likewise.
46835         * debug/wcsnrtombs_chk.c: Likewise.
46836         * debug/wcsrtombs_chk.c: Likewise.
46837         * debug/wcstombs_chk.c: Likewise.
46838         * debug/wmemcpy_chk.c: Likewise.
46839         * debug/wmemmove_chk.c: Likewise.
46840         * debug/wmempcpy_chk.c: Likewise.
46841         * debug/wmemset_chk.c: Likewise.
46842         * dirent/scandirat.c (SCANDIRAT): Likewise.
46843         * dlfcn/dladdr1.c (dladdr1): Likewise.
46844         * dlfcn/dladdr.c (dladdr): Likewise.
46845         * dlfcn/dlclose.c (dlclose_doit): Likewise.
46846         * dlfcn/dlerror.c (__dlerror): Likewise.
46847         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
46848         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
46849         * dlfcn/dlopen.c (dlopen_doit): Likewise.
46850         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
46851         * dlfcn/dlsym.c (dlsym_doit): Likewise.
46852         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
46853         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
46854         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
46855         Likewise.
46856         * elf/dl-conflict.c: Likewise.
46857         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
46858         * elf/dl-dst.h: Likewise.
46859         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
46860         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
46861         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
46862         * elf/dl-init.c (call_init, _dl_init): Likewise.
46863         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
46864         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
46865         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
46866         Likewise.
46867         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
46868         Likewise.
46869         * elf/dl-minimal.c (__libc_memalign): Likewise.
46870         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
46871         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
46872         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
46873         * elf/dl-sym.c (do_sym): Likewise.
46874         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
46875         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
46876         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
46877         * elf/dl-writev.h (_dl_writev): Likewise.
46878         * elf/ldconfig.c (search_dir): Likewise.
46879         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
46880         (dl_main): Likewise.
46881         * elf/setup-vdso.h (setup_vdso): Likewise.
46882         * grp/compat-initgroups.c (compat_call): Likewise.
46883         * grp/fgetgrent.c (fgetgrent): Likewise.
46884         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
46885         * grp/putgrent.c (putgrent): Likewise.
46886         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
46887         Likewise.
46888         * hurd/hurdinit.c: Likewise.
46889         * iconvdata/8bit-gap.c (struct): Likewise.
46890         * iconvdata/ansi_x3.110.c : Likewise.
46891         * iconvdata/big5.c : Likewise.
46892         * iconvdata/big5hkscs.c : Likewise.
46893         * iconvdata/cp1255.c: Likewise.
46894         * iconvdata/cp1258.c : Likewise.
46895         * iconvdata/cp932.c : Likewise.
46896         * iconvdata/euc-cn.c: Likewise.
46897         * iconvdata/euc-jisx0213.c : Likewise.
46898         * iconvdata/euc-jp.c: Likewise.
46899         * iconvdata/euc-jp-ms.c : Likewise.
46900         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
46901         * iconvdata/gb18030.c : Likewise.
46902         * iconvdata/gbbig5.c (const): Likewise.
46903         * iconvdata/gbgbk.c: Likewise.
46904         * iconvdata/gbk.c : Likewise.
46905         * iconvdata/ibm1364.c : Likewise.
46906         * iconvdata/ibm930.c : Likewise.
46907         * iconvdata/ibm932.c: Likewise.
46908         * iconvdata/ibm933.c : Likewise.
46909         * iconvdata/ibm935.c : Likewise.
46910         * iconvdata/ibm937.c : Likewise.
46911         * iconvdata/ibm939.c : Likewise.
46912         * iconvdata/ibm943.c: Likewise.
46913         * iconvdata/iso_11548-1.c: Likewise.
46914         * iconvdata/iso-2022-cn.c : Likewise.
46915         * iconvdata/iso-2022-cn-ext.c : Likewise.
46916         * iconvdata/iso-2022-jp-3.c: Likewise.
46917         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
46918         * iconvdata/iso-2022-kr.c : Likewise.
46919         * iconvdata/iso646.c (gconv_end): Likewise.
46920         * iconvdata/iso_6937-2.c : Likewise.
46921         * iconvdata/iso_6937.c : Likewise.
46922         * iconvdata/iso8859-1.c: Likewise.
46923         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
46924         * iconvdata/shift_jisx0213.c : Likewise.
46925         * iconvdata/sjis.c : Likewise.
46926         * iconvdata/t.61.c : Likewise.
46927         * iconvdata/tcvn5712-1.c : Likewise.
46928         * iconvdata/tscii.c: Likewise.
46929         * iconvdata/uhc.c : Likewise.
46930         * iconvdata/unicode.c (gconv_end): Likewise.
46931         * iconvdata/utf-16.c (gconv_end): Likewise.
46932         * iconvdata/utf-32.c (gconv_end): Likewise.
46933         * iconvdata/utf-7.c (base64): Likewise.
46934         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
46935         * iconv/gconv_close.c (__gconv_close): Likewise.
46936         * iconv/gconv_open.c (__gconv_open): Likewise.
46937         * iconv/gconv_simple.c (internal_ucs4_loop_single)
46938         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
46939         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
46940         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
46941         (ucs4le_internal_loop_single): Likewise.
46942         * iconv/iconv.c (iconv): Likewise.
46943         * iconv/iconv_close.c: Likewise.
46944         * iconv/loop.c (SINGLE): Likewise.
46945         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
46946         * include/atomic.h: Likewise.
46947         * inet/inet6_option.c (option_alloc): Likewise.
46948         * intl/bindtextdom.c (set_binding_values): Likewise.
46949         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
46950         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
46951         * intl/localealias.c (read_alias_file): Likewise.
46952         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
46953         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
46954         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
46955         * libio/fmemopen.c (fmemopen): Likewise.
46956         * libio/iofgets.c (_IO_fgets): Likewise.
46957         * libio/iofgets_u.c (fgets_unlocked): Likewise.
46958         * libio/iofgetws.c (fgetws): Likewise.
46959         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
46960         * libio/iogetdelim.c (_IO_getdelim): Likewise.
46961         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
46962         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
46963         * locale/findlocale.c (_nl_find_locale): Likewise.
46964         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
46965         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
46966         Likewise.
46967         * locale/setlocale.c (setlocale): Likewise.
46968         * login/programs/pt_chown.c (main): Likewise.
46969         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
46970         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
46971         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
46972         (mmap, mmap64, mremap, munmap): Likewise.
46973         * math/e_exp2l.c: Likewise.
46974         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
46975         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
46976         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
46977         * math/s_catan.c (__catan): Likewise.
46978         * math/s_catanf.c (__catanf): Likewise.
46979         * math/s_catanh.c (__catanh): Likewise.
46980         * math/s_catanhf.c (__catanhf): Likewise.
46981         * math/s_catanhl.c (__catanhl): Likewise.
46982         * math/s_catanl.c (__catanl): Likewise.
46983         * math/s_ccosh.c (__ccosh): Likewise.
46984         * math/s_ccoshf.c (__ccoshf): Likewise.
46985         * math/s_ccoshl.c (__ccoshl): Likewise.
46986         * math/s_cexp.c (__cexp): Likewise.
46987         * math/s_cexpf.c (__cexpf): Likewise.
46988         * math/s_cexpl.c (__cexpl): Likewise.
46989         * math/s_clog10.c (__clog10): Likewise.
46990         * math/s_clog10f.c (__clog10f): Likewise.
46991         * math/s_clog10l.c (__clog10l): Likewise.
46992         * math/s_clog.c (__clog): Likewise.
46993         * math/s_clogf.c (__clogf): Likewise.
46994         * math/s_clogl.c (__clogl): Likewise.
46995         * math/s_csin.c (__csin): Likewise.
46996         * math/s_csinf.c (__csinf): Likewise.
46997         * math/s_csinh.c (__csinh): Likewise.
46998         * math/s_csinhf.c (__csinhf): Likewise.
46999         * math/s_csinhl.c (__csinhl): Likewise.
47000         * math/s_csinl.c (__csinl): Likewise.
47001         * math/s_csqrt.c (__csqrt): Likewise.
47002         * math/s_csqrtf.c (__csqrtf): Likewise.
47003         * math/s_csqrtl.c (__csqrtl): Likewise.
47004         * math/s_ctan.c (__ctan): Likewise.
47005         * math/s_ctanf.c (__ctanf): Likewise.
47006         * math/s_ctanh.c (__ctanh): Likewise.
47007         * math/s_ctanhf.c (__ctanhf): Likewise.
47008         * math/s_ctanhl.c (__ctanhl): Likewise.
47009         * math/s_ctanl.c (__ctanl): Likewise.
47010         * math/w_pow.c: Likewise.
47011         * math/w_powf.c: Likewise.
47012         * math/w_powl.c: Likewise.
47013         * math/w_scalb.c (sysv_scalb): Likewise.
47014         * math/w_scalbf.c (sysv_scalbf): Likewise.
47015         * math/w_scalbl.c (sysv_scalbl): Likewise.
47016         * misc/error.c (error_tail): Likewise.
47017         * misc/pselect.c (__pselect): Likewise.
47018         * nis/nis_callback.c (__nis_create_callback): Likewise.
47019         * nis/nis_call.c (__nisfind_server): Likewise.
47020         * nis/nis_creategroup.c (nis_creategroup): Likewise.
47021         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47022         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47023         * nis/nis_getservlist.c (nis_getservlist): Likewise.
47024         * nis/nis_lookup.c (nis_lookup): Likewise.
47025         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47026         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47027         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47028         * nis/nis_xdr.c (xdr_endpoint): Likewise.
47029         * nis/nss_compat/compat-grp.c (getgrent_next_file)
47030         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47031         * nis/nss_compat/compat-initgroups.c (add_group)
47032         (internal_getgrent_r): Likewise.
47033         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47034         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47035         * nis/nss_compat/compat-spwd.c (getspent_next_file)
47036         (internal_getspnam_r): Likewise.
47037         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47038         (_nss_nis_getaliasbyname_r): Likewise.
47039         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47040         (_nss_nis_getntohost_r): Likewise.
47041         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47042         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47043         (_nss_nis_getgrgid_r): Likewise.
47044         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47045         (internal_nis_gethostent_r, internal_gethostbyname2_r)
47046         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47047         (_nss_nis_gethostbyname4_r): Likewise.
47048         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47049         (initgroups_netid): Likewise.
47050         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47051         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47052         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47053         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47054         (_nss_nis_getprotobynumber_r): Likewise.
47055         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47056         (_nss_nis_getsecretkey): Likewise.
47057         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47058         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47059         (_nss_nis_getpwuid_r): Likewise.
47060         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47061         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47062         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47063         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47064         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47065         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47066         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47067         Likewise.
47068         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47069         (_nss_nisplus_getntohost_r): Likewise.
47070         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47071         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47072         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47073         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47074         Likewise.
47075         * nis/nss_nisplus/nisplus-initgroups.c
47076         (_nss_nisplus_initgroups_dyn): Likewise.
47077         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47078         (_nss_nisplus_getnetbyaddr_r): Likewise.
47079         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47080         (_nss_nisplus_getprotobynumber_r): Likewise.
47081         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47082         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47083         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47084         Likewise.
47085         * nis/nss_nisplus/nisplus-service.c
47086         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47087         (_nss_nisplus_getservbyport_r): Likewise.
47088         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47089         (_nss_nisplus_getspnam_r): Likewise.
47090         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47091         Likewise.
47092         * nscd/aicache.c (addhstaiX): Likewise.
47093         * nscd/cache.c (cache_search, prune_cache): Likewise.
47094         * nscd/connections.c (register_traced_file, send_ro_fd)
47095         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47096         (main_loop_epoll): Likewise.
47097         * nscd/grpcache.c (addgrbyX): Likewise.
47098         * nscd/hstcache.c (addhstbyX): Likewise.
47099         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47100         * nscd/mem.c (gc, mempool_alloc): Likewise.
47101         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47102         (addinnetgrX): Likewise.
47103         * nscd/nscd-client.h (__nscd_acquire_maplock)
47104         (__nscd_drop_map_ref): Likewise.
47105         * nscd/nscd_getai.c (__nscd_getai): Likewise.
47106         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47107         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47108         Likewise.
47109         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47110         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47111         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47112         (__nscd_get_map_ref): Likewise.
47113         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47114         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47115         Likewise.
47116         * nscd/pwdcache.c (addpwbyX): Likewise.
47117         * nscd/selinux.c (preserve_capabilities): Likewise.
47118         * nscd/servicescache.c (addservbyX): Likewise.
47119         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47120         * posix/fnmatch.c (fnmatch): Likewise.
47121         * posix/getopt.c (_getopt_internal_r): Likewise.
47122         * posix/glob.c (glob, glob_in_dir): Likewise.
47123         * posix/wordexp.c (exec_comm_child): Likewise.
47124         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47125         (getanswer_r, gaih_getanswer_slice): Likewise.
47126         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47127         * resolv/res_init.c: Likewise.
47128         * resolv/res_mkquery.c (res_nmkquery): Likewise.
47129         * resolv/res_query.c (__libc_res_nquery): Likewise.
47130         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47131         Likewise.
47132         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47133         * stdio-common/perror.c (perror): Likewise.
47134         * stdio-common/printf_fp.c (___printf_fp): Likewise.
47135         * stdio-common/tmpnam.c (tmpnam): Likewise.
47136         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47137         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47138         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47139         Likewise.
47140         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47141         * stdlib/putenv.c (putenv): Likewise.
47142         * stdlib/setenv.c (__add_to_environ): Likewise.
47143         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47144         * stdlib/strtol_l.c (INTERNAL): Likewise.
47145         * string/memmem.c (memmem): Likewise.
47146         * string/strerror.c (strerror): Likewise.
47147         * string/strnlen.c (__strnlen): Likewise.
47148         * string/test-memmem.c (simple_memmem): Likewise.
47149         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47150         * sunrpc/pm_getport.c (__get_socket): Likewise.
47151         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47152         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47153         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47154         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47155         Likewise.
47156         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47157         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47158         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47159         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47160         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47161         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47162         Likewise.
47163         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47164         Likewise.
47165         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47166         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47167         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47168         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47169         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47170         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47171         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47172         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47173         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47174         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47175         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47176         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47177         Likewise.
47178         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47179         Likewise.
47180         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47181         Likewise.
47182         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47183         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47184         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47185         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47186         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47187         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47188         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47189         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47190         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47191         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47192         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47193         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47194         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47195         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47196         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47197         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47198         Likewise.
47199         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47200         Likewise.
47201         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47202         Likewise.
47203         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47204         Likewise.
47205         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47206         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47207         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47208         Likewise.
47209         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47210         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47211         * sysdeps/posix/opendir.c (__opendirat): Likewise.
47212         * sysdeps/posix/sleep.c: Likewise.
47213         * sysdeps/posix/tempname.c: Likewise.
47214         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47215         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47216         Likewise.
47217         * sysdeps/powerpc/powerpc32/dl-machine.h
47218         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47219         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47221         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47222         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47223         Likewise.
47224         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47225         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47226         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47227         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47228         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47229         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47230         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47231         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47232         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47233         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47234         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47235         (elf_machine_lazy_rel): Likewise.
47236         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47237         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47238         (elf_machine_lazy_rel): Likewise.
47239         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47240         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47241         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47242         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47243         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47244         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47245         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47246         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47247         Likewise.
47248         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47249         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47250         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47251         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47252         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47253         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47254         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47255         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47256         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47257         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47258         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47259         Likewise.
47260         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47261         (__posix_fallocate64_l64): Likewise.
47262         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47263         (posix_fallocate): Likewise.
47264         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47265         Likewise.
47266         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47267         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47268         (getifaddrs_internal): Likewise.
47269         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47270         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47271         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47272         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47273         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47274         (__posix_fallocate64_l64): Likewise.
47275         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47276         Likewise.
47277         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47278         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47279         (__get_clockfreq): Likewise.
47280         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47281         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47282         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47283         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47284         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47285         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47286         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47287         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47288         Likewise.
47289         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47290         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47291         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47292         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47293         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47294         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47295         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47296         Likewise.
47297         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47298         (posix_fallocate): Likewise.
47299         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47300         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47301         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47302         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47303         (elf_machine_rela, elf_machine_rela_relative)
47304         (elf_machine_lazy_rel): Likewise.
47305         * time/asctime.c (asctime_internal): Likewise.
47306         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47307         * time/tzset.c (__tzset_parse_tz): Likewise.
47308         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47309         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47310         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47311         * wcsmbs/wcsmbsload.h: Likewise.
47313         [BZ #15894]
47314         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47316         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47317         (arena_get2): Remove THREAD_STATS conditionals.
47318         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47319         (__malloc_stats, int): Likewise.
47321 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47323         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47324         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47326         * manual/setjmp.texi: Fix typos/grammar errors.
47328         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47329         Only return early when n is <= 0.  Delete unused return statement.
47331         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47332         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47333         * debug/tst-longjmp_chk3.c: New file.
47335         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47336         (test_main): Replace code with set_fortify_handler call.
47337         * debug/test-strcpy_chk.c: Likewise.
47338         * debug/tst-chk1.c: Likewise.
47339         * debug/tst-longjmp_chk.c: Likewise.
47340         * test-skeleton.c: Include fcntl.h & paths.h
47341         (set_fortify_handler): Define.
47343         * debug/tst-longjmp_chk.c: Add header comment and include
47344         ../test-skeleton.c.
47345         (do_test): Mark static.
47346         (TEST_FUNCTION): Define.
47348         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47349         (IP_PMTUDISC_INTERFACE): Likewise.
47350         (IP_MULTICAST_IF): Likewise.
47351         (IP_MULTICAST_TTL): Likewise.
47352         (IP_MULTICAST_LOOP): Likewise.
47353         (IP_ADD_MEMBERSHIP): Likewise.
47354         (IP_DROP_MEMBERSHIP): Likewise.
47355         (IP_UNBLOCK_SOURCE): Likewise.
47356         (IP_BLOCK_SOURCE): Likewise.
47357         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47358         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47359         (IP_MSFILTER): Likewise.
47360         (MCAST_JOIN_GROUP): Likewise.
47361         (MCAST_BLOCK_SOURCE): Likewise.
47362         (MCAST_UNBLOCK_SOURCE): Likewise.
47363         (MCAST_LEAVE_GROUP): Likewise.
47364         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47365         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47366         (MCAST_MSFILTER): Likewise.
47367         (IP_MULTICAST_ALL): Likewise.
47368         (IP_UNICAST_IF): Likewise.
47370         * timezone/Makefile: Delete $(have-ksh) check.
47371         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47372         * timezone/tzselect.ksh: Add +x mode bits.
47374         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47375         (ANON_INODE_FS_MAGIC): Likewise.
47376         (BDEVFS_MAGIC): Likewise.
47377         (BINFMTFS_MAGIC): Likewise.
47378         (BTRFS_TEST_MAGIC): Likewise.
47379         (CRAMFS_MAGIC_WEND): Likewise.
47380         (DEBUGFS_MAGIC): Likewise.
47381         (ECRYPTFS_SUPER_MAGIC): Likewise.
47382         (EXT3_SUPER_MAGIC): Likewise.
47383         (EXT4_SUPER_MAGIC): Likewise.
47384         (FUTEXFS_SUPER_MAGIC): Likewise.
47385         (HOSTFS_SUPER_MAGIC): Likewise.
47386         (HUGETLBFS_MAGIC): Likewise.
47387         (MINIX3_SUPER_MAGIC): Likewise.
47388         (MTD_INODE_FS_MAGIC): Likewise.
47389         (NILFS_SUPER_MAGIC): Likewise.
47390         (OPENPROM_SUPER_MAGIC): Likewise.
47391         (PIPEFS_MAGIC): Likewise.
47392         (PSTOREFS_MAGIC): Likewise.
47393         (QNX6_SUPER_MAGIC): Likewise.
47394         (RAMFS_MAGIC): Likewise.
47395         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47396         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47397         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47398         (SECURITYFS_MAGIC): Likewise.
47399         (SELINUX_MAGIC): Likewise.
47400         (SMACK_MAGIC): Likewise.
47401         (SOCKFS_MAGIC): Likewise.
47402         (SQUASHFS_MAGIC): Likewise.
47403         (STACK_END_MAGIC): Likewise.
47404         (TMPFS_MAGIC): Likewise.
47405         (USBDEVICE_SUPER_MAGIC): Likewise.
47406         (V9FS_MAGIC): Likewise.
47407         (XENFS_SUPER_MAGIC): Likewise.
47408         (CRAMFS_MAGIC): Fix typo in comment.
47409         (EXT2_SUPER_MAGIC): Update comment.
47410         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47412 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47414         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47415         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47416         * sysdeps/unix/sysv/linux/arm: Move directory from
47417         ports/sysdeps/unix/sysv/linux/arm.
47418         * README: Update listing for arm-*-linux-gnueabi.
47420         * README: Remove mention of am33.
47422 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47424         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47425         than the comma operator, to avoid "rhs of comma has no effect"
47426         compiler warnings.
47427         (__sigfillset, __sigandset, __sigorset): Likewise.
47428         * include/signal.h (__sigemptyset): Likewise.
47429         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47431 2014-02-07  Allan McRae  <allan@archlinux.org>
47433         * version.h (RELEASE): Set to "development".
47434         (VERSION): Set to "2.19.90"
47435         * NEWS: Add 2.20 section.
47437 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47439         [BZ #16529]
47440         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47442 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47444         * manual/contrib.texi: Update entry for Carlos O'Donell,
47445         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47447 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47449         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47451         * sysdeps/unix/sysv/linux/kernel-features.h
47452         [__LINUX_KERNEL_VERSION >= 0x020621]
47453         (__ASSUME_PROC_PID_TASK_COMM): Define.
47455 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47457         [BZ #16398]
47458         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47459         conversion when destination buffer does not have enough space.
47460         * libio/tst-ftell-partial-wide.c: New test case.
47461         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47463         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47464         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47465         Leonard and Allan McRae.
47467 2014-02-04  David S. Miller  <davem@davemloft.net>
47469         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47470         32-bit.
47472 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47475         New file
47476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47477         New file
47478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47479         New file.
47480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47481         New file.
47482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47483         New file.
47484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47485         New file.
47486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47487         New file.
47488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47489         New file.
47490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47491         New file.
47492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47493         New file.
47494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47495         New file.
47496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47497         New file.
47498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47499         New file.
47501 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47503         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47504         * shlib-versions: Likewise.
47506 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47507             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47509         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47510         (abilist-pattern): New variable, set to %-le.abilist.
47512         * Makerules (abilist-pattern): New variable.
47513         (vpath): Use $(abilist-pattern) in place of %.abilist.
47514         (check-abi-% pattern rule): Likewise.
47515         (check-abi, update-abi): Likewise.
47517 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47519         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47521 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47523         * manual/startup.texi: Add next, previous, and top entries for
47524         the `Program Arguments' and `Environment Variables' nodes.
47526 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47528         * manual/macros.texi: Add comments before MTASC-safety macros.
47530         * manual/users.texi: Document MTASC-safety properties.
47532         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47533         (pthread_getspecific, pthread_setspecific): Format with
47534         @deftypefun, and add @safety note.
47535         * manual/signal.texi: Move comments that analyze the above
47536         functions to their home place.
47538 2014-02-03  Allan McRae  <allan@archlinux.org>
47540         * po/sl.po: Update Slovenian translation from translation project.
47542 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47544         * manual/time.texi (timegm): Add missing blank after @c.
47545         Reported by Joseph Myers <joseph@codesourcery.com>.
47547 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47549         * manual/check-safety.sh: New.
47550         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47552         * manual/terminal.texi: Document MTASC-safety properties.
47554         * manual/filesys.texi: Document MTASC-safety properties.
47556         * manual/errno.texi: Document MTASC-safety properties.
47558         * manual/intro.texi: Document safety identifiers and
47559         conditionals.
47561         * manual/string.texi (wcstok): Fix prototype.
47562         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47564         * manual/time.texi: Document MTASC-safety properties.
47566         * manual/string.texi: Document MTASC-safety properties.
47568         * manual/threads.texi: Document MTASC-safety properties.
47570         * manual/stdio.texi: Document MTASC-safety properties.
47572         * manual/syslog.texi: Document MTASC-safety properties.
47574         * manual/sysinfo.texi: Document MTASC-safety properties.
47576         * manual/startup.texi: Document MTASC-safety properties.
47578         * manual/socket.texi: Document MTASC-safety properties.
47580         * manual/signal.texi: Document MTASC-safety properties.
47582 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47584         * manual/setjmp.texi: Document MTASC-safety properties.
47586         * manual/search.texi: Document MTASC-safety properties.
47588         * manual/resource.texi: Document MTASC-safety properties.
47590         * manual/process.texi: Document MTASC-safety properties.
47592         * manual/platform.texi: Document MTASC-safety properties.
47594         * manual/pipe.texi: Document MTASC-safety properties.
47596         * manual/pattern.texi: Document MTASC-safety properties.
47598         * manual/message.texi: Document MTASC-safety properties.
47600         [BZ #12751]
47601         * manual/memory.texi: Document MTASC-safety properties.
47603         * manual/math.texi: Document MTASC-safety properties.
47605         * manual/locale.texi: Document MTASC-safety properties.
47607         * manual/llio.texi: Document MTASC-safety properties.
47609         * manual/libdl.texi: New.
47611         * manual/lang.texi: Document MTASC-safety properties.
47613         * manual/job.texi: Document MTASC-safety properties.
47615         * manual/getopt.texi: Document MTASC-safety properties.
47617         * manual/ctype.texi: Document MTASC-safety properties.
47619 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47621         [BZ #16046]
47622         * csu/libc-tls.c (static_map): Remove variable.
47623         (__libc_setup_tls): Use main executable's link map for TLS data.
47624         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47625         casing for LM_ID_BASE and GL(dl_nns).
47626         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47627         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47628         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47629         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47630         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47631         member.
47632         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47633         l_phnum members.
47635 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47637         * manual/debug.texi: Document MTASC-safety properties.
47639 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47641         [BZ #16510]
47642         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47643         of __x86_64__ when disabling x87 inline functions.
47645 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47647         * manual/charset.texi: Document MTASC-safety properties.
47649         * manual/crypt.texi: Document MTASC-safety properties.
47651         * manual/conf.texi: Document MTASC-safety properties.
47653         * manual/arith.texi: Document MTASC-safety properties.
47655         * manual/argp.texi: Document MTASC-safety properties.
47657         * manual/macros.texi: Introduce macros to document multi
47658         thread, asynchronous signal and asynchronous cancellation
47659         safety properties.
47660         * manual/intro.texi: Introduce the properties themselves.
47662 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47664         * sysdeps/sh/sh4/Makefile: New file.
47666 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47668         * math/gen-libm-test.pl ($srcdir): New variable.
47669         ($auto_input): Use it.
47671 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47673         [BZ #16506]
47674         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47675         access beyond array bounds when parsing netgroups file.
47677         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47678         the old buffer before realloc.
47680 2014-01-27  Allan McRae  <allan@archlinux.org>
47682         * po/fr.po: Update French translation from translation project.
47684 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47686         * sysdeps/sh/libm-test-ulps: Regenerate.
47688 2014-01-24  David S. Miller  <davem@davemloft.net>
47690         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47692 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47694         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47695         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47697 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47699         [BZ #16474]
47700         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47701         string pointers after reallocation.
47703 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47705         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47706         __SH4A__ instead of __SH_FPU_ANY__.
47708 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47710         * sysdeps/sh/fpu_control.h: New file.
47711         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47712         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47713         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47714         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47715         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47716         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47717         * sysdeps/sh/sys/ucontext.h: Remove.
47718         * sysdeps/sh/sys: Remove directory.
47720 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47722         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47723         s390/sys/ucontext.h.
47724         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47725         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47727 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
47729         [BZ #15605]
47730         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47732 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47734         [BZ#16431]
47735         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47736         Adjust the vDSO correctly for internal calls.
47737         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47739 2014-01-20  Allan McRae  <allan@archlinux.org>
47741         * po/ca.po: Update Catalan translation from translation project.
47743 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
47745         * sysdeps/s390/sotruss-lib.c: New file.
47747 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47749         [BZ#16430]
47750         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47751         (__GI___gettimeofday): Alias for a different internal symbol to avoid
47752         local calls issues by not having a PLT stub required for IFUNC calls.
47753         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47755 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
47757         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47758         * math/test-fpucw-static.c: Likewise.
47760 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
47762         [BZ #16453]
47763         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47765 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47767         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47768         implementation for powerpc.
47770 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
47772         [BZ #14782]
47773         * sysdeps/posix/system.c (__libc_system): Do not enable
47774         asynchronous cancellation.
47776 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47778         [BZ #16427]
47779         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
47780         handling only for numbers special also in the IEEE case.
47782 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47784         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47786 2014-01-11  Allan McRae  <allan@archlinux.org>
47788         * po/bg.po: Update Bulgarian translation from translation project.
47790         * po/de.po: Update German translation from translation project.
47792 2014-01-10  Roland McGrath  <roland@hack.frob.com>
47794         * sysdeps/generic/gcc-compat.h: New file.
47796 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
47798         * benchtests/asin-inputs: Correct slow inputs.
47799         * benchtests/acos-inputs: Likewise.
47801 2014-01-10  Allan McRae  <allan@archlinux.org>
47803         * po:sv.po: Update Swedish translation from translation project.
47805         * po/vi.po: Update Vietnamese translation from translation project.
47807         * po/eo.po: Update Esperanto translation from translation project.
47809         * po/cs.po: Update Czech translation from translation project.
47811         * po/nl.po: Update Dutch translation from translation project.
47813         * po/pl.po: Update Polish translation from translation project.
47815         * po/ru.po: Update Russian translation from translation project.
47817         * po/uk.po: Update Ukrainian translation from translation project.
47819 2014-01-08  Brooks Moses  <bmoses@google.com>
47821         * elf/dl-load.c: Fix comment typo.
47823 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
47825         * po/header.pot: Rename to...
47826         * po/pot.header: ... this.
47827         * po/Makefile: Use pot.header.
47829 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
47830             Maxim Kuvyrkov  <maxim@kugelworks.com>
47832         [BZ #16394]
47833         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
47834         SRC and DEST against LEN.
47836 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47838         [BZ #16414]
47839         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
47840         implementation.
47841         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
47843 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47847 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
47849         [BZ #16408]
47850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
47851         for large positive arguments.
47853 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
47855         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47857         * math/auto-libm-test-in: Mark various tests with
47858         xfail-rounding:ldbl-128ibm.
47859         * math/auto-libm-test-out: Regenerated.
47861         [BZ #16407]
47862         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
47863         Increase overflow threshold.
47865 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
47867         [BZ #14286]
47868         * stdio-common/vfprintf.c: Check for integer overflow.
47870 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47872         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
47873         the first argument and return value of __tls_get_addr_internal.
47875 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47877         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
47878         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
47880 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47882         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
47883         * sysdeps/s390/rtld-global-offsets.sym: New file.
47884         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
47885         GLIBC_2.19 symbol.
47886         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
47887         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
47888         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
47889         ... this.
47890         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
47891         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
47892         ... this.
47893         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47894         Regenerate.
47895         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47896         Regenerate.
47897         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
47898         halfs of GPRs for high_gprs contexts.
47899         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
47900         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
47901         field.
47902         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
47903         uc_flags field.
47904         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
47905         64 bit versions:
47906         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
47907         for high GPRs (uc_high_gprs) and for future extensions
47908         (__reserved).
47909         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
47910         for future extensions (__reserved).
47911         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
47912         64 bit versions:
47913         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
47914         SC_HIGHGPRS offset definition.
47915         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
47916         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
47918         * Versions.def: Add GLIBC_2.19 for libpthread.
47919         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
47920         siglongjmp for libpthread with GLIBC_2.19 symver.
47921         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
47922         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
47923         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
47924         * sysdeps/s390/__longjmp.c: New file.
47925         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
47926         * sysdeps/s390/longjmp.c: New file.
47927         * sysdeps/s390/setjmp.S: New file.
47928         * sysdeps/s390/sigjmp.S: New file.
47929         * sysdeps/s390/v1-longjmp.c: New file.
47930         * sysdeps/s390/v1-setjmp.h: New file.
47931         * sysdeps/s390/v1-sigjmp.c: New file.
47932         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
47933         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
47934         GLIBC_2.19 version.
47935         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
47936         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
47937         versioned symbols for ____longjmp_chk.
47938         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
47939         Likewise.
47940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
47941         Regenerate.
47942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47943         Regenerate.
47944         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
47945         Regenerate.
47946         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47947         Regenerate.
47948         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
47949         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
47950         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
47951         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
47952         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
47953         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
47954         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
47955         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
47956         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
47957         * sysdeps/s390/rtld-__longjmp.c: New file.
47958         * sysdeps/s390/rtld-setjmp.S: New file.
47960 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
47962         [BZ #16400]
47963         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
47964         Return -__logl (x) for small positive arguments without evaluating
47965         a polynomial.
47967 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
47969         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
47970         Rename to ...
47971         (__ptrace_peeksiginfo_args): ... this.
47972         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47973         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47974         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47976 2014-01-06  Allan McRae  <allan@archlinux.org>
47978         * inet/netinet/in.h: Fix typo in comment.
47980 2014-01-05  Andreas Jaeger  <aj@suse.de>
47982         * sysdeps/i386/fpu/libm-test-ulps: Update.
47984 2014-01-05  Allan McRae  <allan@archlinux.org>
47986         * po/libc.pot: Regenerated.
47988         * malloc/memusagestat.c: Fix gettext call formatting.
47990 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
47992         * nscd/nscd.c: Improve usage() output.
47994 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
47996         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
47997         * sysdeps/unix/sysv/linux/configure: Regenerated.
47998         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
47999         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48001 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48003         [BZ #16390]
48004         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48005         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48007 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48009         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48010         extra tokens at end of #undef directive.
48011         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48012         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48013         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48015 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48017         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48019         * math/auto-libm-test-in: Mark various tests with
48020         xfail-rounding:ldbl-128ibm.
48021         * math/auto-libm-test-out: Regenerated.
48023 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
48025         [BZ #16386]
48026         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48027         numbers with subnormal high part when calculating exponent.
48029         [BZ #16385]
48030         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48031         fabs.
48033         [BZ #16384]
48034         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48035         M_LN2l.
48036         (__ieee754_acoshl): Use __log1pl not __log1p.
48038 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
48040         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48041         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48042         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48043         (grow_heap, heap_trim, _int_new_arena, get_free_list)
48044         (reused_arena, arena_get2): Convert to GNU style.
48045         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48046         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48047         (memalign_check, __malloc_set_state): Likewise.
48048         * malloc/mallocbug.c (main): Likewise.
48049         * malloc/malloc.c (__malloc_assert, malloc_init_state)
48050         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48051         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48052         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48053         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48054         (__posix_memalign, malloc_info): Likewise.
48055         * malloc/malloc.h: Likewise.
48056         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48057         (mallochook, memalignhook, reallochook, mabort): Likewise.
48058         * malloc/mcheck.h: Likewise.
48059         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48060         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48061         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48062         * malloc/morecore.c (__default_morecore): Likewise.
48063         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48064         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48065         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48066         (print_and_abort): Likewise.
48067         * malloc/obstack.h: Likewise.
48068         * malloc/set-freeres.c (__libc_freeres): Likewise.
48069         * malloc/tst-mallocstate.c (main): Likewise.
48070         * malloc/tst-mtrace.c (main): Likewise.
48071         * malloc/tst-realloc.c (do_test): Likewise.
48073 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48075         [BZ #16366]
48076         * nscd/netgroupcache.c (do_notfound): New function.
48077         (addgetnetgrentX): Use it.
48079         [BZ # 16365]
48080         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48081         NSS_STATUS_NOTFOUND.
48083 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
48085         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48088 2014-01-01  Allan McRae  <allan@archlinux.org>
48090         * scripts/update-copyrights: Update configure input file suffix.
48092         * NEWS: Update copyright year.
48093         * catgets/gencat.c: Likewise.
48094         * csu/version.c: Likewise.
48095         * debug/catchsegv.sh: Likewise.
48096         * debug/pcprofiledump.c: Likewise.
48097         * debug/xtrace.sh: Likewise.
48098         * elf/ldconfig.c: Likewise.
48099         * elf/ldd.bash.in: Likewise.
48100         * elf/pldd.c: Likewise.
48101         * elf/sotruss.ksh: Likewise.
48102         * elf/sprof.c: Likewise.
48103         * iconv/iconv_prog.c: Likewise.
48104         * iconv/iconvconfig.c: Likewise.
48105         * locale/programs/locale.c: Likewise.
48106         * locale/programs/localedef.c: Likewise.
48107         * login/programs/pt_chown.c: Likewise.
48108         * malloc/memusage.sh: Likewise.
48109         * malloc/memusagestat.c: Likewise.
48110         * malloc/mtrace.pl: Likewise.
48111         * manual/libc.texinfo: Likewise.
48112         * nscd/nscd.c: Likewise.
48113         * nss/getent.c: Likewise.
48114         * nss/makedb.c: Likewise.
48115         * posix/getconf.c: Likewise.
48116         * scripts/test-installation.pl: Likewise.
48118         * All files with FSF copyright notices: Update copyright dates
48119         using scripts/update-copyrights.
48120         * intl/plural.c: Regenerated.
48121         * locale/programs/charmap-kw.h: Likewise.
48122         * locale/programs/locfile-kw.h: Likewise.
48124 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
48126         * sysdeps/unix/sysv/linux/configure: Regenerated.
48127         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48128         the linux/fanotify.h header.
48129         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48130         HAVE_LINUX_FANOTIFY_H is defined.
48132 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48134         * benchtests/cos-inputs: New inputs.
48135         * benchtests/sin-inputs: Likewise.
48137         * benchtests/atan-inputs: New inputs. Fix name of multiple
48138         precision fallback inputs.
48140         * benchtests/atanh-inputs: New inputs.
48141         * benchtests/tanh-inputs: Likewise.
48143         * benchtests/acosh-inputs: New inputs.
48144         * benchtests/asinh-inputs: Likewise.
48146         * benchtests/cosh-inputs: New inputs.
48147         * benchtests/sinh-inputs: Likewise.
48149         * benchtests/acos-inputs: Add more inputs.
48150         * benchtests/asin-inputs: Likewise.
48152 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
48154         [BZ #16375]
48155         * manual/arith.texi: Fix spelling.
48156         * manual/charset.texi: Likewise.
48157         * manual/errno.texi: Likewise.
48158         * manual/filesys.texi: Likewise.
48159         * manual/lang.texi: Likewise.
48160         * manual/llio.texi: Likewise.
48161         * manual/locale.texi: Likewise.
48162         * manual/message.texi: Likewise.
48163         * manual/resource.texi: Likewise.
48164         * manual/search.texi: Likewise.
48165         * manual/setjmp.texi: Likewise.
48166         * manual/stdio.texi: Likewise.
48167         * manual/string.texi: Likewise.
48168         * manual/sysinfo.texi: Likewise.
48169         * manual/time.texi: Likewise.
48171 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
48173         * po/sl.po: New file.
48175 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
48177         * .gitignore: Add core/.gdbinit/.gdb_history.
48179 2013-12-27  Allan McRae  <allan@archlinux.org>
48181         [BZ #16369]
48182         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48183         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48185 2013-12-24  Brooks Moses  <bmoses@google.com>
48187         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48188         all compilers that claim C++98 compliance, not just GCC.
48189         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48190         Likewise.
48192 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48194         * NEWS: Restore accidentally deleted bug-fix entries.
48196 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48197             Ondřej Bílka  <neleai@seznam.cz>
48199         [BZ #15073]
48200         * malloc/malloc.c (_int_free): Perform sanity check only if we
48201         have_lock.
48203 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
48205         [BZ #12986]
48206         * manual/stdio.texi (String Input Conversions): Clarify that character
48207         classes are not supported.
48209 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48213 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
48215         [BZ #16337]
48216         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48217         Calculate results for small negative arguments directly rather
48218         than using reflection formula with special underflow handling.
48220         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48221         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48222         sysdeps/unix/bsd/bsd4.4/syscalls.list.
48223         (fchflags): Likewise.
48224         (revoke): Likewise.
48225         (setlogin): Likewise.
48226         (sigaltstack): Likewise.
48227         (wait4): Likewise.
48228         (sigblock): Remove.
48229         (sigsetmask): Likewise.
48230         (wait3): Likewise.
48231         (waitpid): Likewise.
48232         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48233         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48234         file.
48235         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48236         * sysdeps/unix/bsd/Makefile: ... here.
48237         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48238         * sysdeps/unix/bsd/Versions: ... here.
48239         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48240         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48241         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48242         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48243         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48244         * sysdeps/unix/bsd/sigblock.c: ... here.
48245         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48246         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48247         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48248         * sysdeps/unix/bsd/sigvec.c: ... here.
48249         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48250         * sysdeps/unix/bsd/tcdrain.c: ... here.
48251         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48252         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48253         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48254         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48255         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48256         * sysdeps/unix/bsd/wait.c: ... here.
48257         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48258         * sysdeps/unix/bsd/wait3.c: ... here.
48259         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48260         * sysdeps/unix/bsd/waitpid.c: ... here.
48262 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48264         [BZ #16356]
48265         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48266         round-to-nearest for [!USE_AS_EXPM1L].
48267         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48268         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48269         more tests of exp and exp10.  Expect some exp10 tests to miss
48270         exceptions or fail in directed rounding modes.
48271         * math/auto-libm-test-out: Regenerated.
48272         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48273         (exp10_test_tonearest): New function.
48274         (exp10_towardzero_test_data): New array.
48275         (exp10_test_towardzero): New function.
48276         (exp10_downward_test_data): New array.
48277         (exp10_test_downward): New function.
48278         (exp10_upward_test_data): New array.
48279         (exp10_test_upward): New function.
48280         (main): Call the new functions.
48281         * sysdeps/i386/fpu/libm-test-ulps: Update.
48282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48284 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48286         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48287         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48288         * math/auto-libm-test-out: Regenerated.
48289         * math/libm-test.inc (acosh_test_data): Add more tests.
48290         (atanh_test_data): Likewise.
48291         (ceil_test_data): Likewise.
48292         (copysign_test_data): Likewise.
48293         * sysdeps/i386/fpu/libm-test-ulps: Update.
48294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48296         * timezone/checktab.awk: Update from tzcode 2013i.
48297         * timezone/private.h: Likewise.
48298         * timezone/scheck.c: Likewise.
48299         * timezone/tzfile.h: Likewise.
48300         * timezone/tzselect.ksh: Likewise.
48301         * timezone/zdump.c: Likewise.
48302         * timezone/zic.c: Likewise.
48304         * math/auto-libm-test-in: Add tests of cpow.
48305         * math/auto-libm-test-out: Regenerated.
48306         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48307         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48308         mpc_cc_c.
48309         (func_calc_desc): Add mpc_cc_c union field.
48310         (test_functions): Add cpow.
48311         (special_fill_2pi): New function.
48312         (special_real_inputs): Add 2pi.
48313         (calc_generic_results): Handle mpc_cc_c.
48314         * sysdeps/i386/fpu/libm-test-ulps: Update.
48315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48317         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48318         csqrt, ctan and ctanh.
48319         * math/auto-libm-test-out: Regenerated.
48320         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48321         (TEST_COND_x86): Likewise.
48322         (ccos_test_data): Use AUTO_TESTS_c_c.
48323         (ccosh_test_data): Likewise.
48324         (cexp_test_data): Likewise.
48325         (clog_test_data): Likewise.
48326         (csqrt_test_data): Likewise.
48327         (ctan_test_data): Likewise.
48328         (ctan_tonearest_test_data): Likewise.
48329         (ctan_towardzero_test_data): Likewise.
48330         (ctan_downward_test_data): Likewise.
48331         (ctan_upward_test_data): Likewise.
48332         (ctanh_test_data): Likewise.
48333         (ctanh_tonearest_test_data): Likewise.
48334         (ctanh_towardzero_test_data): Likewise.
48335         (ctanh_downward_test_data): Likewise.
48336         (ctanh_upward_test_data): Likewise.
48337         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48338         mpc_c_c.
48339         (func_calc_desc): Add mpc_c_c union field.
48340         (FUNC_mpc_c_c): New macro.
48341         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48342         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48343         ctanh.
48344         (special_fill_min_subnorm_p120): New function.
48345         (special_real_inputs): Add min_subnorm_p120.
48346         (calc_generic_results): Handle mpc_c_c.
48347         * sysdeps/i386/fpu/libm-test-ulps: Update.
48348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48350 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48352         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48353         (do_sin_slow): New functions.
48354         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48355         (cslow2, csloww1, csloww2): Use the new functions.
48357         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48358         Use M to change sign of result instead of X.  Assume X is
48359         positive.
48360         (csloww1): Likewise.
48361         (__sin): Adjust.
48362         (__cos): Adjust.
48364         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48365         arguments A and DA.
48366         (__sin): Adjust.
48367         (__cos): Likewise.
48369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48370         (__cos): Likewise.
48371         (sloww1): Don't adjust sign of DX.
48372         (csloww1): Likewise.
48373         (sloww2): Use X directly and don't adjust sign of DX.
48374         (csloww2): Likewise.
48376 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48378         * math/auto-libm-test-in: Add tests of cabs and carg.
48379         * math/auto-libm-test-out: Regenerated.
48380         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48381         (carg_test_data): Likewise.
48382         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48383         mpc_c_f.
48384         (func_calc_desc): Add mpc_c_f union field.
48385         (test_functions): Add cabs and carg.
48386         (calc_generic_results): Handle mpc_c_f.
48388         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48389         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48390         as a macro and a compat symbol.
48391         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48392         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48393         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48394         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48395         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48396         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48397         not use .hidden.
48398         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48399         Likewise.
48400         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48401         Likewise.
48402         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48403         Likewise.
48404         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48405         Likewise.
48406         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48407         Likewise.
48408         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48409         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48410         from GLIBC_2.3.2.
48412 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48414         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48416 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48418         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48419         trailing whitespace removed.
48420         * scripts/config.guess: Update to version 2013-11-29.
48421         * scripts/config.sub: Update to version 2013-10-01.
48423         * math/auto-libm-test-in: Add tests of sincos.
48424         * math/auto-libm-test-out: Regenerated.
48425         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48426         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48427         mpfr_f_11.
48428         (func_calc_desc): Add mpfr_f_11 union field.
48429         (test_functions): Add sincos.
48430         (calc_generic_results): Handle mpfr_f_11.
48431         * sysdeps/i386/fpu/libm-test-ulps: Update.
48432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48434 2013-12-19  Andreas Schwab  <schwab@suse.de>
48436         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48437         CALL_MCOUNT.
48438         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48439         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48440         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48442 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48444         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48445         * sysdeps/i386/fpu/libm-test-ulps: Update.
48446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48448         [BZ #16293]
48449         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48450         round-to-nearest mode when using frndint.
48451         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48452         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48453         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48454         Likewise.
48455         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48456         sinh test to fail.
48457         * math/auto-libm-test-out: Regenerated.
48458         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48459         (TEST_COND_x86): Likewise.
48460         (expm1_tonearest_test_data): New array.
48461         (expm1_test_tonearest): New function.
48462         (expm1_towardzero_test_data): New array.
48463         (expm1_test_towardzero): New function.
48464         (expm1_downward_test_data): New array.
48465         (expm1_test_downward): New function.
48466         (expm1_upward_test_data): New array.
48467         (expm1_test_upward): New function.
48468         (main): Run the new test functions.
48469         * sysdeps/i386/fpu/libm-test-ulps: Update.
48470         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48472         * include/features.h: Update comment documenting feature test
48473         macros.  Mention _DEFAULT_SOURCE in comment.
48474         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48475         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48476         _BSD_SOURCE and _SVID_SOURCE.
48477         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48478         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48479         !_SVID_SOURCE]: Likewise.
48480         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48481         (__USE_POSIX_IMPLICITLY): Define.
48482         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48483         (_POSIX_SOURCE): Undefine and redefine.
48484         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48485         (_POSIX_C_SOURCE): Likewise.
48486         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48487         (Feature Test Macros): Update documentation of default features.
48489 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48491         * benchtests/Makefile: Add bench-strtok.
48492         * benchtests/bench-strtok.c: New file: strtok benchtest.
48494 2013-12-19  Allan McRae  <allan@archlinux.org>
48496         * manual/install.texi: Suppress menu for plain text output.
48497         * INSTALL: Regenerated.
48499 2013-12-18  Brooks Moses  <bmoses@google.com>
48501         [BZ #15846]
48502         * misc/getauxval.c: Include errno.h.
48503         (__getauxval): Set errno to ENOENT if the requested type is not
48504         found.
48505         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48506         don't declare with __attribute_const__.
48507         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48508         * manual/startup.texi: Document that getauxval sets errno.
48510 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48512         * math/auto-libm-test-in: Add tests of jn and yn.
48513         * math/auto-libm-test-out: Regenerated.
48514         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48515         (yn_test_data): Likewise.
48516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48517         mpfr_if_f.
48518         (func_calc_desc): Add mpfr_if_f union field.
48519         (FUNC_mpfr_if_f): New macro.
48520         (test_functions): Add jn and yn.
48521         (calc_generic_results): Assert type of second input for
48522         mpfr_ff_f.  Handle mpfr_if_f.
48523         (output_for_one_input_case): Disable all checking for arguments
48524         fitting floating-point types in case of an integer argument.
48525         * sysdeps/i386/fpu/libm-test-ulps: Update.
48526         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48529         Don't expect fegetround reference in libm.so.
48531 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48533         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48534         $(config-cflags-nofma).
48536 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48538         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48539         * math/auto-libm-test-out: Regenerated.
48541         [BZ #16338]
48542         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48543         to determine exponent and adjust argument to have exponent of -1.
48544         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48545         log2.
48546         * math/auto-libm-test-out: Regenerated.
48547         * sysdeps/i386/fpu/libm-test-ulps: Update.
48548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48550 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48552         * manual/probes.texi: Remove cases when per-thread arenas are
48553         disabled.
48555 2013-12-18  Andreas Schwab  <schwab@suse.de>
48557         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48558         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48559         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48560         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48561         * sysdeps/i386/i686/multiarch/Makefile: Update.
48562         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48564 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48566         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48567         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48569 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48571         [BZ #15968]
48572         Support TZ transition times < 00:00:00.
48573         This is needed for version-3 tz-format files; it supports time
48574         stamps past 2037 for America/Godthab (the only entry in the tz
48575         database for which this change is relevant).
48576         * manual/time.texi (TZ Variable): Document transition times
48577         from -167:59:59 through -00:00:01.
48578         * time/tzset.c (tz_rule): Time of day is now signed.
48579         (__tzset_parse_tz): Parse negative time of day.
48581         Document TZ transition times >= 25:00:00.
48582         * manual/time.texi (TZ Variable): Document transition times from
48583         25:00:00 through 167:59:59.  These are already supported, and this
48584         support will help with version-3 tz-format files.
48586         * manual/time.texi (TZ Variable): Modernize North America example
48587         to reflect current (i.e., 2007-and-later) daylight saving rules.
48589         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48591 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48593         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48594         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48595         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48596         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48597         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48598         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48599         * sysdeps/unix/bsd/clock.c: Likewise.
48600         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48601         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48602         * sysdeps/unix/bsd/init-posix.c: Likewise.
48603         * sysdeps/unix/bsd/poll.c: Likewise.
48604         * sysdeps/unix/bsd/ptsname.c: Likewise.
48605         * sysdeps/unix/bsd/seekdir.c: Likewise.
48606         * sysdeps/unix/bsd/setegid.c: Likewise.
48607         * sysdeps/unix/bsd/seteuid.c: Likewise.
48608         * sysdeps/unix/bsd/setgid.c: Likewise.
48609         * sysdeps/unix/bsd/setrgid.c: Likewise.
48610         * sysdeps/unix/bsd/setruid.c: Likewise.
48611         * sysdeps/unix/bsd/setsid.c: Likewise.
48612         * sysdeps/unix/bsd/setuid.c: Likewise.
48613         * sysdeps/unix/bsd/sigaction.c: Likewise.
48614         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48615         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48616         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48617         * sysdeps/unix/bsd/telldir.c: Likewise.
48618         * sysdeps/unix/bsd/times.c: Likewise.
48619         * sysdeps/unix/bsd/usleep.c: Likewise.
48621         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48622         ($(objpfx)libbsd-compat.a): Remove rule.
48624         * include/features.h (__FAVOR_BSD): Do not define.
48625         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48626         features conflicting with POSIX.
48627         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48628         (_BSD_SOURCE): Remove description of not being a subset of other
48629         feature test macros.
48630         * manual/job.texi (getpgrp): Do not document BSD version.
48631         (getpgid): Do not document by reference to BSD getpgrp.
48632         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48633         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48634         * signal/signal.h [__FAVOR_BSD]: Likewise.
48635         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48636         instead of making contents conditional on [__FAVOR_BSD].
48637         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48639 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48643 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48645         [BZ #16314]
48646         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48647         values below 2**-450, not 2**-500.
48648         * math/auto-libm-test-in: Don't allow spurious underflow from
48649         hypot.
48650         * math/auto-libm-test-out: Regenerated.
48652         [BZ #16316]
48653         [BZ #16330]
48654         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48655         values of ha and hb and sort them after adjusting subnormal
48656         arguments.
48657         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48658         Likewise.
48659         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48660         values of ea and eb and sort them after adjusting subnormal
48661         arguments.
48662         * math/auto-libm-test-in: Do not expect some hypot tests of
48663         subnormals to fail.  Add more hypot tests.
48664         * math/auto-libm-test-out: Regenerated.
48666 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48668         [BZ #13304]
48669         * sysdeps/sh/s_fma.c: New file.
48670         * sysdeps/sh/s_fmaf.c: New file.
48671         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48672         version.
48673         * sysdeps/sh/Implies: Add sh/soft-fp.
48675 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48677         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48678         level of indirection to members `objname', `errstring', `malloced'.
48679         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48680         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48681         it as the __longjmp argument (just pass 1 instead).
48682         (_dl_catch_error): Initialize C with argument pointers and address of
48683         volatile local ERRCODE rather than copying values out of C at return.
48685 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48687         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48688         * math/auto-libm-test-out: Regenerated.
48689         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48690         (hypot_test_data): Likewise.
48691         (pow_test_data): Likewise.
48692         (pow_tonearest_test_data): Likewise.
48693         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48694         mpfr_ff_f.
48695         (func_calc_desc): Add mpfr_ff_f union field.
48696         (FUNC_mpfr_ff_f): New macro.
48697         (test_functions): Add atan2, hypot and pow.
48698         (special_fill_min): New function.
48699         (special_fill_minus_min): Likewise.
48700         (special_fill_min_subnorm): Likewise.
48701         (special_fill_minus_min_subnorm): Likewise.
48702         (special_real_inputs): Add min, -min, min_subnorm and
48703         -min_subnorm.
48704         (calc_generic_results): Handle mpfr_ff_f.
48705         * sysdeps/i386/fpu/libm-test-ulps: Update.
48706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48708 2013-12-16  Will Newton  <will.newton@linaro.org>
48710         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48711         (Aligned Memory Blocks): Add documentation for aligned_alloc
48712         and suggest it as an alternative to posix_memalign.
48713         (Hooks for Malloc): Document __memalign_hook is also called
48714         for aligned_alloc.  (Summary of Malloc): Add summary for
48715         aligned alloc.  Document __memalign_hook is also called
48716         for aligned_alloc.
48718 2013-12-16  Will Newton  <will.newton@linaro.org>
48720         * manual/memory.texi (Malloc Examples): Clarify default
48721         alignment documentation.  Suggest posix_memalign rather
48722         than memalign or valloc.
48723         (Aligned Memory Blocks): Remove suggestion to use memalign
48724         or valloc.  Remove obsolete comment about BSD.
48725         Document memalign errno values and mark the function obsolete.
48726         Document posix_memalign returned error codes.  Mark valloc
48727         as obsolete.  (Hooks for Malloc): __memalign_hook is also
48728         called for posix_memalign and valloc.
48729         (Summary of Malloc): Add posix_memalign to function summary.
48730         __memalign_hook is also called for posix_memalign and valloc.
48732 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48734         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48735         TAYLOR_SIN.
48736         (__sin): Adjust.
48737         (__cos): Likewise.
48738         (sloww): Use mynumber union.  Expand ternary operator into
48739         if-else statements.
48740         (cslow): use mynumber union.
48742 2013-12-16  Allan McRae  <allan@archlinux.org>
48744         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48745         * configure: Regenerated.
48747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48749         [BZ #14120]
48750         * configure.ac: Added --enable-maintainer-mode. Check for
48751         autoconf when enabled.
48752         * configure: Regenerated.
48754         * nscd/nscd.service: New file.
48755         * nscd/nscd.tmpfiles: New file.
48757 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
48759         [BZ #12100]
48760         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48761         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48762         * sysdeps/x86_64/multiarch/strstr.c: ... here.
48763         (strstr): Add __strstr_sse2_unaligned ifunc.
48764         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48765         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48766         (strcasestr): Remove __strcasestr_sse42 ifunc.
48767         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48768         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
48769         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48771 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48773         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
48774         * sysdeps/sh/bits/fenv.h: ... here.
48775         * sysdeps/sh/sh4/fpu/bits: Remove directory.
48777 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48779         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
48781         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
48782         hypotf multiarch implementations.
48783         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
48784         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
48785         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
48786         multiarch hypot for PPC64.
48787         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
48788         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
48789         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
48790         multiarch hypotf for PPC64.
48792         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
48793         modff multiarch implementations.
48794         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
48795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
48796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
48797         multiarch modf for PPC64.
48798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
48799         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
48800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
48801         multiarch modff for PPC64.
48803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
48804         and logl multiarch implementations.
48805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
48806         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
48807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
48808         multiarch logb for PPC64.
48809         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
48810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
48811         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
48812         multiarch logb for PPC64.
48813         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
48814         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
48815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
48816         multiarch logb for PPC64.
48818         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
48819         isinff multiarch implementation.
48820         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
48821         file.
48822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
48823         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
48824         multiarch isinf for PPC64.
48825         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
48826         file.
48827         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
48828         multiarch isinff for PPC64.
48830         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
48831         finitef multiarch implementation.
48832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
48833         file.
48834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
48835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
48836         multiarch finite for PPC64.
48837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
48838         file.
48839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
48840         multiarch finitef for PPC64.
48842         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
48843         lrint multiarch implementation.
48844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
48845         file.
48846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
48847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
48848         multiarch llrint for PPC64.
48849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
48850         multiarch lrint for PPC64.
48852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
48853         copysignf multiarch implementation.
48854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
48855         file.
48856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
48857         file.
48858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
48859         multiarch copysign for PPC64.
48860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
48861         multiarch copysignf for PPC64.
48863         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
48864         multiarch implementation.
48865         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
48866         file.
48867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
48868         file.
48869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
48870         file.
48871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
48872         file.
48873         multiarch llround for PPC64.
48874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
48875         multiarch trunc for PPC64.
48876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
48877         multiarch truncf for PPC64.
48879         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
48880         multiarch implementation.
48881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
48882         file.
48883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
48884         file.
48885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
48886         file.
48887         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
48888         file.
48889         multiarch llround for PPC64.
48890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
48891         multiarch round for PPC64.
48892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
48893         multiarch roundf for PPC64.
48895         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
48896         multiarch implementation.
48897         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
48898         file.
48899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
48900         file.
48901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
48902         file.
48903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
48904         file.
48905         multiarch llround for PPC64.
48906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
48907         multiarch floor for PPC64.
48908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
48909         multiarch floorf for PPC64.
48911         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
48912         multiarch implementation.
48913         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
48914         file.
48915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
48916         file.
48917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
48918         file.
48919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
48920         file.
48921         multiarch llround for PPC64.
48922         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
48923         multiarch ceil for PPC64.
48924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
48925         multiarch ceilf for PPC64.
48927         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
48928         multiarch implementation.
48929         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
48930         file.
48931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
48932         file.
48933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
48934         file.
48935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
48936         multiarch llround for PPC64.
48937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
48938         multiarch lround for PPC64.
48940         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
48941         multiarch implementation.
48942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
48943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
48944         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
48945         file.
48946         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
48947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
48948         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
48949         multiarch isnan for PPC64.
48950         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
48951         multiarch isnanf for PPC64.
48953         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
48954         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
48955         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
48956         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
48957         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
48958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
48960         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
48961         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
48962         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48963         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
48966         multiarch implementations.
48967         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48968         (__libc_ifunc_impl_list): Likewise.
48969         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
48970         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
48971         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
48972         multiarch stpcpy for PPC64.
48974         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
48975         multiarch implementations.
48976         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48977         (__libc_ifunc_impl_list): Likewise.
48978         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
48979         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
48980         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
48981         multiarch strcpy for PPC64.
48983         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
48984         redefine function name.
48985         (_wordcopy_fwd_dest_aligned): Likewise.
48986         (_wordcopy_bwd_aligned): Likewise.
48987         (_wordcopy_bwd_dest_aligned): Likewise.
48988         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
48989         multiarch implementations.
48990         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
48991         (__libc_ifunc_impl_list): Likewise.
48992         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
48993         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
48994         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
48995         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
48996         multiarch wcscpy for PPC64.
48998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
48999         multiarch implementations.
49000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49001         (__libc_ifunc_impl_list): Likewise.
49002         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49003         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49004         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49005         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49006         multiarch wcscpy for PPC64.
49008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49009         multiarch implementations.
49010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49011         (__libc_ifunc_impl_list): Likewise.
49012         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49013         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49014         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49015         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49016         multiarch wcsrchr for PPC64.
49018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49019         multiarch implementations.
49020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49021         (__libc_ifunc_impl_list): Likewise.
49022         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49023         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49024         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49025         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49026         multiarch wcschr for PPC64.
49028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49029         multiarch implementations.
49030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49031         (__libc_ifunc_impl_list): Likewise.
49032         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49033         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49034         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49035         multiarch strchrnul for PPC64.
49037         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49038         implementations.
49039         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49040         (__libc_ifunc_impl_list): Likewise.
49041         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49042         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49043         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49044         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49045         strchr for PPC64.
49047         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49048         implementations.
49049         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49050         (__libc_ifunc_impl_list): Likewise.
49051         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49052         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49053         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49054         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49055         strncmp for PPC64.
49057         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49058         multiarch implementations.
49059         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49060         (__libc_ifunc_impl_list): Likewise.
49061         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49062         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49063         strncasecmp for PPC64.
49064         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49065         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49066         multiarch strncasecmp_l for PPC64.
49068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49069         multiarch implementations.
49070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49071         (__libc_ifunc_impl_list): Likewise.
49072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49073         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49074         multiarch strcasecmp for PPC64.
49075         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49076         file.
49077         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49078         multiarch strcasecmp_l for PPC64.
49080         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49081         implementations.
49082         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49083         (__libc_ifunc_impl_list): Likewise.
49084         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49085         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49086         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49087         strnlen for PPC64.
49089         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49090         implementations.
49091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49092         (__libc_ifunc_impl_list): Likewise.
49093         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49094         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49095         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49096         strlen for PPC64.
49098         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49099         implementations.
49100         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49101         (__libc_ifunc_impl_list): Likewise.
49102         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49103         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49104         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49105         rawmemrchr for PPC64.
49107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49108         implementation.
49109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49110         (__libc_ifunc_impl_list): Likewise.
49111         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49112         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49113         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49114         memrchr for PPC64.
49116         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49117         implementation.
49118         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49119         (__libc_ifunc_impl_list): Likewise.
49120         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49121         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49122         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49123         memchr for PPC64.
49125         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49126         implementation.
49127         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49128         (__libc_ifunc_impl_list): Likewise.
49129         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49130         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49131         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49132         mempcpy for PPC64.
49134         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49135         avoid cretion of __bzero symbol.
49136         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49137         Likewise.
49138         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49139         Likewise.
49140         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49141         Likewise.
49142         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49143         multiarch implementations.
49144         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49145         (__libc_ifunc_impl_list): Likewise.
49146         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49147         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49148         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49149         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49150         bzero for PPC32.
49151         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49152         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49153         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49154         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49155         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49156         memset for PPC64.
49157         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49159         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49160         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49161         implementations.
49162         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49163         (__libc_ifunc_impl_list): Likewise.
49164         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49165         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49166         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49167         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49168         memcmp for PPC64.
49170         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49171         multiarch for POWER/PPC64.
49172         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49173         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49174         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49175         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49176         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49177         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49178         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49179         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49180         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49181         memcpy for PPC64.
49183         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49184         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49185         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49186         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49187         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49188         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49189         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49190         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49191         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49192         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49193         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49194         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49195         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49196         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49197         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49206 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49208         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49210 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49212         * benchtests/Makefile (bench): Add exp2 and log2.
49213         (LDLIBS-bench-exp2): Add -lm.
49214         (LDLIBS-bench-log2): Likewise.
49215         * benchtests/exp2-inputs: New inputs file.
49216         * benchtests/log2-inputs: New inputs file.
49217         * benchtests/log-inputs: Add new inputs.
49218         * benchtests/tan-inputs: Likewise.
49220 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49222         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49223         definition...
49224         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49225         (csloww2): ... from here.
49227         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49228         instead of structures.
49229         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49230         (POLYNOMIAL): Likewise.
49231         (TAYLOR_SLOW): Likewise.
49232         (__sin): Likewise.
49233         (__cos): Likewise.
49234         (slow1): Likewise.
49235         (slow2): Likewise.
49236         (sloww): Likewise.
49237         (sloww1); Likewise.
49238         (sloww2): Likewise.
49239         (bsloww1): Likewise.
49240         (bsloww2): Likewise.
49241         (cslow2): Likewise.
49242         (csloww): Likewise.
49243         (csloww1): Likewise.
49244         (csloww2): Likewise.
49246 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49248         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49249         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49250         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49251         * malloc/hooks.c (realloc_check): Likewise.
49253         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49254         * malloc/arena.c: Remove PER_THREAD conditional.
49255         [!PER_THREAD]: Remove code.
49256         (ptmalloc_unlock_all2): Likewise.
49257         (ptmalloc_init): Likewise.
49258         (_int_new_arena): Likewise.
49259         (arena_get2): Likewise.
49260         * malloc/hooks.c (__malloc_get_state): Likewise.
49261         (__malloc_set_state): Likewise.
49262         * malloc/malloc.c: Likewise.
49263         (struct malloc_state): Likewise.
49264         (struct malloc_par): Likewise.
49265         (__libc_realloc): Likewise.
49266         (__libc_mallopt): Likewise.
49268 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49270         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49272 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49274         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49275         macro to a function.  Check for zero perturb_byte.
49276         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49278         * malloc/malloc.c: (force_reg): Remove.
49279         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49280         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49281         force_reg by atomic_forced_read.
49282         * malloc/arena.c (ptmalloc_init): Likewise.
49283         * malloc/hooks.c (top_check): Likewise.
49285 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49289 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49293 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49295         * math/auto-libm-test-in: Add tests of lgamma.
49296         * math/auto-libm-test-out: Regenerated.
49297         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49298         (M_LOG_2_SQRT_PIl): Likewise.
49299         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49300         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49301         mpfr_f_f1.
49302         (func_calc_desc): Add mpfr_f_f1 union field.
49303         (ARGS1): New macro.
49304         (ARGS2): Likewise.
49305         (ARGS3): Likewise.
49306         (ARGS4): Likewise.
49307         (RET1): Likewise.
49308         (RET2): Likewise.
49309         (CALC): Likewise.
49310         (FUNC): Likewise.
49311         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49312         (test_functions): Add lgamma.
49313         (calc_generic_results): Handle mpfr_f_f1.
49314         * sysdeps/i386/fpu/libm-test-ulps: Update.
49315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49317 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49319         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49320         __mpn_add_n for PowerPC64/POWER7.
49321         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49322         __mpn_sub_n for PowerPC64/POWER7.
49324         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49325         __mpn_addmul_1 for PowerPC64.
49326         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49327         __mpn_submul_1 for PowerPC64.
49328         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49329         for PowerPC64.
49330         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49331         for PowerPC64.
49333 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49335         [BZ #15089]
49336         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49338 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49340         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49342         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49343         add multiarch folders.
49344         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49345         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49346         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49347         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49348         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49349         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49350         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49351         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49352         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49353         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49354         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49363         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49365         New file.
49366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49367         New file.
49368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49369         multiarch __ieee754_hypot for PowerPC32.
49370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49371         New file.
49372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49373         New file.
49374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49375         multiarch __ieee754_hypotf for PowerPC32.
49377         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49378         long_double_symbol only if __logbl is defined.
49379         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49380         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49381         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49382         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49383         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49384         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49385         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49386         path for implementation.
49387         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49388         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49390         logb, and logbl multiarch implementations for PowerPC32.
49391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49392         file.
49393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49394         file.
49395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49396         multiarch logb for PowerPC32.
49397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49398         file.
49399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49400         file.
49401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49402         multiarch logbf for PowerPC32.
49403         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49405         file.
49406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49407         multiarch logbl implementation for PowerPC32.
49409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49410         and modff multiarch implementations.
49411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49412         New file.
49413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49414         New file.
49415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49416         multiarch modf for PowerPC32.
49417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49418         New file.
49419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49420         New file.
49421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49422         multiarch modff for PowerPC32.
49424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49425         and lrintf multiarch implementations.
49426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49427         New file.
49428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49429         New file.
49430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49431         multiarch lrint for PowerPC32.
49432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49433         file: multiarch lrintf for PowerPC32.
49435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49436         and lroundf multiarch implementations.
49437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49438         New file.
49439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49440         New file.
49441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49442         New file.
49443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49444         multiarch lround for PowerPC32.
49445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49446         file: multiarch lroundf for PowerPC32.
49448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49449         copysign and copysignf multiarch implementations.
49450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49451         New file.
49452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49453         New file.
49454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49455         file: multiarch copysign for PowerPC32.
49456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49457         file: multiarch copysignf for PowerPC32.
49459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49460         and truncf multiarch implementations.
49461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49462         New file.
49463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49464         file.
49465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49466         multiarch trunc for PowerPC32.
49467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49468         New file.
49469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49470         New file.
49471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49472         multiarch truncf for PowerPC32.
49474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49475         and roundf multiarch implementations.
49476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49477         New file.
49478         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49479         file.
49480         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49481         multiarch round for PowerPC32.
49482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49483         New file.
49484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49485         New file.
49486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49487         multiarch roundf for PowerPC32.
49489         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49490         and floorf multiarch implementations.
49491         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49492         New file.
49493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49494         file.
49495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49496         multiarch floor for PowerPC32.
49497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49498         New file.
49499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49500         New file.
49501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49502         multiarch floorf for PowerPC32.
49504         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49505         and ceilf multiarch implementations.
49506         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49507         New file.
49508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49509         file.
49510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49511         multiarch ceil for PowerPC32.
49512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49513         New file.
49514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49515         file.
49516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49517         multiarch ceilf for PowerPC32.
49519         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49520         is defined.
49521         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49522         FINITEF is defined.
49523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49524         and finitef multiarch implementations.
49525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49526         New file.
49527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49528         file.
49529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49530         multiarch finite for PowerPC32.
49531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49532         New file.
49533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49534         file: multiarch finitef for PowerPC32.
49536         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49537         and isinff multiarch implementations.
49538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49539         file.
49540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49541         file.
49542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49543         multiarch isinf for PowerPC32.
49544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49545         New file.
49546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49547         multiarch isinff for PowerPC32.
49549         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49550         alias when __isnan is defined.
49551         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49552         and isnanf multiarch implementations.
49553         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49554         file.
49555         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49556         file.
49557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49558         file.
49559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49560         file.
49561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49562         multiarch isnan for PowerPC32.
49563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49564         New file.
49565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49566         New file.
49567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49568         multiarch isnanf for PowerPC32.
49570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49571         and sqrtf multiarch implementations.
49572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49573         file.
49574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49575         file.
49576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49577         multiarch sqrt for PowerPC32.
49578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49579         file.
49580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49581         file.
49582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49583         multiarch sqrtf for PowerPC32.
49585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49586         and llroundf multiarch implementations.
49587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49588         New file.
49589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49590         New file.
49591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49592         New file.
49593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49594         file: multiarch llround for PowerPC32.
49595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49596         file: multiarch llroundf for PowerPC32.
49598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49599         multiarch PowerPC32 fpu implementations.
49600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49601         New file.
49602         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49603         New file.
49604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49605         multiarch llrint for PowerPC32.
49606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49607         New file.
49608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49609         New file.
49610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49611         file.
49613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49615         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49616         file.
49617         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49618         file.
49619         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49620         file.
49621         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49622         multiarch wordcopy for PPC32.
49623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49624         wordcopy objects.
49625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49626         (__libc_ifunc_impl_list): Likewise.
49627         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49628         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49629         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49630         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49631         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49632         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49634         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49636         file.
49637         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49638         file.
49639         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49640         file.
49641         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49642         multiarch wcscpy for PPC32.
49643         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49644         multiarch objects.
49645         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49646         (__libc_ifunc_impl_list): Likewise.
49647         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49648         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49649         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49650         sysdeps/powerpc/power6/wcscpy.c.
49652         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49653         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49654         file.
49655         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49656         file.
49657         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49658         file.
49659         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49660         multiarch wcsrchr for PPC32.
49661         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49662         multiarch objects.
49663         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49664         (__libc_ifunc_impl_list): Likewise.
49665         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49666         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49667         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49668         sysdeps/powerpc/power6/wcsrchr.c.
49670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49671         file.
49672         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49673         file.
49674         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49676         multiarch wcschr for PPc32.
49677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49678         multiarch objects.
49679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49680         (__libc_ifunc_impl_list): Likewise.
49681         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49682         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49683         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49684         sysdeps/powerpc/power6/wcschr.c.
49686         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49687         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49688         file.
49689         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49690         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49691         file: multiarch strchr for PPC32.
49692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49693         multiarch objects.
49694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49695         (__libc_ifunc_impl_list): Likewise.
49697         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49698         name.
49699         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49700         file.
49701         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49702         file.
49703         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49704         multiarch strchrnul for PPC32.
49705         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49706         multiarch objects.
49707         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49708         (__libc_ifunc_impl_list): Likewise.
49710         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49711         file.
49712         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49713         multiarch strncasecmp for PPC32.
49714         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49715         file.
49716         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49717         multiarch strncasecmp_l for PPC32.
49718         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49719         strncasecmp multiarch objects.
49720         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49721         (__libc_ifunc_impl_list): Likewise.
49723         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49724         file.
49725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49726         multiarch strncasecmp for PPC32.
49727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49728         New file.
49729         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49730         multiarch strcasecmp_l for PPC32.
49731         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49732         multiarch objects.
49733         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49734         (__libc_ifunc_impl_list): Likewise.
49736         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49737         file.
49738         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49739         file.
49740         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49741         multiarch strncmp for PPC32.
49742         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49743         multiarch objects.
49744         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49745         (__libc_ifunc_impl_list): Likewise.
49747         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49748         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49749         file.
49750         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49751         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49753         multiarch objects.
49754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49755         (__libc_ifunc_impl_list): Likewise.
49757         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49758         file.
49759         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49760         file.
49761         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49762         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49763         multiarch objects.
49764         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49765         (__libc_ifunc_impl_list): Likewise.
49767         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49768         file.
49769         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
49770         file.
49771         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
49772         multiarch rawmemchr for PPC32.
49773         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
49774         multiarch objects.
49775         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49776         (__libc_ifunc_impl_list): Likewise.
49778         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
49779         file.
49780         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
49781         file.
49782         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
49783         file: memrchr multiarch for PPC32.
49784         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
49785         multiarch objects.
49786         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49787         (__libc_ifunc_impl_list): Likewise.
49789         * string/memchr.c (__memchr): Using macro to redefine symbol name.
49790         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
49791         file.
49792         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
49793         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
49794         multiarch memchr for PPC32.
49795         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
49796         multiarch objects.
49797         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49798         (__libc_ifunc_impl_list): Likewise.
49800         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
49801         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
49802         file.
49803         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
49804         file.
49805         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
49806         file: multiarch mempcpy for PPC32.
49807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
49808         multiarch objects.
49809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49810         (__libc_ifunc_impl_list): Likewise.
49812         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
49813         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
49814         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
49815         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
49816         multiarch bzero for PPC32.
49817         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
49818         file.
49819         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
49820         file.
49821         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
49822         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
49823         file: multiarch memset for PPC32.
49824         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
49825         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
49826         memset multiarch objects.
49827         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49828         (__libc_ifunc_impl_list): Likewise.
49830         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
49831         file.
49832         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
49833         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
49834         memcmp for PPC32.
49835         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
49836         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
49837         multiarch objects.
49838         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49839         (__libc_ifunc_impl_list): Likewise.
49841         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
49842         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
49843         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
49844         file.
49845         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
49846         file.
49847         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
49848         file.
49849         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
49850         multiarch memcpy for PPC32.
49851         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
49852         multiarch objects.
49853         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
49854         (__libc_ifunc_impl_list): Likewise.
49856         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
49857         support multiarch for POWER/PPC32.
49858         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
49859         Likewise.
49860         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
49861         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
49862         Implies file to make multiarch folder appers before the fpu and
49863         default folder for power4 configuration.
49865 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
49867         * scripts/bench.pl: Append volatile keyword to type.
49869 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49871         * sysdeps/sh/sotruss-lib.c: New file.
49872         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
49874 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49876         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49878 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
49880         [BZ #6810]
49881         * math/w_tgamma.c: Include <errno.h>.
49882         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
49883         * math/w_tgammaf.c: Include <errno.h>.
49884         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
49885         * math/w_tgammal.c: Include <errno.h>.
49886         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
49887         * math/auto-libm-test-in: Do not allow missing errno on tgamma
49888         underflow.  Add more tgamma tests.
49889         * math/auto-libm-test-out: Regenerated.
49890         * sysdeps/i386/fpu/libm-test-ulps: Update.
49891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49893         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
49894         sin, sinh, tan, tanh, tgamma, y0 and y1.
49895         * math/auto-libm-test-out: Regenerated.
49896         * math/libm-test.inc (TEST_COND_x86_64): New macro.
49897         (TEST_COND_x86): Likewise.
49898         (M_E2l): Remove macro.
49899         (M_E3l): Likewise.
49900         (M_2_SQRT_PIl): Likewise.
49901         (M_SQRT_PIl): Likewise.
49902         (M_1_DIV_El): Likewise.
49903         (log_test_data): Use AUTO_TESTS_f_f.
49904         (log10_test_data): Likewise.
49905         (log1p_test_data): Likewise.
49906         (log2_test_data): Likewise.
49907         (sin_test_data): Likewise.
49908         (sin_tonearest_test_data): Likewise.
49909         (sin_towardzero_test_data): Likewise.
49910         (sin_downward_test_data): Likewise.
49911         (sin_upward_test_data): Likewise.
49912         (sinh_test_data): Likewise.
49913         (sinh_tonearest_test_data): Likewise.
49914         (sinh_towardzero_test_data): Likewise.
49915         (sinh_downward_test_data): Likewise.
49916         (sinh_upward_test_data): Likewise.
49917         (tan_test_data): Likewise.
49918         (tan_tonearest_test_data): Likewise.
49919         (tan_towardzero_test_data): Likewise.
49920         (tan_downward_test_data): Likewise.
49921         (tan_upward_test_data): Likewise.
49922         (tanh_test_data): Likewise.
49923         (tgamma_test_data): Likewise.
49924         (y0_test_data): Likewise.
49925         (y1_test_data): Likewise.
49926         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
49927         (special_real_inputs): Add pi/4.
49928         * sysdeps/i386/fpu/libm-test-ulps: Update.
49929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49931 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49933         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
49934         "longjmp_target" static probes.
49935         (__longjmp): Rename to __longjmp_symbol.
49936         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49937         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
49938         on which longjmp to generate.
49939         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
49940         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
49941         probe.
49942         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49943         (__sigjmp_save): Rename to __sigjmp_save_symbol.
49944         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
49945         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
49946         and __sigjmp_save_symbol based on which sigsetjmp to generated.
49947         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
49949         __longjmp_symbol based on which __longjmp to generate.
49950         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
49951         probe.
49952         (setjmp): Rename to setjmp_symbol.
49953         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49954         (_setjmp): Rename to _setjmp_symbol.
49955         (__sigsetjmp): Rename to __sigsetjmp_symbol.
49956         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
49957         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
49958         which setjmp to generate.
49959         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
49960         "longjmp_target" static probes.
49962 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
49964         * benchtests/README: Add note about output arguments.
49965         * benchtests/bench-sincos.c: Remove file.
49966         * benchtests/sincos-inputs: New file.
49967         * scripts/bench.pl: Identify output arguments and define
49968         static variables for them.
49970         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
49972         [BZ #15941]
49973         * Makefile (INSTALL): Add install-plain.texi as the primary
49974         dependency.
49975         * manual/install-plain.texi: New file.
49976         * manual/install.texi: Include node directive only for
49977         non-plaintext output.
49979 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
49981         * stdlib/longlong.h: Update from GCC.
49983         [BZ #6807]
49984         [BZ #15901]
49985         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
49986         * math/w_j0f.c (y0f): Likewise.
49987         * math/w_j0l.c (__y0l): Likewise.
49988         * math/w_j1.c (y1): Likewise.
49989         * math/w_j1f.c (y1f): Likewise.
49990         * math/w_j1l.c (__y1l): Likewise.
49991         * math/w_jn.c (yn): Likewise.
49992         * math/w_jnf.c (ynf): Likewise.
49993         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
49994         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
49995         value for Bessel function domain errors outside _SVID_ mode.
49996         Adjust sign of return value for yn (negative integer, 0).
49997         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
49998         by zero in return for negative x and set sign appropriately for
49999         negative n.
50000         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50001         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50002         * math/libm-test.inc (y0_test_data): Add more tests and adjust
50003         expectations in error cases.
50004         (y1_test_data): Likewise.
50005         (yn_test_data): Likewise.
50006         * sysdeps/i386/fpu/libm-test-ulps: Update.
50007         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50009 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50011         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50012         "64" to "64-v1".  Add "64-v2".
50013         (abi-64-options): Rename to ...
50014         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
50015         (abi-64-condition): Rename to ...
50016         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
50017         (abi-64-ld-soname): Rename to ...
50018         (abi-64-v1-ld-soname): ... this.
50019         (abi-64-v2-options): Define.
50020         (abi-64-v2-condition): Likewise.
50021         (abi-64-v2-ld-soname): Likewise.
50022         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50023         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50028 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50029             Alan Modra  <amodra@gmail.com>
50031         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50032         New versions for use with the ELFv2 ABI.
50033         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50034         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50035         declaration.
50036         (struct La_ppc64v2_retval): Likewise.
50037         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50038         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50039         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50040         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50041         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50042         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50043         Do not save or restore CR.
50044         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50045         (_dl_profile_resolve): Do no save or restore CR.  Support extended
50046         return values for ELFv2 ABI.  Fix location of FPR return registers.
50047         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50048         updated values for _CALL_ELF == 2.
50049         (La_regs, La_retval, int_retval): Likewise.
50051 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50053         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50054         (FRAME_MIN_SIZE_PARM): Likewise.
50055         (FRAME_BACKCHAIN): Likewise.
50056         (FRAME_CR_SAVE): Likewise.
50057         (FRAME_LR_SAVE): Likewise.
50058         (FRAME_TOC_SAVE): Likewise.
50059         (FRAME_PARM_SAVE): Likewise.
50060         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50061         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50062         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50063         (call_mcount_parm_offset): New macro.
50064         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50065         (PROF): Use symbolic stack frame offsets.
50066         (TAIL_CALL_SYSCALL_ERROR): Likewise.
50067         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50068         Redefine in terms of FRAME_MIN_SIZE.
50069         (_dl_runtime_resolve): Use symbolic stack frame offsets.
50070         (_dl_profile_resolve): Likewise.  Update comment.
50071         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50072         symbols stack frame offsets.
50073         (__sigsetjmp): Likewise.
50074         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50075         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50076         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50077         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50080         (FRAME_BACKCHAIN): Remove.
50081         (FRAME_CR_SAVE): Likewise.
50082         (FRAME_LR_SAVE): Likewise.
50083         (FRAME_COMPILER_DW): Likewise.
50084         (FRAME_LINKER_DW): Likewise.
50085         (FRAME_TOC_SAVE): Likewise.
50086         (FRAME_PARM_SAVE): Likewise.
50087         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50088         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50089         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50091         (CHECK_SP): Use symbolic stack frame offsets.
50092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50093         zone" instead of caller's parameter save area for temp storage.
50094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50095         Likewise.  Also, use symbolic stack frame offsets.
50096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50097         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50098         our own stack frame instead of the caller's.
50099         (__socket): Use symbolic stack frame offsets.
50101 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50102             Alan Modra  <amodra@gmail.com>
50104         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50105         Define.
50106         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50107         (PPC64_LOCAL_ENTRY_OFFSET): Define.
50108         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50109         New function.
50110         (elf_machine_fixup_plt): Call it.
50111         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
50112         reloc arguments.
50113         (elf_machine_rela): Update call to elf_machine_plt_conflict.
50114         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50115         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50116         r2 before calling target.
50118 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50119             Alan Modra  <amodra@gmail.com>
50121         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50122         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50123         versions of macros to support ELFv2 ABI.
50124         (LOCALENTRY): New macro.
50125         (ENTRY, EALIGN): Use it.
50126         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50127         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50128         fall through into ENTRY entry point.
50129         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50130         Only define if _CALL_ELF != 2.
50132         (elf_machine_matches_host): Verify ABI version matches.
50133         (RTLD_START): Use LOCALENTRY.
50134         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50135         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50136         (PLT_ENTRY_WORDS): New macro.
50137         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50138         (elf_machine_runtime_setup): Support ELFv2 ABI.
50139         (elf_machine_fixup_plt): Likewise.
50140         (elf_machine_plt_conflict): Likewise.
50141         (resolve_ifunc): Likewise.
50142         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50143         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50144         Likewise.
50145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50146         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50148         (makecontext): Support ELFv2 ABI.
50149         * elf/elf.h (EF_PPC64_ABI): Define.
50151 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50153         * sysdeps/powerpc/powerpc64/sysdep.h
50154         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50155         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50156         (ENTRY) [ASSEMBLER]: ... but instead here ...
50157         (EALIGN) [ASSEMBLER]: ... and here.
50158         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50159         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50160         (ENTRY_2) [!ASSEMBLER]: Use it.
50161         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50162         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
50163         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50164         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50165         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50167         Use PPC64_LOAD_FUNCPTR.
50169         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50171 2013-12-04  Alan Modra  <amodra@gmail.com>
50173         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50174         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50175         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50176         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50178         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50179         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50180         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50181         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50182         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50183         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50185 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50188         (__makecontext): Fix incorrect CFI when backtracing out of
50189         context created via makecontext.
50190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50191         (__setcontext): Fix incorrect CFI during switch to new context.
50192         (__novec_setcontext): Likewise.
50194 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50196         [BZ #4772]
50197         * time/strptime_l.c (__strptime_internal): Allow modifiers
50198         in strptime.
50199         * time/tst-strptime.c (day_tests): Add testcase.
50201 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50203         * scripts/bench.pl: Skip over blank lines.
50205 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
50207         [BZ #926]
50208         * manual/time.texi (Calendar Time): Clarify what timezone functions
50209         use.
50211 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50215 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50217         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50218         implementation.
50219         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50220         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50221         * debug/memset_chk.c (__memset_chk): Likewise.
50222         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50223         * debug/strncpy_chk.c: Likewise.
50225 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50227         [BZ #15268]
50228         [BZ #15425]
50229         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50230         (__ieee754_exp): For possibly underflowing results, check size of
50231         result and force underflow exception if required.
50232         * math/auto-libm-test-in: Add more tests of exp.
50233         * math/auto-libm-test-out: Regenerated.
50234         * sysdeps/i386/fpu/libm-test-ulps: Update.
50235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50237         [BZ #16283]
50238         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50239         * math/w_exp2f.c (__exp2f): Likewise.
50240         * math/w_exp2l.c (__exp2l): Likewise.
50241         * math/auto-libm-test-in: Do not allow missing errno on exp2
50242         underflow.
50243         * math/auto-libm-test-out: Regenerated.
50245 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50247         [BZ #16274]
50248         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50249         handle filename validation.
50250         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50251         (do_open): Delete.
50253 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50255         [BZ #6786]
50256         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50257         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50258         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50259         <float.h>.
50260         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50261         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50262         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50263         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50264         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50265         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50266         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50267         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50268         Add more erfc tests.
50269         * math/auto-libm-test-out: Regenerated.
50270         * sysdeps/i386/fpu/libm-test-ulps: Update.
50271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50273         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50274         exp2, expm1, j0 and j1.
50275         * math/auto-libm-test-out: Regenerated.
50276         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50277         (erfc_test_data): Likewise.
50278         (exp_test_data): Likewise.
50279         (exp_tonearest_test_data): Likewise.
50280         (exp_towardzero_test_data): Likewise.
50281         (exp_downward_test_data): Likewise.
50282         (exp_upward_test_data): Likewise.
50283         (exp10_test_data): Likewise.
50284         (exp2_test_data): Likewise.
50285         (expm1_test_data): Likewise.
50286         (j0_test_data): Likewise.
50287         (j1_test_data): Likewise.
50288         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50289         (input_flag_type): Add flag_xfail_rounding.
50290         (input_flags): Add xfail-rounding.
50291         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50292         (output_for_one_input_case): Handle flag_xfail_rounding.
50293         * sysdeps/i386/fpu/libm-test-ulps: Update.
50294         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50296 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50298         [BZ #16289]
50299         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50300         division by 0.
50302 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50304         [BZ #16195]
50305         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50306         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50307         (STAP_PROBE0): New macro.
50308         (STAP_PROBE1): Likewise.
50309         (STAP_PROBE2): Likewise.
50310         (STAP_PROBE3): Likewise.
50311         (STAP_PROBE4): Likewise.
50313 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50315         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50317 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50319         * benchtests/Makefile (bench): Add sqrt.
50320         (LDLIBS-bench-sqrt): New.
50321         * benchtests/sqrt-input: New.
50323 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50325         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50326         (GAIH_EAI): Likewise.
50327         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50328         (gaih_inet): Likewise.
50329         (getaddrinfo): Don't use GAIH_EAI.
50331         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50332         (struct gaih): Remove definition.
50334 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50336         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50337         Use HERRNOP directly.
50339 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50341         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50343 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50345         * math/gen-auto-libm-tests.c (test_functions): Add more
50346         single-argument functions.
50347         (special_fill_pi_2): New function.
50348         (special_fill_minus_pi_2): Likewise.
50349         (special_fill_pi_6): Likewise.
50350         (special_fill_minus_pi_6): Likewise.
50351         (special_fill_pi_3): Likewise.
50352         (special_fill_2pi_3): Likewise.
50353         (special_fill_e): Likewise.
50354         (special_fill_1_e): Likewise.
50355         (special_fill_e_minus_1): Likewise.
50356         (special_real_inputs): Add more special inputs.
50357         (output_for_one_input_case): Do not require ERANGE on underflow to
50358         zero if round-to-nearest result does not underflow to zero, unless
50359         exact results required.
50360         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50361         atan, atanh, cbrt, cos and cosh.
50362         * math/auto-libm-test-out: Regenerated.
50363         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50364         (acos_tonearest_test_data): Likewise.
50365         (acos_towardzero_test_data): Likewise.
50366         (acos_downward_test_data): Likewise.
50367         (acos_upward_test_data): Likewise.
50368         (acosh_test_data): Likewise.
50369         (asin_test_data): Likewise.
50370         (asin_tonearest_test_data): Likewise.
50371         (asin_towardzero_test_data): Likewise.
50372         (asin_upward_test_data): Likewise.
50373         (asinh_test_data): Likewise.
50374         (atan_test_data): Likewise.
50375         (atanh_test_data): Likewise.
50376         (cbrt_test_data): Likewise.
50377         (cos_test_data): Likewise.
50378         (cos_tonearest_test_data): Likewise.
50379         (cos_towardzero_test_data): Likewise.
50380         (cos_downward_test_data): Likewise.
50381         (cos_upward_test_data): Likewise.
50382         (cosh_test_data): Likewise.
50383         (cosh_tonearest_test_data): Likewise.
50384         (cosh_towardzero_test_data): Likewise.
50385         (cosh_downward_test_data): Likewise.
50386         (cosh_upward_test_data): Likewise.
50387         * sysdeps/i386/fpu/libm-test-ulps: Update.
50388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50390 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50392         [BZ #6787]
50393         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50394         * math/w_exp10f.c (__exp10f): Likewise.
50395         * math/w_exp10l.c (__exp10l): Likewise.
50396         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50397         errno settings in existing tests.
50399         [BZ #14032]
50400         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50401         precision control set to double precision.
50402         * sysdeps/i386/fpu/w_sqrt.c: New file.
50403         * math/auto-libm-test-in: Add more tests.
50404         * math/auto-libm-test-out: Update.
50406         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50407         (sqrt_test_tonearest): New function.
50408         (sqrt_towardzero_test_data): New variable.
50409         (sqrt_test_towardzero): New function.
50410         (sqrt_downward_test_data): New variable.
50411         (sqrt_test_downward): New function.
50412         (sqrt_upward_test_data): New variable.
50413         (sqrt_test_upward): New function.
50414         (main): Call the new functions.
50416         * math/gen-auto-libm-tests.c: New file.
50417         * math/auto-libm-test-in: Likewise.
50418         * math/auto-libm-test-out: New generated file.
50419         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50420         variables.
50421         (%beautify): Add generated representations of zero.
50422         (top level): Set $auto_input and call parse_auto_input.
50423         (beautify): Remove trailing "f" from hex float constants.
50424         (parse_args): Handle XFAIL_TEST.
50425         (convert_condition): New function.
50426         (or_value): Likewise.
50427         (or_cond_value): Likewise.
50428         (generate_testfile): Handle AUTO_TESTS_* lines.
50429         (parse_auto_input): New function.
50430         * math/libm-test.inc (XFAIL_TEST): New macro.
50431         (ERRNO_UNCHANGED): Update value.
50432         (ERRNO_EDOM): Likewise.
50433         (ERRNO_ERANGE): Likewise.
50434         (IGNORE_RESULT): Likewise.
50435         (TEST_COND_flt_32): New macro.
50436         (TEST_COND_dbl_64): Likewise.
50437         (TEST_COND_ldbl_96_intel): Likewise.
50438         (TEST_COND_ldbl_96_m68k): Likewise.
50439         (TEST_COND_ldbl_128): Likewise.
50440         (TEST_COND_ldbl_128ibm): Likewise.
50441         (TEST_COND_long32): Likewise.
50442         (TEST_COND_long64): Likewise.
50443         (TEST_COND_before_rounding): Likewise.
50444         (TEST_COND_after_rounding): Likewise.
50445         (enable_test): Handle XFAIL_TEST flag.
50446         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50447         with finite results.
50448         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50449         auto-libm-test-out.
50451 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50452             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50454         [BZ #16214]
50455         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50456         __tls_get_addr_internal instead of __tls_get_offset in order to
50457         avoid GOT pointer dependency.  Make rtld export
50458         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50459         __tls_get_addr since we are a __tls_get_offset platform.
50460         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50461         GOT pointer being set up before.
50462         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50464 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50466         * manual/math.texi (Errors in Math Functions): Document accuracy
50467         goals.
50469         [BZ #15004]
50470         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50471         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50472         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50473         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50474         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50475         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50476         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50477         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50478         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50479         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50480         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50481         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50482         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50483         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50485         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50487         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50488         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50489         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50490         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50491         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50492         Likewise.
50493         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50494         Likewise.
50495         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50496         Likewise.
50497         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50498         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50499         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50500         atomic-feupdateenv and flt-rounds.
50501         * sysdeps/powerpc/nofpu/Versions (libc): Add
50502         __atomic_feholdexcept, __atomic_feclearexcept,
50503         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50504         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50505         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50506         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50507         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50508         here.
50509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50510         Update.
50512         * manual/arith.texi (FP Exceptions): Document that exceptions may
50513         not be raised when matherr is used.
50514         (Math Error Reporting): Document overflow in directed rounding
50515         modes.  Document that errno may not be set when finite values are
50516         returned on overflow.  Document intent to set errno on underflow
50517         only for underflow to zero.
50519         [BZ #16271]
50520         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50521         round-to-nearest then adjust result for other rounding modes.
50522         * include/fenv.h (fegetround): Use libm_hidden_proto.
50523         * math/fegetround.c (fegetround): Use libm_hidden_def.
50524         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50525         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50526         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50527         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50528         Likewise.
50529         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50530         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50531         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50532         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50534 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50536         [BZ #16077]
50537         * nss/Versions (libnss_files): Add
50538         _nss_files_gethostbyname3_r.
50539         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50540         New function.
50541         (HOST_DB_LOOKUP): Remove macro.
50542         (_nss_files_gethostbyname_r): Implement function without the
50543         HOST_DB_LOOKUP macro.
50544         (_nss_files_gethostbyname2_r): Likewise.
50546 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50548         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50550 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50552         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50553         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50554         warning.
50556 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50558         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50559         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50560         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50561         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50562         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50563         __fe_nomask_env_priv and attribute_hidden.
50564         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50565         (libc_feupdateenv_test_ppc): Likewise.
50566         (libc_feresetround_ppc): Likewise.
50567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50568         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50569         compat_symbol macro.
50570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50571         (__fe_nomask_env): Likewise.
50572         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50574 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50576         * string/Makefile: Remove ifunc tests.
50577         * string/test-string.h: Define TEST_IFUNC.
50578         * string/test-bcopy-ifunc.c: Remove.
50579         * string/test-bzero-ifunc.c: Likewise.
50580         * string/test-memccpy-ifunc.c: Likewise.
50581         * string/test-memchr-ifunc.c: Likewise.
50582         * string/test-memcmp-ifunc.c: Likewise.
50583         * string/test-memcpy-ifunc.c: Likewise.
50584         * string/test-memmem-ifunc.c: Likewise.
50585         * string/test-memmove-ifunc.c: Likewise.
50586         * string/test-mempcpy-ifunc.c: Likewise.
50587         * string/test-memrchr-ifunc.c: Likewise.
50588         * string/test-memset-ifunc.c: Likewise.
50589         * string/test-rawmemchr-ifunc.c: Likewise.
50590         * string/test-stpcpy-ifunc.c: Likewise.
50591         * string/test-stpncpy-ifunc.c: Likewise.
50592         * string/test-strcasecmp-ifunc.c: Likewise.
50593         * string/test-strcasestr-ifunc.c: Likewise.
50594         * string/test-strcat-ifunc.c: Likewise.
50595         * string/test-strchr-ifunc.c: Likewise.
50596         * string/test-strchrnul-ifunc.c: Likewise.
50597         * string/test-strcmp-ifunc.c: Likewise.
50598         * string/test-strcpy-ifunc.c: Likewise.
50599         * string/test-strcspn-ifunc.c: Likewise.
50600         * string/test-strlen-ifunc.c: Likewise.
50601         * string/test-strncasecmp-ifunc.c: Likewise.
50602         * string/test-strncat-ifunc.c: Likewise.
50603         * string/test-strncmp-ifunc.c: Likewise.
50604         * string/test-strncpy-ifunc.c: Likewise.
50605         * string/test-strnlen-ifunc.c: Likewise.
50606         * string/test-strpbrk-ifunc.c: Likewise.
50607         * string/test-strrchr-ifunc.c: Likewise.
50608         * string/test-strspn-ifunc.c: Likewise.
50609         * string/test-strstr-ifunc.c: Likewise.
50611 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50613         * benchtests/Makefile: Remove ifunc tests.
50614         * benchtests/bench-string.h: Define TEST_IFUNC.
50615         * benchtests/bench-bcopy-ifunc.c: Remove.
50616         * benchtests/bench-bzero-ifunc.c: Likewise.
50617         * benchtests/bench-memccpy-ifunc.c: Likewise.
50618         * benchtests/bench-memchr-ifunc.c: Likewise.
50619         * benchtests/bench-memcmp-ifunc.c: Likewise.
50620         * benchtests/bench-memcpy-ifunc.c: Likewise.
50621         * benchtests/bench-memmem-ifunc.c: Likewise.
50622         * benchtests/bench-memmove-ifunc.c: Likewise.
50623         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50624         * benchtests/bench-memrchr-ifunc.c: Likewise.
50625         * benchtests/bench-memset-ifunc.c: Likewise.
50626         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50627         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50628         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50629         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50630         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50631         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50632         * benchtests/bench-strcat-ifunc.c: Likewise.
50633         * benchtests/bench-strchr-ifunc.c: Likewise.
50634         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50635         * benchtests/bench-strcmp-ifunc.c: Likewise.
50636         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50637         * benchtests/bench-strcpy-ifunc.c: Likewise.
50638         * benchtests/bench-strcspn-ifunc.c: Likewise.
50639         * benchtests/bench-strlen-ifunc.c: Likewise.
50640         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50641         * benchtests/bench-strncat-ifunc.c: Likewise.
50642         * benchtests/bench-strncmp-ifunc.c: Likewise.
50643         * benchtests/bench-strncpy-ifunc.c: Likewise.
50644         * benchtests/bench-strnlen-ifunc.c: Likewise.
50645         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50646         * benchtests/bench-strrchr-ifunc.c: Likewise.
50647         * benchtests/bench-strsep-ifunc.c: Likewise.
50648         * benchtests/bench-strspn-ifunc.c: Likewise.
50649         * benchtests/bench-strstr-ifunc.c: Likewise.
50651 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50653         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50655 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50657         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50658         * rt/aio.h: Likewise.
50659         * sysdeps/gnu/bits/utmp.h: Likewise.
50660         * sysdeps/gnu/bits/utmpx.h: Likewise.
50661         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50662         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50663         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50664         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50665         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50666         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50667         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50668         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50669         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50670         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50671         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50672         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50673         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50675         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50676         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50677         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50678         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50679         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50680         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50681         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50682         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50683         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50684         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50685         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50686         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50687         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50688         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50689         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50690         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50691         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50692         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50693         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50694         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50695         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50696         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50697         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50698         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50699         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50700         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50701         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50702         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50704 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
50706         [BZ #16245]
50707         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50708         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50710 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
50712         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50713         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50714         Likewise.
50716 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50718         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50719         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50720         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50721         (__fesetround): Remove define.
50722         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50723         rounding and exceptions handling.
50724         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50725         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50726         (__fe_nomask_env): Likewise.
50727         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50728         __fegetround instead of fegetround.
50729         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50730         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50732 2013-11-21  Roland McGrath  <roland@hack.frob.com>
50734         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50735         it's there.
50737         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50739 2013-11-21  Meador Inge  <meadori@codesourcery.com>
50741         [BZ #11157]
50742         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50743         (encrypt_r): Likewise.
50744         * malloc/obstack.h (obstack_free): Likewise.
50745         * posix/unistd.h (encrypt): Likewise.
50747 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
50749         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50750         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50751         DL_CALL_DT_FINI() that call the functions directly.
50752         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50753         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50754         * elf/dl-fini.c: Likewise.
50756 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
50758         * malloc/hooks.c (memalign_check): Add alignment rounding.
50759         * malloc/malloc.c (_mid_memalign): New function.
50760         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50761         Implement by calling _mid_memalign.
50762         * manual/probes.texi (Memory Allocation Probes): Remove
50763         memory_valloc_retry and memory_pvalloc_retry.
50765 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
50767         * locale/programs/locarchive.c (open_archive): Add const
50768         qualifier to ARCHIVEFNAME and copy default fname to
50769         DEFAULT_FNAME.
50771         [BZ #15601]
50772         * libio/tst-widetext.input: Rename Oriya to Odia.
50773         * locale/iso-639.def: Likewise.
50775         * manual/probes.texi (Mathematical Function Probes): Add
50776         documentation for sin, cos, asin and acos probes.
50777         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
50778         (__sin32): Add slowasin probe.
50779         (__cos32): Add slowacos probe.
50780         (__mpsin): Add slowsin probe.
50781         (__mpcos): Add slowcos probe.
50783 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
50785         [BZ #15483]
50786         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
50787         thread-local __sim_exceptions_thread and global
50788         __sim_exceptions_global.
50789         (__sim_disabled_exceptions): Change to thread-local
50790         __sim_disabled_exceptions_thread and global
50791         __sim_disabled_exceptions_global.
50792         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50793         and global __sim_round_mode_global.
50794         (__simulate_exceptions): Use thread-local floating-point state and
50795         set global state from it as needed.
50796         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
50797         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
50798         __sim_round_mode_thread.
50799         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
50800         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
50801         and global __sim_exceptions_global.
50802         (__sim_disabled_exceptions): Change to thread-local
50803         __sim_disabled_exceptions_thread and global
50804         __sim_disabled_exceptions_global.
50805         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
50806         and global __sim_round_mode_global.
50807         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
50808         (SIM_SET_GLOBAL): Likewise.
50809         * sysdeps/powerpc/soft-fp/sfp-machine.h
50810         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
50811         __sim_round_mode_thread.
50812         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
50813         __sim_disabled_exceptions_thread.
50814         (__sim_exceptions): Change to __sim_exceptions_thread.
50815         (__sim_disabled_exceptions): Change to
50816         __sim_disabled_exceptions_thread.
50817         (__sim_round_mode): Change to __sim_round_mode_thread.
50818         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
50819         thread-local floating-point state and set global state from it as
50820         needed.
50821         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
50822         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
50823         (__sim_disabled_exceptions): Remove extern declaration.
50824         (feenableexcept): Use thread-local floating-point state and set
50825         global state from it as needed.
50826         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
50827         extern declaration.
50828         (__sim_disabled_exceptions): Likewise.
50829         (__sim_round_mode): Likewise.
50830         (__fegetenv): Use thread-local floating-point state.
50831         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
50832         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50833         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
50834         floating-point state and set global state from it as needed.
50835         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
50836         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
50837         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
50838         Likewise.
50839         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
50840         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
50841         Likewise.
50842         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
50843         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
50844         Use __sim_round_mode_thread.
50845         * math/test-fenv-tls.c: New file.
50846         * math/Makefile (tests): Add test-fenv-tls.
50847         ($(objpfx)test-fenv-tls): Depend on
50848         $(common-objpfx)nptl/libpthread.so.
50850 2013-11-19  Andreas Schwab  <schwab@suse.de>
50852         * locale/programs/locale.c (show_info): Decode wordarray elements.
50853         * locale/categories.def (LC_MONETARY): Add element for
50854         _NL_MONETARY_CRNCYSTR.
50855         * locale/C-monetary.c (conversion_rate): New variable.
50856         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
50857         element.
50859 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
50861         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
50862         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
50864 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50866         * elf/Makefile (tst-auxv): New test.
50867         * elf/tst-auxv.c: New
50868         * elf/rtld.c (dl_main): Adjust AT_EXECFN
50870 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
50872         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
50873         (hidden_proto): Caller changed.
50874         (hidden_tls_proto): New macro.
50875         (libc_hidden_tls_proto): Likewise.
50876         (rtld_hidden_tls_proto): Likewise.
50877         (libm_hidden_tls_proto): Likewise.
50878         (libresolv_hidden_tls_proto): Likewise.
50879         (librt_hidden_tls_proto): Likewise.
50880         (libdl_hidden_tls_proto): Likewise.
50881         (libnss_files_hidden_tls_proto): Likewise.
50882         (libnsl_hidden_tls_proto): Likewise.
50883         (libnss_nisplus_hidden_tls_proto): Likewise.
50884         (libutil_hidden_tls_proto): Likewise.
50886 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
50888         [BZ #10253]
50889         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
50890         (decompose_rpath): Defer expansion to fillin_rpath.
50891         (_dl_init_paths): Pass linkmap to fillin_rpath.
50893 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
50895         * benchtests/Makefile: Add strsep.
50896         * benchtests/bench-strsep.c: New file: strsep benchtest.
50897         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
50899 2013-11-18  Andreas Schwab  <schwab@suse.de>
50901         * locale/programs/locale.c (show_info) [case byte]: Check for
50902         '\377' instead of '\177'.
50903         * locale/C-monetary.c (not_available): Always use "\377".
50904         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
50905         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
50906         detect unavailable sign_posn locale elements.
50907         * locale/localeconv.c (__localeconv): For grouping and
50908         mon_grouping handle "\177" and "\377" like no grouping.
50909         (INT_ELEM): New macro.  Use it to set all numeric members.
50910         * locale/programs/ld-monetary.c (monetary_read)
50911         <tok_mon_grouping>: Normalize single -1 to the empty string.
50912         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
50913         Likewise.
50915 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
50917         [BZ #16055]
50918         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
50919         when we match (nil).
50920         * stdio-common/tst-sscanf.c (struct test): Add testcase.
50922 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
50924         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
50925         (NO_TEST_INLINE): Update value.
50926         (ERRNO_UNCHANGED): Likewise.
50927         (ERRNO_EDOM): Likewise.
50928         (ERRNO_ERANGE): Likewise.
50929         (IGNORE_RESULT): Likewise.
50930         (check_float_internal): Check signs of NaN results if
50931         TEST_NAN_SIGN used.
50932         (check_complex): Pass TEST_NAN_SIGN flag through to second
50933         check_float_internal call.
50934         (copysign_test_data): Add tests with quiet NaNs as second
50935         argument.  Use TEST_NAN_SIGN.
50936         (fabs_test_data): Add test of negative quiet NaN argument.  Use
50937         TEST_NAN_SIGN.
50938         (signbit_test_data): Add tests of quiet NaN argument.
50939         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
50941         * math/gen-libm-test.pl (show_exceptions): Take extra argument
50942         $ignore_result.
50943         (parse_args): Handle function results specified as IGNORE.
50944         * math/libm-test.inc (IGNORE_RESULT): New macro.
50945         (check_float_internal): Do not check numerical result if flag
50946         IGNORE_RESULT set.
50947         (check_complex): Pass through IGNORE_RESULT to second
50948         check_float_internal call.
50949         (check_int): Do not check numerical result if flag IGNORE_RESULT
50950         set.
50951         (check_long): Likewise.
50952         (check_bool): Likewise.
50953         (check_longlong): Likewise.
50954         (lrint_test_data): Add tests of infinite and NaN arguments.
50955         (lrint_tonearest_test_data): Likewise.
50956         (lrint_towardzero_test_data): Likewise.
50957         (lrint_downward_test_data): Likewise.
50958         (lrint_upward_test_data): Likewise.
50959         (llrint_test_data): Likewise.
50960         (llrint_tonearest_test_data): Likewise.
50961         (llrint_towardzero_test_data): Likewise.
50962         (llrint_downward_test_data): Likewise.
50963         (llrint_upward_test_data): Likewise.
50964         (lround_test_data): Likewise.
50965         (llround_test_data): Likewise.
50967         * math/libm-test.inc (NO_TEST_INLINE): New macro.
50968         (ERRNO_UNCHANGED): Update value.
50969         (ERRNO_EDOM): Likewise.
50970         (ERRNO_ERANGE): Likewise.
50971         (NO_TEST_INLINE_FLOAT): New macro.
50972         (NO_TEST_INLINE_DOUBLE): Likewise.
50973         (enable_test): New function.
50974         (RUN_TEST_f_f): Check enable_test before running test.
50975         (RUN_TEST_2_f): Likewise.
50976         (RUN_TEST_fff_f): Likewise.
50977         (RUN_TEST_c_f): Likewise.
50978         (RUN_TEST_f_f1): Likewise.
50979         (RUN_TEST_fF_f1): Likewise.
50980         (RUN_TEST_fI_f1): Likewise.
50981         (RUN_TEST_ffI_f1): Likewise.
50982         (RUN_TEST_c_c): Likewise.
50983         (RUN_TEST_cc_c): Likewise.
50984         (RUN_TEST_f_i): Likewise.
50985         (RUN_TEST_f_i_tg): Likewise.
50986         (RUN_TEST_ff_i_tg): Likewise.
50987         (RUN_TEST_f_b): Likewise.
50988         (RUN_TEST_f_b_tg): Likewise.
50989         (RUN_TEST_f_l): Likewise.
50990         (RUN_TEST_f_L): Likewise.
50991         (RUN_TEST_fFF_11): Likewise.
50992         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
50993         conditionals.
50994         (cosh_test_data): Likewise.
50995         (exp_test_data): Likewise.
50996         (expm1_test_data): Likewise.
50997         (hypot_test_data): Likewise.
50998         (pow_test_data): Likewise.
50999         (sinh_test_data): Likewise.
51000         (tanh_test_data): Likewise.
51001         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51002         flags argument.
51004         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51005         tests with quiet NaN input and output.
51006         (acosh_test_data): Likewise.
51007         (asin_test_data): Likewise.
51008         (asinh_test_data): Likewise.
51009         (atan_test_data): Likewise.
51010         (atanh_test_data): Likewise.
51011         (atan2_test_data): Likewise.
51012         (cbrt_test_data): Likewise.
51013         (cos_test_data): Likewise.
51014         (cosh_test_data): Likewise.
51015         (erf_test_data): Likewise.
51016         (erfc_test_data): Likewise.
51017         (exp_test_data): Likewise.
51018         (exp10_test_data): Likewise.
51019         (exp2_test_data): Likewise.
51020         (expm1_test_data): Likewise.
51021         (hypot_test_data): Likewise.
51022         (j0_test_data): Likewise.
51023         (j1_test_data): Likewise.
51024         (jn_test_data): Likewise.
51025         (lgamma_test_data): Likewise.
51026         (log_test_data): Likewise.
51027         (log10_test_data): Likewise.
51028         (log1p_test_data): Likewise.
51029         (log2_test_data): Likewise.
51030         (pow_test_data): Likewise.
51031         (scalb_test_data): Likewise.
51032         (sin_test_data): Likewise.
51033         (sincos_test_data): Likewise.
51034         (sinh_test_data): Likewise.
51035         (tan_test_data): Likewise.
51036         (tanh_test_data): Likewise.
51037         (tgamma_test_data): Likewise.
51038         (y0_test_data): Likewise.
51039         (y1_test_data): Likewise.
51040         (yn_test_data): Likewise.
51042         [BZ #16167]
51043         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51044         argument being NaN and avoid computations with second argument in
51045         that case.
51046         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51047         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51048         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51050 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
51052         * locale/iso-639.def: Add Chitwani Tharu (the).
51054 2013-11-14  Andreas Schwab  <schwab@suse.de>
51056         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51057         word instead of empty string.
51059 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51062         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51064         (__fe_nomask_env): Likewise.
51066 2013-11-13  Steve Ellcey  <sellcey@mips.com>
51068         * benchtests/bench-timing.h: Include time.h.
51070 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
51072         [BZ #15997]
51073         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51074         to 3.4.0 for x32.
51075         * sysdeps/unix/sysv/linux/configure: Regenerated.
51077 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
51079         [BZ #16151]
51080         * stdlib/strtod_l.c (round_and_return): Do not consider
51081         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51082         exponent one less than half the least subnormal exponent.
51083         * stdlib/test-strtod-round-data: Add more tests.
51084         * stdlib/tst-strtod-round.c (tests): Regenerated.
51086 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51088         [BZ #14143]
51089         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51090         (__fe_mask_env): Likewise.
51091         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51092         libm_hidden_proto and add function prototype.
51093         (__fe_mask_env): Add function prototype.
51094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51095         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51097         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51099         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51101 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51103         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51104         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51106 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51108         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51109         of htab_find_slot().
51111 2013-11-11  David S. Miller  <davem@davemloft.net>
51113         [BZ #16150]
51114         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51115         symbol in the non-vis3 case in static builds.
51116         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51117         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51118         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51119         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51121 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
51123         [BZ #387]
51124         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51125         it is empty.
51127 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51129         * benchtests/Makefile: Add bench-strtod.
51130         * benchtests/bench-strtod.c: New file: strtod benchtest
51132 2013-11-11  Andreas Schwab  <schwab@suse.de>
51134         [BZ #16153]
51135         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51136         terminating NUL in key length.
51138 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51140         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51141         Add artificial ODP entry for vDSO symbol for PPC64.
51142         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51143         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51145 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51147         [BZ #15374]
51148         * nss/getent.c (services_keys): Recognize services starting with digit.
51150 2013-11-06  David S. Miller  <davem@davemloft.net>
51152         [BZ #15985]
51153         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51154         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51156 2013-11-06  Will Newton  <will.newton@linaro.org>
51158         * manual/memory.texi (Malloc Examples): Remove register
51159         keyword from examples.
51161 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
51163         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51165 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
51167         [BZ #6981]
51168         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51169         depending on [__GCC_IEC_559 > 0].
51170         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51171         depending on [__GCC_IEC_559_COMPLEX > 0].
51173 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
51175         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51176         to iso-639.def.
51178 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
51180         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51182 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
51184         [BZ #16112]
51185         * malloc/malloc (malloc_info): Do not handle first bin as
51186         special case.
51188 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
51190         * locale/iso-639.def: Add Central Nahuatl (nhn).
51192 2013-11-01  Bruno Haible  <bruno@clisp.org>
51194         [BZ #7003]
51195         * manual/math.texi (BSD Random): Specify range upper bound as
51196         in POSIX.
51198 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
51200         * locale/iso-639.def: Add Meadow Mari (mhr).
51202 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
51204         [BZ #14752], [BZ #15763]
51205         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51206         Validate name.
51207         * rt/tst_shm.c: Add test for escaping directory.
51209 2013-10-31  Andreas Schwab  <schwab@suse.de>
51211         [BZ #15917]
51212         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51213         followed by 'x' as part of digit sequence.
51214         * stdio-common/tst-sscanf.c (double_tests2): New tests.
51216 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51218         [BZ #16037]
51219         * configure.ac: allow GNU Make 4.0 and greater.
51220         * configure: Regenerated.
51222 2013-10-30  Will Newton  <will.newton@linaro.org>
51224         [BZ #16038]
51225         * malloc/hooks.c (memalign_check): Limit alignment to the
51226         maximum representable power of two.
51227         * malloc/malloc.c (__libc_memalign): Likewise.
51228         * malloc/tst-memalign.c (do_test): Add test for very
51229         large alignment values.
51230         * malloc/tst-posix_memalign.c (do_test): Likewise.
51232 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51234         [BZ #11087]
51235         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51236         (munmap_chunk): Likewise.
51237         (mremap_chunk): Likewise.
51239 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51241         [BZ #15799]
51242         * stdlib/div.c (div): Remove obsolete code.
51243         * stdlib/ldiv.c (ldiv): Likewise.
51244         * stdlib/lldiv.c (lldiv): Likewise.
51246 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51248         [BZ #16071]
51249         * nss/nss_files/files-XXX.c (get_contents_ret): New
51250         enumerator.
51251         (get_contents): New function.
51252         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51254 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51256         * configure.in: Moved to ...
51257         * configure.ac: ... here. Change reference to configure.in
51258         to configure.ac.
51259         * sysdeps/arm/preconfigure.ac: ... here.
51260         configure.in to configure.ac.
51261         * sysdeps/gnu/configure.in: Moved to ...
51262         * sysdeps/gnu/configure.ac: ... here.
51263         * sysdeps/i386/configure.in: Moved to ...
51264         * sysdeps/i386/configure.ac: ... here.
51265         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51266         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51267         * sysdeps/mach/configure.in: Moved to ...
51268         * sysdeps/mach/configure.ac: ... here.
51269         * sysdeps/mach/hurd/configure.in: Moved to ...
51270         * sysdeps/mach/hurd/configure.ac: ... here.
51271         * sysdeps/powerpc/configure.in: Moved to ...
51272         * sysdeps/powerpc/configure.ac: ... here.
51273         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51274         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51275         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51276         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51277         * sysdeps/s390/s390-32/configure.in: Moved to ...
51278         * sysdeps/s390/s390-32/configure.ac: ... here.
51279         * sysdeps/s390/s390-64/configure.in: Moved to ...
51280         * sysdeps/s390/s390-64/configure.ac: ... here.
51281         * sysdeps/sh/configure.in: Moved to ...
51282         * sysdeps/sh/configure.ac: ... here.
51283         * sysdeps/sparc/configure.in: Moved to ...
51284         * sysdeps/sparc/configure.ac: ... here.
51285         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51286         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51287         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51288         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51289         * sysdeps/x86_64/configure.in: Moved to ...
51290         * sysdeps/x86_64/configure.ac: ... here.
51291         * sysdeps/x86_64/preconfigure.in: Moved to ...
51292         * sysdeps/x86_64/preconfigure.ac: ... here.
51293         * aclocal.m4: Change reference to configure.in to configure.ac.
51294         * config.h.in: Likewise.
51295         * manual/install.texi: Likewise.
51296         * manual/maint.texi: Likewise.
51297         * Makefile: Likewise.
51298         * malloc/Makefile: Likewise.
51299         * nscd/Makefile: Likewise.
51300         * Makeconfig: Change reference to configure.in and
51301         preconfigure.in to configure.ac and preconfigure.ac
51302         respectively.
51303         * INSTALL: Regenerated.
51304         * configure: Likewise.
51305         * sysdeps/gnu/configure: Likewise.
51306         * sysdeps/i386/configure: Likewise.
51307         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51308         * sysdeps/mach/configure: Likewise.
51309         * sysdeps/mach/hurd/configure: Likewise.
51310         * sysdeps/powerpc/configure: Likewise.
51311         * sysdeps/powerpc/powerpc32/configure: Likewise.
51312         * sysdeps/powerpc/powerpc64/configure: Likewise.
51313         * sysdeps/s390/s390-32/configure: Likewise.
51314         * sysdeps/s390/s390-64/configure: Likewise.
51315         * sysdeps/sh/configure: Likewise.
51316         * sysdeps/sparc/configure: Likewise.
51317         * sysdeps/unix/sysv/linux/configure: Likewise.
51318         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51319         * sysdeps/x86_64/configure: Likewise.
51320         * sysdeps/x86_64/preconfigure: Likewise.
51322 2013-10-29  Andreas Schwab  <schwab@suse.de>
51324         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51326 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51328         * benchtests/pow-inputs: Add new inputs.
51330         * benchtests/exp-inputs: Add new inputs.
51332         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51333         conditional check for return value.
51334         (__cos32): Likewise.
51336 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51338         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51339         to provide a boost for large inputs with word alignment.
51340         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51341         implementation based on optimized PPC64 strcpy.
51342         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51343         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51344         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51345         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51347 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51349         [BZ #2801]
51350         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51352 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51354         [BZ #14876]
51355         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51356         * time/tst-strptime.c (day_tests): Add testcase.
51358 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51360         [BZ #14029]
51361         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51363 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51365         [BZ #16074]
51366         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51367         MAP_FAILED on error.
51369 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51371         [BZ #16072]
51372         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51373         heap for large requests.
51375 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51377         [BZ #9954]
51378         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51379         result if the result has no associated interface.
51380         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51381         interface for all 127.X.Y.Z addresses.
51383 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51385         * locale/iso-639.def: Add Ligurian (lij)
51387 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51389         [BZ #15825]
51390         * sunrpc/rpc_main.c: Document rpcgen -5.
51392 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51394         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51396 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51398         [BZ #10278]
51399         * posix/glob.c: Match only directories when trailing slash is present.
51400         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51401         (main): Add testcase.
51403 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51405         [BZ #15670]
51406         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51408 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51410         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51411         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51412         AUTH_DES and cindex for FIPS 140-2.
51413         (DES Encryption): Add cindex FIPS 46-3.
51415         * locale/locarchive.h (struct locarhandle): Add fname.
51416         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51417         if an optional argument was specified to --list-archive,
51418         otherwise NULL.
51419         * locale/programs/locarchive.c (show_archive_content): Take new
51420         argument fname and pass it via ah.fname to open_archive.
51421         * locale/programs/localedef.h: Update decl.
51422         (open_archive): If AH->fname is non-null, open that file
51423         rather than the default file name, and don't ignore ENOENT.
51424         (create_archive): Set AH.fname to NULL.
51425         (delete_locales_from_archive): Likewise.
51426         (add_locales_to_archive): Likewise.
51427         * locale/programs/locfile.c (write_all_categories): Likewise.
51429 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51430             Aldy Hernandez  <aldyh@redhat.com>
51432         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51433         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51434         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51435         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51436         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51437         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51438         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51439         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51440         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51441         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51442         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51443         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51444         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51445         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51446         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51447         Likewise.
51448         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51449         Likewise.
51450         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51451         Likewise.
51452         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51453         Likewise.
51454         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51455         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51456         Likewise.
51457         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51458         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51459         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51460         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51461         Likewise.
51462         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51463         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51464         * sysdeps/powerpc/preconfigure: Likewise.
51465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51466         Likewise.
51467         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51468         Replace contents of file by #include of <fenv_libc.h>.
51469         * sysdeps/powerpc/soft-fp/sfp-machine.h
51470         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51471         and <sys/prctl.h>.
51472         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51473         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51474         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51475         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51476         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51477         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51478         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51479         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51480         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51481         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51482         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51483         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51485         Allow copysignl PLT reference to be missing.
51487 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51488             Joseph Myers  <joseph@codesourcery.com
51490         [BZ #15948]
51491         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51492         single character.
51493         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51495 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51497         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51498         * elf/tst-tls1.c: Likewise.
51499         * elf/tst-tls10.h: Likewise.
51500         * elf/tst-tls14.c: Likewise.
51501         * elf/tst-tls2.c: Likewise.
51502         * elf/tst-tls3.c: Likewise.
51503         * elf/tst-tls4.c: Likewise.
51504         * elf/tst-tls5.c: Likewise.
51505         * elf/tst-tls6.c: Likewise.
51506         * elf/tst-tls7.c: Likewise.
51507         * elf/tst-tls8.c: Likewise.
51508         * elf/tst-tls9.c: Likewise.
51509         * elf/tst-tlsmod1.c: Likewise.
51510         * elf/tst-tlsmod13.c: Likewise.
51511         * elf/tst-tlsmod13a.c: Likewise.
51512         * elf/tst-tlsmod14a.c: Likewise.
51513         * elf/tst-tlsmod16a.c: Likewise.
51514         * elf/tst-tlsmod16b.c: Likewise.
51515         * elf/tst-tlsmod2.c: Likewise.
51516         * elf/tst-tlsmod3.c: Likewise.
51517         * elf/tst-tlsmod4.c: Likewise.
51518         * elf/tst-tlsmod5.c: Likewise.
51519         * elf/tst-tlsmod6.c: Likewise.
51521 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51523         [BZ #12486]
51524         * malloc/malloc.c: remove checks for statistics.
51526 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51528         [BZ #15277]
51529         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51530         * inet/tst-network.c: Add testcase.
51532 2013-10-17  Andreas Schwab  <schwab@suse.de>
51534         [BZ #15218]
51535         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51536         to determine canonical name.
51538 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51540         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51541         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51542         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51543         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51544         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51545         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51546         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51547         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51548         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51549         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51550         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51551         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51552         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51553         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51554         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51555         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51556         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51557         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51558         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51559         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51560         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51561         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51562         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51563         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51564         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51565         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51566         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51567         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51568         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51569         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51570         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51572         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51573         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51574         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51575         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51576         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51577         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51578         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51579         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51580         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51581         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51582         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51583         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51584         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51588         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51589         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51590         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51591         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51592         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51593         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51594         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51595         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51596         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51597         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51599 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51601         [BZ #16041]
51602         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51603         make result into a quiet NaN.
51605 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51607         * soft-fp/adddf3.c: Fix horizontal whitespace.
51608         * soft-fp/addsf3.c: Likewise.
51609         * soft-fp/addtf3.c: Likewise.
51610         * soft-fp/divdf3.c: Likewise.
51611         * soft-fp/divsf3.c: Likewise.
51612         * soft-fp/divtf3.c: Likewise.
51613         * soft-fp/double.h: Likewise.
51614         * soft-fp/eqdf2.c: Likewise.
51615         * soft-fp/eqsf2.c: Likewise.
51616         * soft-fp/eqtf2.c: Likewise.
51617         * soft-fp/extenddftf2.c: Likewise.
51618         * soft-fp/extended.h: Likewise.
51619         * soft-fp/extendsfdf2.c: Likewise.
51620         * soft-fp/extendsftf2.c: Likewise.
51621         * soft-fp/extendxftf2.c: Likewise.
51622         * soft-fp/fixdfdi.c: Likewise.
51623         * soft-fp/fixdfsi.c: Likewise.
51624         * soft-fp/fixdfti.c: Likewise.
51625         * soft-fp/fixsfdi.c: Likewise.
51626         * soft-fp/fixsfsi.c: Likewise.
51627         * soft-fp/fixsfti.c: Likewise.
51628         * soft-fp/fixtfdi.c: Likewise.
51629         * soft-fp/fixtfsi.c: Likewise.
51630         * soft-fp/fixtfti.c: Likewise.
51631         * soft-fp/fixunsdfdi.c: Likewise.
51632         * soft-fp/fixunsdfsi.c: Likewise.
51633         * soft-fp/fixunsdfti.c: Likewise.
51634         * soft-fp/fixunssfdi.c: Likewise.
51635         * soft-fp/fixunssfsi.c: Likewise.
51636         * soft-fp/fixunssfti.c: Likewise.
51637         * soft-fp/fixunstfdi.c: Likewise.
51638         * soft-fp/fixunstfsi.c: Likewise.
51639         * soft-fp/fixunstfti.c: Likewise.
51640         * soft-fp/floatdidf.c: Likewise.
51641         * soft-fp/floatdisf.c: Likewise.
51642         * soft-fp/floatditf.c: Likewise.
51643         * soft-fp/floatsidf.c: Likewise.
51644         * soft-fp/floatsisf.c: Likewise.
51645         * soft-fp/floatsitf.c: Likewise.
51646         * soft-fp/floattidf.c: Likewise.
51647         * soft-fp/floattisf.c: Likewise.
51648         * soft-fp/floattitf.c: Likewise.
51649         * soft-fp/floatundidf.c: Likewise.
51650         * soft-fp/floatundisf.c: Likewise.
51651         * soft-fp/floatunditf.c: Likewise.
51652         * soft-fp/floatunsidf.c: Likewise.
51653         * soft-fp/floatunsisf.c: Likewise.
51654         * soft-fp/floatunsitf.c: Likewise.
51655         * soft-fp/floatuntidf.c: Likewise.
51656         * soft-fp/floatuntisf.c: Likewise.
51657         * soft-fp/floatuntitf.c: Likewise.
51658         * soft-fp/fmadf4.c: Likewise.
51659         * soft-fp/fmasf4.c: Likewise.
51660         * soft-fp/fmatf4.c: Likewise.
51661         * soft-fp/gedf2.c: Likewise.
51662         * soft-fp/gesf2.c: Likewise.
51663         * soft-fp/getf2.c: Likewise.
51664         * soft-fp/ledf2.c: Likewise.
51665         * soft-fp/lesf2.c: Likewise.
51666         * soft-fp/letf2.c: Likewise.
51667         * soft-fp/muldf3.c: Likewise.
51668         * soft-fp/mulsf3.c: Likewise.
51669         * soft-fp/multf3.c: Likewise.
51670         * soft-fp/negdf2.c: Likewise.
51671         * soft-fp/negsf2.c: Likewise.
51672         * soft-fp/negtf2.c: Likewise.
51673         * soft-fp/op-1.h: Likewise.
51674         * soft-fp/op-2.h: Likewise.
51675         * soft-fp/op-4.h: Likewise.
51676         * soft-fp/op-8.h: Likewise.
51677         * soft-fp/op-common.h: Likewise.
51678         * soft-fp/quad.h: Likewise.
51679         * soft-fp/single.h: Likewise.
51680         * soft-fp/soft-fp.h: Likewise.
51681         * soft-fp/sqrtdf2.c: Likewise.
51682         * soft-fp/sqrtsf2.c: Likewise.
51683         * soft-fp/sqrttf2.c: Likewise.
51684         * soft-fp/subdf3.c: Likewise.
51685         * soft-fp/subsf3.c: Likewise.
51686         * soft-fp/subtf3.c: Likewise.
51687         * soft-fp/truncdfsf2.c: Likewise.
51688         * soft-fp/trunctfdf2.c: Likewise.
51689         * soft-fp/trunctfsf2.c: Likewise.
51690         * soft-fp/trunctfxf2.c: Likewise.
51691         * soft-fp/unorddf2.c: Likewise.
51692         * soft-fp/unordsf2.c: Likewise.
51693         * soft-fp/unordtf2.c: Likewise.
51695 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
51697         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51698         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51700 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
51702         * elf/dl-libc.c: Clear initfini list after freeing.
51704 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
51706         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51707         * soft-fp/addsf3.c: Likewise.
51708         * soft-fp/addtf3.c: Likewise.
51709         * soft-fp/divdf3.c: Likewise.
51710         * soft-fp/divsf3.c: Likewise.
51711         * soft-fp/divtf3.c: Likewise.
51712         * soft-fp/double.h: Likewise.
51713         * soft-fp/eqdf2.c: Likewise.
51714         * soft-fp/eqsf2.c: Likewise.
51715         * soft-fp/eqtf2.c: Likewise.
51716         * soft-fp/extenddftf2.c: Likewise.
51717         * soft-fp/extended.h: Likewise.
51718         * soft-fp/extendsfdf2.c: Likewise.
51719         * soft-fp/extendsftf2.c: Likewise.
51720         * soft-fp/extendxftf2.c: Likewise.
51721         * soft-fp/fixdfdi.c: Likewise.
51722         * soft-fp/fixdfsi.c: Likewise.
51723         * soft-fp/fixdfti.c: Likewise.
51724         * soft-fp/fixsfdi.c: Likewise.
51725         * soft-fp/fixsfsi.c: Likewise.
51726         * soft-fp/fixsfti.c: Likewise.
51727         * soft-fp/fixtfdi.c: Likewise.
51728         * soft-fp/fixtfsi.c: Likewise.
51729         * soft-fp/fixtfti.c: Likewise.
51730         * soft-fp/fixunsdfdi.c: Likewise.
51731         * soft-fp/fixunsdfsi.c: Likewise.
51732         * soft-fp/fixunsdfti.c: Likewise.
51733         * soft-fp/fixunssfdi.c: Likewise.
51734         * soft-fp/fixunssfsi.c: Likewise.
51735         * soft-fp/fixunssfti.c: Likewise.
51736         * soft-fp/fixunstfdi.c: Likewise.
51737         * soft-fp/fixunstfsi.c: Likewise.
51738         * soft-fp/fixunstfti.c: Likewise.
51739         * soft-fp/floatdidf.c: Likewise.
51740         * soft-fp/floatdisf.c: Likewise.
51741         * soft-fp/floatditf.c: Likewise.
51742         * soft-fp/floatsidf.c: Likewise.
51743         * soft-fp/floatsisf.c: Likewise.
51744         * soft-fp/floatsitf.c: Likewise.
51745         * soft-fp/floattidf.c: Likewise.
51746         * soft-fp/floattisf.c: Likewise.
51747         * soft-fp/floattitf.c: Likewise.
51748         * soft-fp/floatundidf.c: Likewise.
51749         * soft-fp/floatundisf.c: Likewise.
51750         * soft-fp/floatunsidf.c: Likewise.
51751         * soft-fp/floatunsisf.c: Likewise.
51752         * soft-fp/floatuntidf.c: Likewise.
51753         * soft-fp/floatuntisf.c: Likewise.
51754         * soft-fp/floatuntitf.c: Likewise.
51755         * soft-fp/fmadf4.c: Likewise.
51756         * soft-fp/fmasf4.c: Likewise.
51757         * soft-fp/fmatf4.c: Likewise.
51758         * soft-fp/gedf2.c: Likewise.
51759         * soft-fp/gesf2.c: Likewise.
51760         * soft-fp/getf2.c: Likewise.
51761         * soft-fp/ledf2.c: Likewise.
51762         * soft-fp/lesf2.c: Likewise.
51763         * soft-fp/letf2.c: Likewise.
51764         * soft-fp/muldf3.c: Likewise.
51765         * soft-fp/mulsf3.c: Likewise.
51766         * soft-fp/multf3.c: Likewise.
51767         * soft-fp/negdf2.c: Likewise.
51768         * soft-fp/negsf2.c: Likewise.
51769         * soft-fp/negtf2.c: Likewise.
51770         * soft-fp/op-1.h: Likewise.
51771         * soft-fp/op-2.h: Likewise.
51772         * soft-fp/op-4.h: Likewise.
51773         * soft-fp/op-8.h: Likewise.
51774         * soft-fp/op-common.h: Likewise.
51775         * soft-fp/quad.h: Likewise.
51776         * soft-fp/single.h: Likewise.
51777         * soft-fp/soft-fp.h: Likewise.
51778         * soft-fp/sqrtdf2.c: Likewise.
51779         * soft-fp/sqrtsf2.c: Likewise.
51780         * soft-fp/sqrttf2.c: Likewise.
51781         * soft-fp/subdf3.c: Likewise.
51782         * soft-fp/subsf3.c: Likewise.
51783         * soft-fp/subtf3.c: Likewise.
51784         * soft-fp/truncdfsf2.c: Likewise.
51785         * soft-fp/trunctfdf2.c: Likewise.
51786         * soft-fp/trunctfsf2.c: Likewise.
51787         * soft-fp/trunctfxf2.c: Likewise.
51788         * soft-fp/unorddf2.c: Likewise.
51789         * soft-fp/unordsf2.c: Likewise.
51790         * soft-fp/unordtf2.c: Likewise.
51792 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
51794         [BZ #15672]
51795         * misc/error.c (error_tail): Fix possible buffer overflow.
51797 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
51799         [BZ #13028]
51800         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
51801         address.
51803 2013-10-14  P. J. McDermott  <pj@pehjota.net>
51805         [BZ #832]
51806         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
51807         testing pipefail option.
51809 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51811         * soft-fp/double.h: Indent preprocessor directives inside #if.
51812         * soft-fp/extended.h: Likewise.
51813         * soft-fp/op-2.h: Likewise.
51814         * soft-fp/op-4.h: Likewise.
51815         * soft-fp/op-common.h: Likewise.
51816         * soft-fp/quad.h: Likewise.
51817         * soft-fp/single.h: Likewise.
51818         * soft-fp/soft-fp.h: Likewise.
51820 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
51822         * iconv/iconv_prog.c: Fix typos.
51823         * stdio-common/psiginfo-data.h: Likewise.
51825 2013-10-12   Reuben Thomas <rrt@sc3d.org>
51827         [BZ #15764]
51828         * locale/setlocale.c: Fix typo.
51830 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
51832         [BZ #16036]
51833         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
51834         signaling NaN arguments.
51835         * soft-fp/unordsf2.c (__unordsf2): Likewise.
51836         * soft-fp/unordtf2.c (__unordtf2): Likewise.
51838         [BZ #14910]
51839         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
51840         unordered operands.
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/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
51848         * soft-fp/eqsf2.c (__eqsf2): Likewise.
51849         * soft-fp/eqtf2.c (__eqtf2): Likewise.
51850         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
51851         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
51852         * soft-fp/fixdfti.c (__fixdfti): Likewise.
51853         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
51854         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
51855         * soft-fp/fixsfti.c (__fixsfti): Likewise.
51856         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
51857         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
51858         * soft-fp/fixtfti.c (__fixtfti): Likewise.
51859         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
51860         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
51861         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
51862         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
51863         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
51864         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
51865         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
51866         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
51867         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
51868         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
51869         * soft-fp/floatdisf.c (__floatdisf): Likewise.
51870         * soft-fp/floatsisf.c (__floatsisf): Likewise.
51871         * soft-fp/floattidf.c (__floattidf): Likewise.
51872         * soft-fp/floattisf.c (__floattisf): Likewise.
51873         * soft-fp/floattitf.c (__floattitf): Likewise.
51874         * soft-fp/floatundidf.c (__floatundidf): Likewise.
51875         * soft-fp/floatundisf.c (__floatundisf): Likewise.
51876         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
51877         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
51878         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
51879         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
51880         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
51881         * soft-fp/gesf2.c (__gesf2): Likewise.
51882         * soft-fp/getf2.c (__getf2): Likewise.
51883         * soft-fp/ledf2.c (__ledf2): Likewise.
51884         * soft-fp/lesf2.c (__lesf2): Likewise.
51885         * soft-fp/letf2.c (__letf2): Likewise.
51887         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
51888         Undefine and redefine.
51889         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
51890         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
51891         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
51892         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
51893         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51894         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
51895         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51896         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
51897         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51898         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
51899         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51900         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
51901         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51902         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
51903         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
51905         [BZ #16032]
51906         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
51907         without decrementing exponent if mantissa >= that for the
51908         denominator, not >.
51909         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
51910         denominator, not >.  Decrement exponent in < case instead of
51911         incrementing in >= case.
51912         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
51913         without decrementing exponent if mantissa >= that for the
51914         denominator, not >.
51916         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
51917         computing saturated result for unsigned overflow.
51919 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51920             Jeff Law  <law@redhat.com>
51922         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
51923         (atan2Mp): Add systemtap probe marker.
51924         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
51925         (__ieee754_log): Add systemtap probe marker.
51926         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
51927         (atanMp): Add systemtap probe marker.
51928         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
51929         (tanMp): Add systemtap probe marker.
51930         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
51931         (__slowexp): Add systemtap probe marker.
51932         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
51933         (__slowpow): Add systemtap probe marker.
51934         * manual/probes.texi: Document probes.
51936 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
51938         [BZ #15362]
51939         * libio/fileops.c (_IO_new_file_write): Return count of bytes
51940         written.
51941         (_IO_new_file_xsputn): Don't return EOF if nothing has been
51942         written.
51943         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
51944         written to buffer but not flushed.
51945         * libio/iofwrite_u.c:  Likewise.
51946         * libio/iopadn.c:  Return bytes returned even if EOF was
51947         encountered.
51948         * libio/iowpadn.c:  Likewise.
51949         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
51950         if _IO_padn does not write the whole buffer.
51951         [!COMPILE_WPRINTF] (PAD): Likewise.
51953 2013-10-10  David S. Miller  <davem@davemloft.net>
51955         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
51956         directory block.
51958 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
51960         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
51961         instead of FSF address.
51962         * soft-fp/fixdfti.c: Likewise.
51963         * soft-fp/fixsfti.c: Likewise.
51964         * soft-fp/fixtfti.c: Likewise.
51965         * soft-fp/fixunsdfti.c: Likewise.
51966         * soft-fp/fixunssfti.c: Likewise.
51967         * soft-fp/fixunstfti.c: Likewise.
51968         * soft-fp/floattidf.c: Likewise.
51969         * soft-fp/floattisf.c: Likewise.
51970         * soft-fp/floattitf.c: Likewise.
51971         * soft-fp/floatuntidf.c: Likewise.
51972         * soft-fp/floatuntisf.c: Likewise.
51973         * soft-fp/floatuntitf.c: Likewise.
51974         * soft-fp/trunctfxf2.c: Likewise.
51976         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
51977         * soft-fp/fixdfti.c: Likewise.
51978         * soft-fp/fixsfti.c: Likewise.
51979         * soft-fp/fixtfti.c: Likewise.
51980         * soft-fp/fixunsdfti.c: Likewise.
51981         * soft-fp/fixunssfti.c: Likewise.
51982         * soft-fp/fixunstfti.c: Likewise.
51983         * soft-fp/floattidf.c: Likewise.
51984         * soft-fp/floattisf.c: Likewise.
51985         * soft-fp/floattitf.c: Likewise.
51986         * soft-fp/floatuntidf.c: Likewise.
51987         * soft-fp/floatuntisf.c: Likewise.
51988         * soft-fp/floatuntitf.c: Likewise.
51989         * soft-fp/trunctfxf2.c: Likewise.
51991 2013-10-10  David S. Miller  <davem@davemloft.net>
51993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51995 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
51997         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
51998         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
51999         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52000         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52001         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52002         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52003         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52005         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52006         for NaNs before doing comparisons on argument.
52007         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52008         Likewise.
52010 2013-10-10  Will Newton  <will.newton@linaro.org>
52012         * malloc/hooks.c (memalign_check): Ensure the value of bytes
52013         passed to _int_memalign does not overflow.
52015 2013-10-10  Torvald Riegel  <triegel@redhat.com>
52017         * scripts/bench.pl: Add include-sources directive.
52018         * benchtests/README: Update documentation.
52020 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
52022         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52023         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52024         instead of FP_INIT_ROUNDMODE.
52025         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52026         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52028         [BZ #16034]
52029         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
52030         copy class of input value.
52031         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
52032         not handle exceptions.
52033         * soft-fp/negsf2.c (__negsf2): Likewise.
52034         * soft-fp/negtf2.c (__negtf2): Likewise.
52035         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52037 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
52039         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52040         semicolon.  From Linux kernel.
52042 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
52044         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52046 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
52048         [BZ #156]
52049         * manual/socket.texi: Added statement about buffer
52050         for gethostbyname2_r.
52052 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
52054         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52055         Use .p2align directive instead, throughout.
52056         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52057         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52058         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52059         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52060         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52061         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52062         * sysdeps/x86_64/strchr.S: Likewise.
52063         * sysdeps/x86_64/strrchr.S: Likewise.
52065 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52067         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52069         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52071         * sysdeps/generic/math_private.h (__mpsin1): Remove
52072         declaration.
52073         (__mpcos1): Likewise.
52074         (__mpsin): New argument __range_reduce.
52075         (__mpcos): Likewise.
52076         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52077         (slow): Use __mpsin and __mpcos.
52078         (slow1): Likewise.
52079         (slow2): Likewise.
52080         (sloww): Likewise.
52081         (sloww1): Likewise.
52082         (sloww2): Likewise.
52083         (bsloww): Likewise.
52084         (bsloww1): Likewise.
52085         (bsloww2): Likewise.
52086         (cslow2): Likewise.
52087         (csloww): Likewise.
52088         (csloww1): Likewise.
52089         (csloww2): Likewise.
52090         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52091         range_reduce.  Merge in __mpsin1.
52092         (__mpcos): Likewise.
52093         (__mpsin1): Remove.
52094         (__mpcos1): Likewise.
52096 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
52098         * locale/loadlocale.c (_nl_intern_locale_data): Use
52099         LOCFILE_ALIGNED_P.
52100         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52101         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52102         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52103         obstack data is appropriately aligned.
52104         (obstack_int32_grow_fast): Likewise.
52105         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52106         * locale/programs/locfile.c (add_locale_uint32): Likewise.
52107         (add_locale_uint32_array): Likewise.
52109 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52111         * benchtests/Makefile: Remove ARGLIST and RET variables.
52112         ($(objpfx)bench-%.c): Pass only function name to the script.
52113         * benchtests/README: Update documentation.
52114         * benchtests/acos-inputs: Add new directives.
52115         * benchtests/acosh-inputs: Likewise.
52116         * benchtests/asin-inputs: Likewise.
52117         * benchtests/asinh-inputs: Likewise.
52118         * benchtests/atan-inputs: Likewise.
52119         * benchtests/atanh-inputs: Likewise.
52120         * benchtests/cos-inputs: Likewise.
52121         * benchtests/cosh-inputs: Likewise.
52122         * benchtests/exp-inputs: Likewise.
52123         * benchtests/log-inputs: Likewise.
52124         * benchtests/pow-inputs: Likewise.
52125         * benchtests/rint-inputs: Likewise.
52126         * benchtests/sin-inputs: Likewise.
52127         * benchtests/sinh-inputs: Likewise.
52128         * benchtests/tan-inputs: Likewise.
52129         * benchtests/tanh-inputs: Likewise.
52130         * scripts/bench.pl: Add support for new directives.
52132 2013-10-07  Alan Modra  <amodra@gmail.com>
52134         * README: Fix careless merge.
52136 2013-10-05  Alan Modra  <amodra@gmail.com>
52138         * NEWS: Mention powerpc64le support and bugs fixed.
52139         * README: Both big-endian and little-endian powerpc64 supported.
52141 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52143         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52144         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52145         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52146         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52148 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
52150         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52151         match prototype.
52153 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
52155         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52156         Move -mhard-float appending from
52157         ports/sysdeps/powerpc/powerpc32/Makefile.
52158         [$(with-fp) = yes] (ASFLAGS): Likewise.
52159         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52160         * sysdeps/powerpc/nofpu: Move directory from
52161         ports/sysdeps/powerpc/nofpu.
52162         * sysdeps/powerpc/soft-fp: Move directory from
52163         ports/sysdeps/powerpc/soft-fp.
52164         * sysdeps/powerpc/powerpc32/405: Move directory from
52165         ports/sysdeps/powerpc/powerpc32/405.
52166         * sysdeps/powerpc/powerpc32/440: Move directory from
52167         ports/sysdeps/powerpc/powerpc32/440.
52168         * sysdeps/powerpc/powerpc32/464: Move directory from
52169         ports/sysdeps/powerpc/powerpc32/464.
52170         * sysdeps/powerpc/powerpc32/476: Move directory from
52171         ports/sysdeps/powerpc/powerpc32/476.
52172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52173         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52175         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52177         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52179         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52181         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52182         * README: Update for powerpc-*-linux-gnu software floating point
52183         support in libc.
52185         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52186         case to powerpc/powerpc32*.
52187         * sysdeps/unix/sysv/linux/configure: Regenerated.
52189         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52190         (_FPU_MASK_OM): Define as 0x04.
52191         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52192         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52193         0x00c10080.
52194         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52195         0x0000003c.
52196         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52199         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52200         getcontext_e500.
52201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52202         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52203         setcontext_e500.
52204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52205         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52206         and setcontext_e500.
52208 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
52210         * locale/iso-3166.def: Update iso-1366.def and related occurrences
52212 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52214         * manual/threads.texi (Default Thread Attributes): Fix typo.
52216 2013-10-04  Will Newton  <will.newton@linaro.org>
52218         * malloc/Makefile: Add tst-memalign.
52219         * malloc/tst-memalign.c: New file.
52221         * malloc/tst-posix_memalign.c: Add comments.
52222         (do_test): Add comments and call free on all potentially
52223         allocated pointers. Add space after cast.
52225         * malloc/tst-pvalloc.c: Add comments.
52226         (do_test): Add comments and call free on all potentially
52227         allocated pointers. Remove duplicate check for NULL pointer.
52228         Add space after cast.
52230         * malloc/tst-valloc.c: Add comments.
52231         (do_test): Add comments and call free on all potentially
52232         allocated pointers. Remove duplicate check for NULL pointer.
52233         Add space after cast.
52235 2013-10-04  Alan Modra  <amodra@gmail.com>
52237         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52238         Use stdint types in rather than __attribute__((mode())).
52239         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52241 2013-10-04  Alan Modra  <amodra@gmail.com>
52243         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52244         Correct handling of unaligned relocs for little-endian.
52245         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52247 2013-10-04  Alan Modra  <amodra@gmail.com>
52249         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52250         * configure: Regenerate.
52251         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52252         * shlib-versions: Likewise.
52254 2013-10-04  Alan Modra  <amodra@gmail.com>
52256         * string/tester.c (test_memrchr): Increment reported test cycle.
52258 2013-10-04  Alan Modra  <amodra@gmail.com>
52260         * string/test-memcpy.c (do_one_test): When reporting errors, print
52261         string address and don't overrun end of string.
52263 2013-10-04  Alan Modra  <amodra@gmail.com>
52265         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52266         insrdi.  Make better use of reg selection to speed exit slightly.
52267         Schedule entry path a little better.  Remove useless "are we done"
52268         checks on entry to main loop.  Handle wrapping around zero address.
52269         Correct main loop count.  Handle single left-over word from main
52270         loop inline rather than by using loop_small.  Remove extra word
52271         case in loop_small caused by wrong loop count.  Add little-endian
52272         support.
52273         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52275         cache hint.
52276         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52277         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52278         support.  Avoid rlwimi.
52279         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52281 2013-10-04  Alan Modra  <amodra@gmail.com>
52283         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52284         insrdi.  Formatting.
52285         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52286         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52287         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52288         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52289         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52290         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52292 2013-10-04  Alan Modra  <amodra@gmail.com>
52294         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52296         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52297         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52298         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52299         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52300         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52301         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52302         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52303         use of regs.  Use power7 mtocrf.  Tidy function tails.
52305 2013-10-04  Alan Modra  <amodra@gmail.com>
52307         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52308         Formatting.  Consistently use rXXX register defines or rN defines.
52309         Use early exit labels that avoid restoring unused non-volatile regs.
52310         Make cr field use more consistent with rWORDn compares.  Rename
52311         regs used as shift registers for unaligned loop, using rN defines
52312         for short lifetime/multiple use regs.
52313         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52314         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52315         addi 1,1,64 to pop stack frame.  Simplify return value code.
52316         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52318 2013-10-04  Alan Modra  <amodra@gmail.com>
52320         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52321         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52322         rather than rlwimi.
52323         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52324         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52325         little-endian support.  Correct typos.
52326         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52327         rather than rlwimi.
52328         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52329         in loop and entry code to keep "and." results.
52330         (strchr): Add little-endian support.  Comment.  Move cntlzd
52331         earlier in tail.
52332         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52334 2013-10-04  Alan Modra  <amodra@gmail.com>
52336         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52337         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52338         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52339         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52341 2013-10-04  Alan Modra  <amodra@gmail.com>
52343         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52344         (rTMP): Define as r11.
52345         (strcmp): Add little-endian support.  Optimise tail.
52346         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52347         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52348         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52349         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52350         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52351         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52352         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52354 2013-10-04  Alan Modra  <amodra@gmail.com>
52356         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52357         little-endian support.  Remove unnecessary "are we done" tests.
52358         Handle "s" wrapping around zero and extremely large "size".
52359         Correct main loop count.  Handle single left-over word from main
52360         loop inline rather than by using small_loop.  Correct comments.
52361         Delete "zero" tail, use "end_max" instead.
52362         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52364 2013-10-04  Alan Modra  <amodra@gmail.com>
52366         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52367         support.  Don't branch over align.
52368         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52369         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52370         support.  Rearrange tmp reg use to suit.  Comment.
52371         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52373 2013-10-04  Alan Modra  <amodra@gmail.com>
52375         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52377 2013-10-04  Alan Modra  <amodra@gmail.com>
52379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52380         conditional form of branch and link when obtaining pc.
52381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52383 2013-10-04  Alan Modra  <amodra@gmail.com>
52385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52386         HIWORD/LOWORD.
52387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52390 2013-10-04  Alan Modra  <amodra@gmail.com>
52392         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52393         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52394         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52395         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52396         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52397         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52398         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52399         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52400         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52401         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52403 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52404             Alistair Popple <alistair@ozlabs.au.ibm.com>
52405             Alan Modra <amodra@gmail.com>
52407         [BZ #15723]
52408         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52409         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52410         _dl_hwcap access for little-endian.
52411         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52412         destroy vmx regs when saving unaligned.
52413         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52414         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52415         destroy vmx regs when saving unaligned.
52417 2013-10-04  Alan Modra  <amodra@gmail.com>
52419         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52420         Don't use a union to pack hi/low value.
52422 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52424         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52425         for little-endian.
52426         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52427         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52428         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52429         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52430         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52432 2013-10-04  Alan Modra  <amodra@gmail.com>
52434         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52435         constants to usual value for .cst8 section, and remove redundant
52436         high address load.
52437         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52438         constant for 0x1p52.  Load little-endian words of double from
52439         correct stack offsets.
52441 2013-10-04  Alan Modra  <amodra@gmail.com>
52443         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52444         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52445         words of double from correct stack offsets.
52446         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52447         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52448         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52449         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52450         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52451         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52452         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52453         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52454         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52455         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52456         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52457         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52458         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52459         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52460         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52461         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52462         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52464 2013-10-04  Alan Modra  <amodra@gmail.com>
52466         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52467         64-bit int/double union.
52468         (_FPU_SETCW): Likewise.
52469         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52470         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52472 2013-10-04  Alan Modra  <amodra@gmail.com>
52474         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52475         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52477 2013-10-04  Alan Modra  <amodra@gmail.com>
52479         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52480         use vector int constants.
52481         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52483 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52485         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52486         array with long long.
52487         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52488         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52489         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52490         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52491         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52492         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52493         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52494         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52495         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52496         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52497         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52498         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52499         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52501 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52503         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52504         (__signbit): Likewise.  Correct for little-endian.
52505         (__signbitl): Call __signbit.
52506         (lrint): Correct for little-endian.
52507         (lrintf): Call lrint.
52509 2013-10-04  Alan Modra  <amodra@gmail.com>
52511         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52512         union 32-bit int array member with 64-bit int array.
52513         (t515, tm256): Double rather than long double.
52514         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52516 2013-10-04  Alan Modra  <amodra@gmail.com>
52518         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52519         Delete.
52520         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52521         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52522         version of math_ldbl.h.
52524 2013-10-04  Alan Modra  <amodra@gmail.com>
52526         [BZ #15734], [BZ #15735]
52527         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52528         all uses of ieee875 long double macros and unions.  Simplify test
52529         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52530         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52531         normalize after ldbl_extract_mantissa, and don't add hidden bit
52532         already handled.  Don't treat low word of ieee854 mantissa like
52533         low word of IBM long double and mask off bit when testing for
52534         zero.
52535         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52536         all uses of ieee875 long double macros and unions.  Simplify tests
52537         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52538         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52539         two1022, instead use their values.  Recognise that tests for large
52540         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52542         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52543         test for 0.0L and nan.  Correct negation.
52544         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52545         ieee875 long double macros and unions.  Correct output for large
52546         magnitude x.  Correct absolute value calculation.
52547         (__erfcl): Likewise.
52548         * math/libm-test.inc: Add tests for errors discovered in IBM long
52549         double versions of fmodl, remainderl, erfl and erfcl.
52551 2013-10-04  Alan Modra  <amodra@gmail.com>
52553         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52554         all uses of ieee854 long double macros and unions.  Simplify tests
52555         for long doubles that are fully specified by the high double.
52556         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52557         Likewise.
52558         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52559         Remove dead code too.
52560         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52561         (__ieee754_ynl): Likewise.
52562         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52563         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52564         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52565         Remove dead code too.
52566         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52567         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52568         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52569         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52570         Simplify.
52571         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52572         Simplify.
52573         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52574         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52575         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52576         Comment on variable precision.
52577         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52578         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52579         Likewise.
52580         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52581         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52582         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52583         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52584         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52586 2013-10-04  Alan Modra  <amodra@gmail.com>
52588         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52589         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52590         all uses of ieee854 long double macros and unions.
52591         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52592         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52593         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52594         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52595         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52596         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52597         Likewise.
52598         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52599         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52600         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52601         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52602         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52603         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52604         Simplify sign and nan test too.
52605         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52606         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52607         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52608         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52609         Likewise.
52610         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52611         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52612         Likewise.
52613         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52614         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52615         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52616         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52617         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52618         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52620 2013-10-04  Alan Modra  <amodra@gmail.com>
52622         * stdio-common/printf_size.c (__printf_size): Don't use
52623         union ieee854_long_double in fpnum union.
52624         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52625         signbit macro to retrieve sign from long double.
52626         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52627         retrieve sign from long double.
52628         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52629         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52630         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52631         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52632         * math/test-misc.c (main): Don't use union ieee854_long_double.
52634 2013-10-04  Alan Modra  <amodra@gmail.com>
52636         [BZ #15680]
52637         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52638         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52639         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52640         calculation.  Remove unnecessary test for denormal exponent.
52641         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52642         Correct handling of denormals.  Avoid undefined shift behaviour.
52643         Correct normalisation of low mantissa when low double is denormal.
52644         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52645         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52646         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52647         Correct normalisation of low mantissa.  Test for overflow of high
52648         mantissa and normalise.
52649         (ldbl_nearbyint): Use more readable constant for two52.
52650         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52651         (__mpn_construct_long_double): Fix test for overflow of high
52652         mantissa and correct normalisation.  Avoid undefined shift.
52654 2013-10-04  Alan Modra  <amodra@gmail.com>
52656         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52657         (union ibm_extended_long_double): Define as an array of ieee754_double.
52658         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52659         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52660         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52661         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52662         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52663         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52664         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52665         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52666         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52667         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52668         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52670 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52672         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52673         page size instead of calling getpagesize.
52675         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52676         (LOCFILE_ALIGN_MASK): Likewise.
52677         (LOCFILE_ALIGN_UP): Likewise.
52678         (LOCFILE_ALIGNED_P): Likewise.
52679         * locale/programs/ld-collate.c (collate_output): Use the new
52680         macros instead of __alignof__ (int32_t).
52681         * locale/weight.h (findidx): Likewise.
52683 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52685         [BZ #431]
52686         * manual/string.texi: Fix strncat and wcsncat.
52688 2013-10-03  Brooks Moses  <bmoses@google.com>
52690         [BZ #15915]
52691         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52692         * Makerules: ...here, and adjust associated comments.
52694 2013-10-02  Will Newton  <will.newton@linaro.org>
52696         * malloc/Makefile: Add tst-pvalloc.
52697         * malloc/tst-pvalloc.c: New file.
52699 2013-10-02  Will Newton  <will.newton@linaro.org>
52701         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52702         improve test coverage.
52704 2013-10-02  Will Newton  <will.newton@linaro.org>
52706         * malloc/Makefile: Add tst-posix_memalign.
52707         * malloc/tst-posix_memalign.c: New file.
52709 2013-10-01  Eric Blake  <eblake@redhat.com>
52711         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52712         Use __THROWNL rather than __THROW on static functions.
52714 2013-09-30  Petr Machata  <pmachata@redhat.com>
52716         * elf/elf.h (R_AARCH64_ABS16): New macro.
52717         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52718         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52719         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52720         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52721         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52722         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52723         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52724         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52725         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52726         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52727         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52728         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52729         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52730         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52731         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52732         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52733         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52734         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52735         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52736         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52737         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52738         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52739         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52740         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52741         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52742         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52743         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52744         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52745         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52746         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52747         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52748         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52749         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52750         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52751         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52752         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52753         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52754         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52755         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52756         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52757         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52758         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52759         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52760         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52761         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52762         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52763         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52764         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52765         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52766         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52767         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52768         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
52769         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
52770         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
52771         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
52772         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
52773         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
52774         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
52775         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
52776         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
52777         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
52778         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
52779         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
52780         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
52781         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
52782         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
52783         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
52784         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
52785         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
52786         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
52787         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
52788         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
52789         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
52790         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
52791         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
52792         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
52793         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
52794         (R_AARCH64_TLSDESC_LDR): Likewise.
52795         (R_AARCH64_TLSDESC_ADD): Likewise.
52796         (R_AARCH64_TLSDESC_CALL): Likewise.
52798 2013-09-30  Andreas Schwab  <schwab@suse.de>
52800         [BZ #15048]
52801         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
52802         the nss database lookup.
52803         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52806 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
52808         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
52810 2013-09-28  P. J. McDermott  <pj@pehjota.net>
52812         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
52813         ${Bash-specific parameter/pattern/string} parameter expansion.
52814         * sysdeps/unix/make-syscalls.sh: Likewise.
52816 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
52818         * sysdeps/sh/stackguard-macros.h: New file.
52820 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
52822         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
52823         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
52824         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
52825         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
52826         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52827         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
52829 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52831         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
52832         Fix thread ID register.
52834 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
52836         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
52837         [POSIX || UNIX98]: Require rather than permitting all symbols from
52838         <time.h>.
52839         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
52840         element of struct sched_param.
52841         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
52842         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
52843         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
52844         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
52845         constant.
52847 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
52849         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
52850         argument calculation.
52852 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52854         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
52855         Expect macro.
52856         [POSIX] (pthread_attr_t): Do not require type.
52857         [POSIX] (pthread_cond_t): Likewise.
52858         [POSIX] (pthread_condattr_t): Likewise.
52859         [POSIX] (pthread_key_t): Likewise.
52860         [POSIX] (pthread_mutex_t): Likewise.
52861         [POSIX] (pthread_mutexattr_t): Likewise.
52862         [POSIX] (pthread_once_t): Likewise.
52863         [POSIX] (pthread_t): Likewise.
52864         [POSIX-based standards] (pthread_atfork): Expect function.
52866 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
52867             Richard Sandiford  <richard@codesourcery.com>
52869         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
52870         (swap_endianness_p): New extern variable.
52871         (set_big_endian): New inline function.
52872         (maybe_swap_uint32): Likewise.
52873         (maybe_swap_uint32_array): Likewise.
52874         (maybe_swap_uint32_obstack): Likewise.
52875         * locale/programs/locfile.c: Include <stdbool.h>.
52876         (swap_endianness_p): New variable.
52877         (add_locale_uint32): Call maybe_swap_uint32.
52878         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
52879         (write_locale_data): Call maybe_swap_uint32_array.
52880         * locale/programs/ld-collate.c (obstack_int32_grow): Call
52881         maybe_swap_uint32.
52882         (obstack_int32_grow_fast): Likewise.
52883         (output_weightwc): Call maybe_swap_uint32_obstack.
52884         (collate_output): Likewise.
52885         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
52886         (OPT_LITTLE_ENDIAN): Likewise.
52887         (options): Add --little-endian and --big-endian options.
52888         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
52889         * locale/programs/locarchive.c: Include "locfile.h".
52890         (GET): New macro.
52891         (SET): Likewise.
52892         (INC): Likewise.
52893         (create_archive): Use the new macros to access fields of
52894         structures directly mapped from or written to locale archives.
52895         (oldlocrecentcmp): Likewise.
52896         (enlarge_archive): Likewise.
52897         (insert_name): Likewise.
52898         (add_alias): Likewise.
52899         (add_locale): Likewise.
52900         (delete_locales_from_archive): Likewise.
52901         (show_archive_content): Likewise.
52902         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
52903         locale data.
52905 2013-09-24  Roland McGrath  <roland@hack.frob.com>
52907         * manual/freemanuals.texi: Updated from (newly) canonical copy at
52908         http://www.gnu.org/doc/freemanuals.texi.
52909         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
52911 2013-09-24  Will Newton  <will.newton@linaro.org>
52913         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
52914         macro.
52916 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
52918         * locale/hashval.h (compute_hashval): Interpret bytes of key as
52919         unsigned char.
52921 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
52923         * manual/threads.texi (POSIX Threads): Fix a typo.
52925 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52927         [BZ #14547]
52928         * string/tst-strcoll-overflow.c: New test case.
52929         * string/Makefile (xtests): Add tst-strcoll-overflow.
52930         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
52931         cache if string sizes may cause integer overflow.
52933         [BZ #14547]
52934         * string/strcoll_l.c (coll_seq): New members rule, idx,
52935         save_idx and back_us.
52936         (get_next_seq_nocache): New function.
52937         (do_compare_nocache): New function.
52938         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
52939         when malloc fails.
52941 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
52943         [BZ #15754]
52944         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
52945         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
52946         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
52948         [BZ #15754]
52949         * elf/Makefile (tests): Add tst-ptrguard1.
52950         (tests-static): Add tst-ptrguard1-static.
52951         (tst-ptrguard1-ARGS): Define.
52952         (tst-ptrguard1-static-ARGS): Define.
52953         * elf/tst-ptrguard1.c: New file.
52954         * elf/tst-ptrguard1-static.c: New file.
52955         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
52956         * sysdeps/i386/stackguard-macros.h: Likewise.
52957         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52958         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52959         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52960         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52961         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52962         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52964 2013-09-23  Hector Marco  <hecmargi@upv.es>
52965             Ismael Ripoll  <iripoll@disca.upv.es>
52966             Carlos O'Donell  <carlos@redhat.com>
52968         [BZ #15754]
52969         * sysdeps/generic/stackguard-macros.h: Define
52970         __pointer_chk_guard_local and POINTER_CHK_GUARD.
52971         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
52972         Define __pointer_chk_guard_local.
52973         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
52974         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
52976 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
52978         [BZ #15859]
52979         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
52981 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
52983         * include/string.h (__ffs): Declare as hidden.
52984         * string/ffs.c (__ffs): Define as hidden.
52985         * sysdeps/i386/ffs.c (__ffs): Likewise.
52986         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
52987         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
52988         * sysdeps/s390/ffs.c (__ffs): Likewise.
52989         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
52991 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
52993         * NEWS: Mention malloc probes.
52995         * malloc/arena.c (new_heap): New memory_heap_new probe.
52996         (grow_heap): New memory_heap_more probe.
52997         (shrink_heap): New memory_heap_less probe.
52998         (heap_trim): New memory_heap_free probe.
52999         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53000         (systrim): New memory_sbrk_less probe.
53001         * manual/probes.texi: Document them.
53003         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53004         * manual/probes.texi: Document it.
53006         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53007         (__libc_realloc): Add memory_realloc_retry probe.
53008         (__libc_memalign): Add memory_memalign_retry probe.
53009         (__libc_valloc): Add memory_valloc_retry probe.
53010         (__libc_pvalloc): Add memory_pvalloc_retry probe.
53011         (__libc_calloc): Add memory_calloc_retry probe.
53012         * manual/probes.texi: Document them.
53014         * malloc/arena.c (get_free_list): Add probe
53015         memory_arena_reuse_free_list.
53016         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53017         and memory_arena_reuse.
53018         (arena_get2) [!PER_THREAD]: Likewise.
53019         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53020         memory_arena_reuse_realloc.
53021         * manual/probes.texi: Document them.
53023         * malloc/malloc.c (__libc_free): Add
53024         memory_mallopt_free_dyn_thresholds probe.
53025         (__libc_mallopt): Add multiple memory_mallopt probes.
53026         * manual/probes.texi: Document them.
53028         * malloc/malloc.c: Include stap-probe.h.
53029         (__libc_mallopt): Add memory_mallopt probe.
53030         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53031         * manual/probes.texi: New.
53032         * manual/Makefile (chapters): Add probes.
53033         * manual/threads.texi: Set next node.
53035 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
53037         [BZ #15963, #13985]
53038         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53039         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53040         Add `Chinese' to `nan' entry name.
53042 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53044         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53045         (POLYNOMIAL): Likewise.
53046         (TAYLOR_SINCOS): Likewise.
53047         (TAYLOR_SLOW): Likewise.
53048         (__sin): Use TAYLOR_SINCOS.
53049         (__cos): Likewise.
53050         (slow): Use TAYLOR_SLOW.
53051         (sloww): Likewise.
53052         (bsloww): Likewise.
53053         (csloww): Likewise.
53055 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53057         * stdlib/strtod_l.c: Fix buffer overrun.
53059 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53061         * benchtests/Makefile (bench): Add sincos.
53062         * benchtests/bench-sincos.c: New file.
53064         * math/libm-test.inc (cos_test_data): New test inputs.
53065         (sin_test_data): Likewise.
53067         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53068         macro.
53069         (__sin): Use it.
53070         (__cos): Likewise.
53071         (slow1): Likewise.
53072         (slow2): Likewise.
53073         (sloww1): Likewise.
53074         (sloww2): Likewise.
53075         (bsloww1): Likewise.
53076         (bsloww2): Likewise.
53077         (cslow2): Likewise.
53078         (csloww1): Likewise.
53079         (csloww2): Likewise.
53081         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53082         function.
53083         (__sin): Use it.
53084         (__cos): Likewise.
53086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53087         gotos.
53088         (__cos): Likewise.
53090 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
53092         * config.h.in (HAVE_MIPS_NAN2008): New macro.
53093         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53094         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53095         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53096         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53097         * elf/cache.c (print_entry): Handle the new cache flags.
53099 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53100             Aldy Hernandez  <aldyh@redhat.com>
53102         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53103         Change condition to [_SOFT_FLOAT].
53104         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53105         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53106         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53107         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53108         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53109         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53110         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53111         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53112         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53113         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53115         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53116         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53117         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53118         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53119         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53120         declaration.
53122 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53124         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53125         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53126         (__longjmp): Use LOAD_GP to load saved GPRs.
53127         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53128         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53129         (__sigsetjmp): Use SAVE_GP to save GPRs.
53131         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53132         Do not append -msoft-float.
53133         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53135 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53137         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53139 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
53141         [BZ #15966]
53142         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53143         (_FPU_GETCW): Use initial "__" on variable and field names but not
53144         on macro parameter name.
53145         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
53146         parentheses around reference to macro parameter.
53148 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
53150         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53151         prototype.
53152         (ctype_startup): Use uint32_t in cast and sizeof for
53153         ctype->charnames.
53155 2013-09-11  Jia Liu  <proljc@gmail.com>
53157         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53158         __daddr_t_defined.
53159         [__FreeBSD__]: Likewise.
53161 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
53163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53164         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53165         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53166         (strchr): Remove __strchr_sse42 ifunc selection.
53167         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53168         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53170 2013-09-11  Will Newton  <will.newton@linaro.org>
53172         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53173         parameter to RES. Remove hardcoded 1000 value.
53174         * benchtests/bench-skeleton.c (main): Pass RES parameter
53175         to TIMING_INIT and multiply result by 1000.
53177 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53179         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53181 2013-09-11  Andreas Schwab  <schwab@suse.de>
53183         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53184         if not defined.
53185         (O_TMPFILE) [__USE_GNU]: Define.
53186         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53187         Define.
53189 2013-09-11  Will Newton  <will.newton@linaro.org>
53191         [BZ #15857]
53192         * malloc/malloc.c (__libc_memalign): Check the value of bytes
53193         does not overflow.
53195 2013-09-11  Will Newton  <will.newton@linaro.org>
53197         [BZ #15856]
53198         * malloc/malloc.c (__libc_valloc): Check the value of bytes
53199         does not overflow.
53201 2013-09-11  Will Newton  <will.newton@linaro.org>
53203         [BZ #15855]
53204         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53205         does not overflow.
53207 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
53209         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53210         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53211         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53213         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53215 2013-09-10  Allan McRae  <allan@archlinux.org>
53217         [BZ #15748]
53218         * manual/arith.texi (Parsing of Floats): Clarify
53219         cross-reference.
53221         [BZ #15849]
53222         * manual/install.texi (Running make install): Mention
53223         --enable-pt-chown.
53224         * INSTALL: Regenerated.
53226 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53228         * csu/init-first.c (_init): Remove the !SHARED condition around
53229         FPU control word initialization.
53230         * elf/dl-support.c (_dl_fpu_control): New variable.
53231         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53232         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53233         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53234         * math/test-fpucw-static.c: New file.
53235         * math/test-fpucw-ieee.c: New file.
53236         * math/test-fpucw-ieee-static.c: New file.
53237         * math/Makefile (tests): Add `test-fpucw-ieee' and
53238         `$(tests-static)'.
53239         (tests-static): New variable.
53240         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53241         dependency to...
53242         [($(build-shared),yes)]
53243         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53244         ... this.
53245         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53246         New dependency.
53248 2013-09-09  Allan McRae  <allan@archlinux.org>
53250         [BZ #15939]
53251         * manual/string.texi (Collation Functions): Fix typo in
53252         strcoll example.
53253         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53255         [BZ #15893]
53256         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53258         [BZ #15892]
53259         * libio/memstream.c (open_memstream): Fix memory leak.
53260         * libio/wmemstream.c (open_wmemstream): Likewise.
53262         [BZ #15895]
53263         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53265 2013-09-09  Will Newton  <will.newton@linaro.org>
53267         * malloc/Makefile: Add tst-realloc to tests.
53268         * malloc/tst-realloc.c: New file.
53270 2013-09-09  Allan McRae  <allan@archlinux.org>
53272         [BZ #15844]
53273         * COPYING: Update from GNU website to fix FSF address.
53274         * COPYING.LIB: Likewise.
53276 2013-09-06  David S. Miller  <davem@davemloft.net>
53278         * po/zh_TW.po: Update Chinese (traditional) translation from
53279         translation project.
53281 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53282             Joseph Myers  <joseph@codesourcery.com>
53284         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53285         "localeinfo.h".
53286         (obstack_chunk_alloc): New macro.
53287         (obstack_chunk_free): Likewise.
53288         (record_offset): New function.
53289         (init_locale_data): Likewise.
53290         (align_locale_data): Likewise.
53291         (add_locale_empty): Likewise.
53292         (add_locale_raw_data): Likewise.
53293         (add_locale_raw_obstack): Likewise.
53294         (add_locale_string): Likewise.
53295         (add_locale_wstring): Likewise.
53296         (add_locale_uint32): Likewise.
53297         (add_locale_uint32_array): Likewise.
53298         (add_locale_char): Likewise.
53299         (start_locale_structure): Likewise.
53300         (end_locale_structure): Likewise.
53301         (start_locale_prelude): Likewise.
53302         (end_locale_prelude): Likewise.
53303         (write_locale_data): Take locale_file structure rather than an
53304         iovec.
53305         * locale/programs/locfile.h: Include "obstack.h".
53306         (struct locale_file): Change to store locale file contents instead
53307         of header.
53308         (init_locale_data): New prototype.
53309         (align_locale_data): Likewise.
53310         (add_locale_empty): Likewise.
53311         (add_locale_raw_data): Likewise.
53312         (add_locale_raw_obstack): Likewise.
53313         (add_locale_string): Likewise.
53314         (add_locale_wstring): Likewise.
53315         (add_locale_uint32): Likewise.
53316         (add_locale_uint32_array): Likewise.
53317         (add_locale_char): Likewise.
53318         (start_locale_structure): Likewise.
53319         (end_locale_structure): Likewise.
53320         (start_locale_prelude): Likewise.
53321         (end_locale_prelude): Likewise.
53322         (write_locale_data): Update prototype.
53323         * locale/programs/3level.h (struct TABLE): Remove result field.
53324         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53325         Use new locale_file interface.
53326         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53327         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53328         * locale/programs/ld-address.c (address_output): Use new
53329         locale_file interface.
53330         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53331         NO_ADD_LOCALE.
53332         (collate_finish): Don't call collseq_table_finalize.
53333         (collate_output): Use new locale_file interface.
53334         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53335         in file.
53336         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53337         (TABLE): Move defines earlier in file.
53338         (ELEMENT): Likewise.
53339         (DEFAULT): Likewise.
53340         (wctrans_table_add): Move macro and inline function earlier in
53341         file.
53342         (struct wctype_table): Move type earlier in file.
53343         (add_locale_wctype_table): New static prototype.
53344         (struct locale_ctype_t): Use logical types instead of struct iovec
53345         pointers for members.
53346         (ctype_output): Use new locale_file interface.
53347         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53348         new locale_file interface.
53349         (allocate_arrays): Update for use of new locale_file interface.
53350         * locale/programs/ld-identification.c (identification_output): Use
53351         new locale_file interface.
53352         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53353         * locale/programs/ld-messages.c (messages_output): Likewise.
53354         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53355         * locale/programs/ld-name.c (name_output): Likewise.
53356         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53357         * locale/programs/ld-paper.c (paper_output): Likewise.
53358         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53359         * locale/programs/ld-time.c (time_output): Likewise.
53361 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53363         * benchtests/Makefile: Add memrchr benchmark.
53364         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53365         benchmark as memrchr.
53366         * benchtests/bench-memrchr-ifunc.c: New file.
53367         * benchtests/bench-memrchr.c: New file.
53369 2013-09-06   Will Newton  <will.newton@linaro.org>
53371         * benchtests/Makefile (string-bench): Add memcpy.
53373 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53374             Cong Wang  <amwang@redhat.com>
53376         [BZ #15850]
53377         * sysdeps/unix/sysv/linux/bits/in.h
53378         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53379         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53380         before __USE_KERNEL_IPV6_DEFS uses.
53381         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53382         IPPROTO_BEETPH.
53383         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53384         sockaddr_in6, or ipv6_mreq.
53386 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53388         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53389         memory access for final bytes in some large inputs.
53390         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53392 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53394         * string/test-memrchr.c: New file.
53395         * string/test-memrchr-ifunc.c: New file.
53396         * string/Makefile: Add new memrchr testcase.
53398 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53400         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53401         fanotify_init returns EPERM.
53403 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53405         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53406         errors.
53407         (top level): Treat second token from macro or constant entries for
53408         allowed headers as allowed.
53409         * include/complex.h: Condition internal declarations on
53410         [!_ISOMAC].
53411         * include/fenv.h: Condition include of <stdbool.h> and internal
53412         declarations on [!_ISOMAC].
53414 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53416         [BZ #15923]
53417         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53419 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53421         * configure.in (--enable-versioning): Remove configure option.
53422         (libc_cv_asm_symver_directive): Remove configure test.
53423         (libc_cv_ld_version_script_option): Likewise.
53424         (VERSIONING): Remove variable and AC_SUBST.
53425         (DO_VERSIONING): Remove AC_DEFINE.
53426         * configure: Regenerated.
53427         * config.h.in (DO_VERSIONING): Remove macro.
53428         * Makerules [$(versioning) = yes]: Change conditionals to
53429         [$(build-shared) = yes].
53430         * config.make.in (versioning): Remove variable.
53431         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53432         [$(build-shared) = yes].
53433         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53434         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53435         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53436         [$(build-shared) = yes].
53437         * extra-lib.mk [$(versioning) = yes]: Likewise.
53438         * hurd/Makefile [$(versioning) = yes]: Likewise.
53439         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53440         [SHARED].
53441         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53442         [SHARED].
53443         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53444         [SHARED && !NO_HIDDEN].
53445         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53446         [SHARED].
53447         [SHARED && DO_VERSIONING]: Likewise..
53448         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53449         [$(build-shared) = yes].
53450         * manual/install.texi (--disable-versioning): Remove
53451         documentation.
53452         * INSTALL: Regenerated.
53453         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53454         to [SHARED].
53455         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53456         [$(build-shared) = yes].
53457         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53458         * sysdeps/i386/i686/multiarch/strstr-c.c
53459         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53460         [SHARED && !NO_HIDDEN].
53461         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53462         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53463         * sysdeps/powerpc/powerpc32/dl-machine.c
53464         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53465         * sysdeps/powerpc/powerpc32/sysdep.h
53466         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53467         to [SHARED && PIC && !NO_HIDDEN].
53468         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53469         conditional to [SHARED].
53471 2013-09-04   Will Newton  <will.newton@linaro.org>
53473         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53474         * benchtests/bench-string.h: Include bench-timing.h instead
53475         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53476         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53477         call to HP_TIMING_DIFF_INIT.
53478         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53479         instead of hp-timing.h macros.
53480         * benchtests/bench-memchr.c: Likewise.
53481         * benchtests/bench-memcmp.c: Likewise.
53482         * benchtests/bench-memcpy.c: Likewise.
53483         * benchtests/bench-memmem.c: Likewise.
53484         * benchtests/bench-memmove.c: Likewise.
53485         * benchtests/bench-memset.c: Likewise.
53486         * benchtests/bench-rawmemchr.c: Likewise.
53487         * benchtests/bench-strcasecmp.c: Likewise.
53488         * benchtests/bench-strcasestr.c: Likewise.
53489         * benchtests/bench-strcat.c: Likewise.
53490         * benchtests/bench-strchr.c: Likewise.
53491         * benchtests/bench-strcmp.c: Likewise.
53492         * benchtests/bench-strcpy.c: Likewise.
53493         * benchtests/bench-strcpy_chk.c: Likewise.
53494         * benchtests/bench-strlen.c: Likewise.
53495         * benchtests/bench-strncasecmp.c: Likewise.
53496         * benchtests/bench-strncat.c: Likewise.
53497         * benchtests/bench-strncmp.c: Likewise.
53498         * benchtests/bench-strncpy.c: Likewise.
53499         * benchtests/bench-strnlen.c: Likewise.
53500         * benchtests/bench-strpbrk.c: Likewise.
53501         * benchtests/bench-strrchr.c: Likewise.
53502         * benchtests/bench-strspn.c: Likewise.
53503         * benchtests/bench-strstr.c: Likewise.
53505 2013-09-04  Will Newton  <will.newton@linaro.org>
53507         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53509 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53511         [BZ #15427]
53512         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53513         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53514         * math/libm-test.inc (lgamma_test_data): Add more tests.
53515         * sysdeps/i386/fpu/libm-test-ulps: Update.
53516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53518 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53520         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53521         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53522         Add ifunc.
53523         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53524         Add strcmp-sse2-unaligned
53525         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53527 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53529         * Versions.def (libc): Add GLIBC_2.19.
53531 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53533         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53534         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53536 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53538         [BZ #14155]
53539         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53540         intermediate calculations in recurrence.
53541         (__ieee754_ynf): Likewise.
53542         * math/libm-test.inc (jn_test_data): Do not allow spurious
53543         underflow exception.  Add more tests.
53544         (yn_test_data): Add more tests.
53545         * sysdeps/i386/fpu/libm-test-ulps: Update.
53546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53548 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53550         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53552 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53554         * csu/init-first.c: Fix then/than typos.
53555         * locale/programs/ld-collate.c: Likewise.
53556         * locale/programs/linereader.h: Likewise.
53557         * manual/charset.texi: Likewise.
53558         * manual/filesys.texi: Likewise.
53559         * manual/stdio.texi: Likewise.
53560         * manual/string.texi: Likewise.
53561         * stdlib/fmtmsg.c: Likewise.
53562         * sysdeps/i386/stpncpy.S: Likewise.
53563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53564         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53565         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53566         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53568 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53570         * elf/dl-open.c: Fix typos.
53571         * iconvdata/gbbig5.c: Likewise.
53572         * iconvdata/iso-2022-jp.c: Likewise.
53573         * iconv/gconv_int.h: Likewise.
53574         * iconv/loop.c: Likewise.
53575         * nis/rpcsvc/nis.h: Likewise.
53576         * resolv/ns_name.c: Likewise.
53577         * stdio-common/vfscanf.c: Likewise.
53578         * streams/stropts.h: Likewise.
53579         * sunrpc/rpc_thread.c: Likewise.
53580         * sysdeps/i386/strpbrk.S: Likewise.
53581         * sysdeps/ieee754/k_standard.c: Likewise.
53582         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53583         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53584         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53585         * sysdeps/mach/hurd/profil.c: Likewise.
53586         * sysdeps/s390/dl-procinfo.h: Likewise.
53587         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53588         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53589         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53590         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53593 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53595         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53596         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53598 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53600         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53601         aix specific files.
53602         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53603         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53604         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53605         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53606         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53607         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53608         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53609         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53611 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53612             Roland McGrath  <roland@hack.frob.com>
53614         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53615         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53617 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53619         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53620         __executable_start symbol instead of _start.
53622 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53624         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53625         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53626         Move macros to...
53627         * sysdeps/gnu/ldsodefs.h: ... this new file.
53629         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53630         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53631         instead of ELFOSABI_LINUX.
53633         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53634         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53635         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53636         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53637         Likewise.
53638         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53639         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53640         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53641         Likewise.
53642         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53643         (ibm_extended_long_double): Add ieee_nan member.
53644         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53645         (do_test): New function.
53647         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53648         TEST_TRUNC.
53649         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53650         functions, renamed from truncdfsf_test, trunctfsf_test,
53651         trunctfdf_test.
53652         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53653         functions.
53654         (do_test): Run all these.
53656 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53658         * argp/argp-help.c: Fix typos.
53659         * argp/argp-parse.c: Likewise.
53660         * debug/backtracesyms.c: Likewise.
53661         * elf/elf.h: Likewise.
53662         * malloc/malloc.c: Likewise.
53663         * nis/nis_print.c: Likewise.
53664         * resolv/res_comp.c: Likewise.
53665         * stdlib/stdlib.h: Likewise.
53666         * sunrpc/clnt_tcp.c: Likewise.
53667         * sunrpc/clnt_udp.c: Likewise.
53668         * sunrpc/clnt_unix.c: Likewise.
53669         * sysdeps/unix/bsd/ptsname.c: Likewise.
53670         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53671         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53673         Likewise.
53674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53675         Likewise.
53676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53677         Likewise.
53678         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53680 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53682         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53683         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53685 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53687         [BZ #15897]
53688         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53689         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53690         ($(objpfx)bug-dl-leaf): New rule.
53691         ($(objpfx)bug-dl-leaf.so): Likewise.
53692         ($(objpfx)bug-dl-leaf.out): Likewise.
53693         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53694         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53695         * dlfcn/bug-dl-leaf.c: New test.
53696         * dlfcn/bug-dl-leaf-lib.c: Likewise.
53697         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53698         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53699         (dlclose): Likewise.
53700         (dlmopen): Likewise.
53702 2013-08-27  Roland McGrath  <roland@hack.frob.com>
53704         * include/netdb.h [!_ISOMAC]:
53705         Don't include <tls.h>.
53706         (h_errno, __libc_h_errno): Move declaration and macros out of
53707         [_LIBC_REENTRANT].
53709         * include/resolv.h [_RESOLV_H_]:
53710         Don't include <tls.h>.
53711         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53712         * resolv/res_libc.c: Don't include <tls.h>.
53713         (_res): Use __attribute__ ((nocommon)) in place of
53714         __attribute__ ((section (".bss"))).
53716         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53717         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53719         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53721         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53722         only under [SIOCGIFCONF && SIOCGIFNETMASK].
53724         * resolv/res_mkquery.c: Include <sys/time.h>.
53726         * inet/ifreq.c: Moved to ...
53727         * sysdeps/unix/ifreq.c: ... here.
53728         * inet/ifreq.c: New file, true stub version.
53730         * socket/sa_len.c: New file.
53731         * socket/Makefile (aux): Add it.
53732         * sysdeps/unix/sysv/linux/Makefile
53733         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53734         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53735         and #include <socket/sa_len.c>.
53736         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53737         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53739         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53740         * bits/socket.h: ... here.
53742         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53743         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53744         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53746 2013-08-27  Andreas Schwab  <schwab@suse.de>
53748         [BZ #15736]
53749         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53750         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53751         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53752         * string/test-strcasecmp.c (test_main): Run tests in several
53753         locales.
53754         * string/test-strncasecmp.c (test_main): Likewise.
53756         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53757         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53758         to __strcasecmp_nonascii and __strncasecmp_nonascii.
53759         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53760         (__strncasecmp_ssse3) [PIC]: Likewise.
53762 2013-08-26  Roland McGrath  <roland@hack.frob.com>
53764         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53766         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53767         instead of explicitly declaring xdecrypt.
53768         * nis/nss_nis/nis-publickey.c: Likewise.
53770 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53772         [BZ #15890]
53773         * nscd/aicache.c: Include res_hconf.h.
53774         (addhstaiX): Initialize res_hconf.
53776 2013-08-26  Andreas Schwab  <schwab@suse.de>
53778         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
53779         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
53781 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53783         * nscd/aicache.c (addhstaiX): Fix indentation.
53785 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
53787         * configure.ac: Quote $build_pt_chown test.
53788         * configure: Regenerated.
53790 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
53792         [BZ #15532]
53793         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
53794         * math/s_cexpf.c (__cexpf): Likewise.
53795         * math/s_cexpl.c (__cexpl): Likewise.
53796         * math/libm-test.inc (cexp_test_data): Correct expected return
53797         value for NaN + i0.  Add another test.
53799 2013-08-22  David S. Miller  <davem@davemloft.net>
53801         * po/ca.po: Update Catalan translation from translation project.
53802         * po/uk.po: Add Ukrainian translations from translation project.
53804 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
53806         [BZ #15797]
53807         * math/s_fdim.c (__fdim): Check for infinite arguments if result
53808         is infinite, not alongside NaN test.
53809         * math/s_fdimf.c (__fdimf): Likewise.
53810         * math/s_fdiml.c (__fdiml): Likewise.
53811         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
53812         errno is unchanged.
53814 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
53816         * argp/argp-help.c: Fix typos.
53817         * crypt/speeds.c: Likewise.
53818         * csu/check_fds.c: Likewise.
53819         * elf/dl-load.c: Likewise.
53820         * elf/dl-open.c: Likewise.
53821         * elf/reldep3.c: Likewise.
53822         * elf/reldep.c: Likewise.
53823         * elf/sprof.c: Likewise.
53824         * iconv/iconv_charmap.c: Likewise.
53825         * iconv/skeleton.c: Likewise.
53826         * iconv/strtab.c: Likewise.
53827         * io/lockf64.c: Likewise.
53828         * libio/libioP.h: Likewise.
53829         * resolv/gai_notify.c: Likewise.
53830         * resolv/ns_name.c: Likewise.
53831         * resolv/ns_samedomain.c: Likewise.
53832         * resolv/res_send.c: Likewise.
53833         * stdlib/random.c: Likewise.
53834         * sunrpc/rpc/xdr.h: Likewise.
53835         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
53836         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
53837         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
53838         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
53839         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
53840         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
53841         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
53842         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
53843         * sysdeps/mach/hurd/check_fds.c: Likewise.
53844         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
53845         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
53846         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
53847         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
53848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
53849         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
53850         * sysdeps/pthread/aio_notify.c: Likewise.
53851         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
53852         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
53853         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
53854         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53855         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
53857 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53859         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
53860         version if bit_Slow_SSE4_2 is set.
53861         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
53862         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
53864 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53866         [BZ #15867]
53867         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
53868         trampoline stack frame information.
53869         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
53870         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
53871         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
53872         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
53873         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
53874         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53875         (_libc_vdso_platform_setup): Initialize the signal trampolines.
53876         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
53877         sa_flags value.
53878         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
53879         interrupting a syscall and set with option SA_SIGINFO.
53881 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53883         [BZ #15531]
53884         * math/s_cproj.c (__cproj): Only return an infinity if one part of
53885         argument is infinite.
53886         * math/s_cprojf.c (__cprojf): Likewise.
53887         * math/s_cprojl.c (__cprojl): Likewise.
53888         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
53889         * math/libm-test.inc (cproj_test_data): Add more tests.
53891         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
53893         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
53894         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
53895         size.  Use __ffs to determine corresponding shift.
53897 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
53898             Roland McGrath  <roland@hack.frob.com>
53900         * Makefile (INSTALL): Remove trailing blank lines from output of
53901         makeinfo.
53903 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53905         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
53906         Align 32 bit compat elf_greg to 8 bytes.
53908 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
53910         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
53912 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53914         * string/strcoll_l.c (coll_seq): New structure.
53915         (get_next_seq_cached): New function.
53916         (get_next_seq): New function.
53917         (do_compare): New function.
53918         (STRCOLL): Use GNU style definition.  Simplify implementation
53919         by using get_next_seq, get_next_seq_cached and do_compare.
53921 2013-08-16  Florian Weimer  <fweimer@redhat.com>
53923         [BZ #14699]
53924         CVE-2013-4237
53925         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
53926         member.
53927         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
53928         member.
53929         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
53930         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
53931         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
53932         conditional.
53933         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
53934         GETDENTS_64BIT_ALIGNED.
53935         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
53936         * manual/filesys.texi (Reading/Closing Directory): Document
53937         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
53938         strongly.
53939         * manual/conf.texi (Limits for Files): Add portability note to
53940         NAME_MAX, PATH_MAX.
53941         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
53943 2013-08-13  Andreas Schwab  <schwab@suse.de>
53945         [BZ #15749]
53946         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
53947         of fabs.
53948         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
53949         LDBL_MAX_EXP >= 16384]: Add tests for it.
53951 2013-08-12  David S. Miller  <davem@davemloft.net>
53953         * version.h (RELEASE): Set to "development".
53954         (VERSION): Set to "2.18.90".
53955         * NEWS: Add 2.19 section.
53957 2013-08-03  David S. Miller  <davem@davemloft.net>
53959         * po/ko.po: Update Korean translation from translation project.
53961 2013-08-01  David S. Miller  <davem@davemloft.net>
53963         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
53964         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
53965         Bilka.
53967 2013-07-30  David S. Miller  <davem@davemloft.net>
53969         * po/fr.po: Update French translation from translation project.
53971 2013-07-28  David S. Miller  <davem@davemloft.net>
53973         * po/cs.po: Update Czech translation from translation project.
53975         * po/sv.po: Update Swedish translation from translation project.
53977 2013-07-27  David S. Miller  <davem@davemloft.net>
53979         * po/eo.po: Update Esperanto translation from translation project.
53981         * po/vi.po: Update Vietnamese translation from translation project.
53983         * po/de.po: Update German translation from translation project.
53985 2013-07-26  David S. Miller  <davem@davemloft.net>
53987         * po/bg.po: Update Bulgarian translation from translation project.
53989         * po/nl.po: Update Dutch translation from translation project.
53990         * po/pl.po: Update Polish translation from translation project.
53991         * po/ru.po: Update Russian translation from translation project.
53993 2013-07-24  David S. Miller  <davem@davemloft.net>
53995         * po/libc.pot: Update.
53997 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53999         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54000         variable page size.
54001         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54002         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54003         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54005 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54007         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54009 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54010             Andreas Schwab  <schwab@suse.de>
54011             Roland McGrath  <roland@hack.frob.com>
54012             Joseph Myers  <joseph@codesourcery.com>
54013             Carlos O'Donell  <carlos@redhat.com>
54015         [BZ #15755]
54016         * config.h.in: Define HAVE_PT_CHOWN.
54017         * config.make.in (build-pt-chown): New variable.
54018         * configure.in (--enable-pt_chown): New configure option.
54019         * configure: Regenerate.
54020         * login/Makefile: Include Makeconfig.  Build pt_chown only if
54021         build-pt-chown is enabled.
54022         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54023         pt_chown to fix pty ownership.
54024         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54025         CLOSE_ALL_FDS.
54026         * manual/install.texi (Configuring and compiling): Mention
54027         --enable-pt_chown. Add @findex for grantpt.
54028         * INSTALL: Regenerate.
54030 2013-07-20  David S. Miller  <davem@davemloft.net>
54032         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54033         difference between 32-bit and 64-bit.
54035 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
54037         [BZ #15711]
54038         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54039         Avoid system header dependency with -ffreestanding.
54040         ($(objpfx)bits/syscall%d): Likewise.
54042 2013-07-13  David S. Miller  <davem@davemloft.net>
54044         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54045         underflows from atanl/atan2l due to bug 15319.
54046         (casinh_test_data): Likewise.
54048 2013-07-07  David S. Miller  <davem@davemloft.net>
54050         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54052 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
54054         * sysdeps/i386/fpu/libm-test-ulps: Update.
54055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54057 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54059         * configure.in (--enable-lock-elision): Fix message text.
54060         * INSTALL: Regenerate.
54061         * configure: Regenerate.
54063 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54065         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54067 2013-07-03  Andreas Jaeger  <aj@suse.de>
54069         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54070         define.
54071         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54072         (ptrace_peeksiginfo_args): Add.
54073         (__ptrace_peeksiginfo_flags): Add.
54074         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54075         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54076         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54078 2013-07-03  Allan McRae  <allan@archlinux.org>
54080         * sysdeps/i386/fpu/libm-test-ulps: Update.
54082 2013-07-02  David S. Miller  <davem@davemloft.net>
54084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54086 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
54088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54090 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54092         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54095 2013-07-02  Andi Kleen <ak@linux.intel.com>
54097         * config.h.in (ENABLE_LOCK_ELISION): Add.
54098         * configure.in (--enable-lock-elision): Add option.
54099         * manual/install.texi: Document --enable lock elision.
54100         * configure: Regenerate
54101         * INSTALL: Regenerate.
54103 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54105         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54106         SSE4.2 strcasecmp for libc.a.
54107         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54109 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54111         [BZ #13304]
54112         * soft-fp/op-common.h (_FP_FMA): New macro.
54113         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54114         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
54115         (_FP_MUL_MEAT_1_imm): ... here.
54116         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
54117         (_FP_MUL_MEAT_1_wide): ... here.
54118         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
54119         (_FP_MUL_MEAT_1_hard): ... here.
54120         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54121         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
54122         (_FP_MUL_MEAT_2_wide): ... here.
54123         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
54124         (_FP_MUL_MEAT_2_wide_3mul): ... here.
54125         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
54126         (_FP_MUL_MEAT_2_gmp): ... here.
54127         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54128         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
54129         (_FP_MUL_MEAT_4_wide): ... here.
54130         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54131         (_FP_MUL_MEAT_4_gmp): ... here.
54132         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54133         (_FP_WFRACBITS_DW_S): Likewise.
54134         (_FP_WFRACXBITS_DW_S): Likewise.
54135         (_FP_HIGHBIT_DW_S): Likewise.
54136         (FP_FMA_S): Likewise.
54137         (_FP_FRAC_HIGH_DW_S): Likewise.
54138         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54139         (_FP_WFRACBITS_DW_D): Likewise.
54140         (_FP_WFRACXBITS_DW_D): Likewise.
54141         (_FP_HIGHBIT_DW_D): Likewise.
54142         (FP_FMA_D): Likewise.
54143         (_FP_FRAC_HIGH_DW_D): Likewise.
54144         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54145         (_FP_WFRACBITS_DW_E): Likewise.
54146         (_FP_WFRACXBITS_DW_E): Likewise.
54147         (_FP_HIGHBIT_DW_E): Likewise.
54148         (FP_FMA_E): Likewise.
54149         (_FP_FRAC_HIGH_DW_E): Likewise.
54150         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54151         (_FP_WFRACBITS_DW_Q): Likewise.
54152         (_FP_WFRACXBITS_DW_Q): Likewise.
54153         (_FP_HIGHBIT_DW_Q): Likewise.
54154         (FP_FMA_Q): Likewise.
54155         (_FP_FRAC_HIGH_DW_Q): Likewise.
54156         * soft-fp/fmasf4.c: New file.
54157         * soft-fp/fmadf4.c: Likewise.
54158         * soft-fp/fmatf4.c: Likewise.
54160 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54162         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54163         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54164         Silvermont.
54165         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54166         macro.
54167         (index_Slow_SSE4_2): Likewise.
54168         (index_Prefer_PMINUB_for_stringop): Likewise.
54169         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54170         bit_Slow_SSE4_2 is set.
54171         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54172         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54174 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54176         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54177         rtld_global._dl_hwcap2.
54178         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54179         POWER8.
54180         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54181         POWER8 feature descriptions defined in _dl_hwcap2.
54182         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54183         string handling for POWER8 feature bits.
54184         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54185         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54186         _dl_powerpc_cap_flags.
54187         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54188         * sysdeps/powerpc/rtld-global-offsets.sym
54189         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54190         _dl_hwcap2 in the rtld_global_ro structure.
54192 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54194         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54195         hardware capabilities in support of AT_HWCAP2.
54196         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54197         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54198         GLRO(dl_hwcap2).
54199         (_dl_show_auxv): Add support for calling _dl_procinfo to display
54200         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
54201         explicitly the unknown a_type display mechanism is used.
54202         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54203         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54204         struct member.
54205         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54206         to macro prototype for AT_HWCAP2 support.
54207         * sysdeps/i386/dl-procinfo.h: Likewise.
54208         * sysdeps/s390/dl-procinfo.h: Likewise.
54209         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54210         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
54211         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
54212         return -1 for unknown a_type display fallback.
54213         * sysdeps/sparc/dl-procinfo.h: Likewise.
54214         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54215         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54217 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
54219         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54220         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54222 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
54224         [BZ #12492]
54225         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54226         mprotect making __stack_prot writable.
54228 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54229             Joseph Myers  <joseph@codesourcery.com>
54231         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54232         as being properly aligned.
54234 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54236         * dlfcn/modstatic5.c: New file.
54237         * dlfcn/tststatic5.c: New file.
54238         * dlfcn/Makefile (tests): Add tststatic5.
54239         (tests-static): Likewise.
54240         (modules-names): Add modstatic5.
54241         (tststatic5-ENV): New variable.
54242         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54244         [BZ #15022]
54245         * elf/dl-support.c (_dl_main_map): New variable.
54246         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54247         (_dl_nns, _dl_load_adds): Set to 1.
54248         (_dl_initial_searchlist): Refer to _dl_main_map.
54249         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54250         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54251         call to _dl_get_origin.
54252         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54253         around call_map.
54254         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54255         * dlfcn/modstatic3.c: New file.
54256         * dlfcn/tststatic3.c: New file.
54257         * dlfcn/tststatic4.c: New file.
54258         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54259         (tests-static): Likewise.
54260         (modules-names): Add modstatic3.
54261         (tststatic3-ENV, tststatic4-ENV): New variables.
54262         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54263         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54265 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54267         * configure.in (CC): Require GCC version 4.4 or later.
54268         * configure: Regenerated.
54269         * manual/install.texi (Tools for Compilation): Update GCC version
54270         requirement.
54271         * INSTALL: Regenerated.
54273 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54275         [BZ #15674]
54276         * string/test-memcmp.c (check2): New.
54277         (main): Call check2.
54279         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54281 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54283         [BZ #15022]
54284         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54285         over to...
54286         (dl_open_worker) [!SHARED]: ... here.
54288 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54290         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54292 2013-06-25  Richard Henderson  <rth@redhat.com>
54294         * locale/programs/locarchive.c: Include <libc-internal.h>
54296 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54298         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54299         trailing whitespace removed.
54301 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54303         [BZ #10283]
54304         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54305         * locale/programs/locarchive.c: Include libc-mmap.h.
54306         (prepare_address_space): Take two new outputs (the mmap base and len).
54307         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54308         values.
54309         (create_archive): Declare new mmap base and len values for
54310         prepare_address_space, and store the result in ah.
54311         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54312         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54313         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54314         Declare new mmap base and len values for
54315         prepare_address_space, and store the result in new_ah.
54316         (open_archive): Declare new mmap base and len values for
54317         prepare_address_space, and store the result in ah.
54318         (close_archive): If ah->mmap_base is not NULL, use that and
54319         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54320         * sysdeps/generic/libc-mmap.h: New file.
54322 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54324         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54325         (ALIGN_UP): Likewise.
54326         (PTR_ALIGN_DOWN): Likewise.
54327         (PTR_ALIGN_UP): Likewise.
54329 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54331         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54332         entry mapped to PPC_PLATFORM_POWER8.
54333         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54334         POWER8.
54335         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54336         (_dl_string_platform): Add case for exporting platform position for
54337         POWER8.
54338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54339         search path to sysdeps/powerpc/powerpc32/power8 directory.
54340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54341         search path to sysdeps/powerpc/powerpc64/power8 directory.
54342         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54343         power7 directories.
54344         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54345         power7 directories.
54347 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54349         * INSTALL: Regenerate.
54351         * nscd/connections.c (nscd_init): Fix comment.
54353 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54355         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54357         [BZ #15667]
54358         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54359         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54361 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54363         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54364         DL_DST_REQ_STATIC.
54365         (DL_DST_REQ_STATIC): Remove macro.
54367 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54369         [BZ #7006]
54370         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54371         with a shift of 0 bits.
54373 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54375         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54376         $(tststatic-ENV).
54378 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54380         [BZ #15655]
54381         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54383 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54385         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54386         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54387         accepts -fno-tree-loop-distribute-patterns.
54388         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54389         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54390         recursive call.
54391         * string/memset.c (memset): Likewise.
54392         * string/test-memmove.c (simple_memmove): Disable loop transformation
54393         to library calls.
54394         * string/test-memset.c (simple_memset): Likewise.
54395         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54396         * benchtests/bench-memset.c (simple_memset): Likewise.
54397         * configure: Regenerated.
54399 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54401         * math/test-misc.c (main): Ignore fesetround failure when failures
54402         of subsequent rounding tests would be ignored.
54404         [BZ #15654]
54405         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54406         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54407         * math/fegetenv.c (__fegetenv): Return 0.
54408         * math/fegetexcept.c (fegetexcept): Return 0.
54409         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54410         FE_TONEAREST.
54411         * math/feholdexcpt.c (feholdexcept): Return 0.
54412         * math/fesetenv.c (__fesetenv): Return 0.
54413         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54414         argument FE_TONEAREST.
54415         * math/feupdateenv.c (__feupdateenv): Return 0.
54416         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54418 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54420         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54421         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54422         ($(objpfx)rtld-%.os rules): Use them.
54424 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54426         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54427         fields.
54429 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54431         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54432         length of target pattern, then descending length of dependency pattern.
54433         * configure.in (AWK): Require gawk 3.1.2 or newer.
54434         * manual/install.texi (Tools for Compilation): Say that we do.
54435         * configure: Regenerated.
54437         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54438         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54439         * scripts/sysd-rules.awk: ... this new script.
54440         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54441         than a glob-style pattern.
54443 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54445         * math/test-misc.c (main): Do not treat incorrectly rounded
54446         conversions as failure unless ROUNDING_TESTS passes.
54448 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54450         [BZ #15631]
54451         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54452         restore exception state around main square root computation, then
54453         check for inexactness explicitly.
54455         * math/libm-test.inc (fma_test_data): Add another test.
54457 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54459         * manual/threads.texi (Non-POSIX Extensions): New document
54460         node.  Document pthread_getattr_default_np and
54461         pthread_setattr_default_np.
54463         * Versions.def (libpthread): Add GLIBC_2.18.
54464         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54466         Likewise.
54467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54468         Likewise.
54469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54470         Likewise.
54471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54472         Likewise.
54473         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54474         Likewise.
54475         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54476         Likewise.
54477         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54478         Likewise.
54479         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54480         Likewise.
54481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54482         Likewise.
54484 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54486         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54487         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54489 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54490             H.J. Lu  <hjl.tools@gmail.com>
54492         [BZ #15627]
54493         * sysdeps/x86_64/rtld-memset.c: Remove file.
54494         * sysdeps/x86_64/rtld-memset.S: New file.
54496 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54498         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54499         (test_in_one_mode): Take arguments for whether the rounding mode
54500         is supported for each floating-point type.
54501         (do_test): Pass new arguments to test_in_one_mode using
54502         ROUNDING_TESTS.
54504 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54506         * posix/tst-waitid.c (do_test): Distinguish different instances of
54507         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54508         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54509         before entering the kernel for waitpid.
54511 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54513         * NEWS: Fix note on clock function precision.  Text by Roland
54514         McGrath.
54516 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54518         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54519         it into place only when and if the sanity check passes.
54521 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54523         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54524         output for whether conversion result is exact.  Take argument
54525         indicating whether type is IBM long double.
54526         (round_for_all): Change need_exact field to ibm_ld.
54527         * stdlib/tst-strtod-round.c (struct exactness): New type.
54528         (struct test): Change bool ld_ok field to struct exactness exact.
54529         (TEST): Update all definitions for change to field.
54530         (tests): Regenerate array contents.
54531         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54532         field value.  Check for IBM long double here.
54533         (do_test): Update calls to test_in_one_mode.
54535 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54537         [BZ #12515]
54538         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54539         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54541 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54543         [BZ #15605]
54544         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54545         generated by the compiler on loop optimizations.
54546         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54547         general definitions.
54549 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54551         * math/bug-nextafter.c: Include <math-tests.h>.
54552         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54553         the relevant type.
54554         * math/bug-nexttoward.c: Include <math-tests.h>.
54555         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54556         the relevant type.
54557         * math/test-misc.c: Include <math-tests.h>.
54558         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54559         the relevant type.
54561 2013-06-12  Andreas Jaeger  <aj@suse.de>
54563         * po/ia.po: Update Interlingua translation from translation
54564         project.
54566 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54568         * include/fenv.h: Include stdbool.h.
54569         (struct rm_ctx): New structure.
54570         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54571         Define macro.
54572         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54573         (SET_RESTORE_ROUNDF): Likewise.
54574         (SET_RESTORE_ROUNDL): Likewise.
54575         (SET_RESTORE_ROUND_NOEX): Likewise.
54576         (SET_RESTORE_ROUND_NOEXF): Likewise.
54577         (SET_RESTORE_ROUND_NOEXL): Likewise.
54578         (SET_RESTORE_ROUND_53BIT): Likewise.
54579         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54580         (libc_feresetround_noexf_ctx): Likewise.
54581         (libc_feresetround_noexl_ctx): Likewise.
54582         (libc_feholdsetround_53bit_ctx): Likewise.
54583         (libc_feresetround_53bit_ctx): Likewise.
54584         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54585         (libc_feholdexcept_setround_sse_ctx): New function.
54586         (libc_fesetenv_sse_ctx): Likewise.
54587         (libc_feupdateenv_sse_ctx): Likewise.
54588         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54589         (libc_feholdexcept_setround_387_ctx): Likewise.
54590         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54591         (libc_feholdsetround_387_prec_ctx): Likewise.
54592         (libc_feholdsetround_387_ctx): Likewise.
54593         (libc_feholdsetround_387_53bit_ctx): Likewise.
54594         (libc_feholdsetround_sse_ctx): Likewise.
54595         (libc_feresetround_sse_ctx): Likewise.
54596         (libc_feresetround_387_ctx): Likewise.
54597         (libc_feupdateenv_387_ctx): Likewise.
54598         (libc_feholdexcept_setroundf_ctx): Define macro.
54599         (libc_fesetenvf_ctx): Likewise.
54600         (libc_feupdateenvf_ctx): Likewise.
54601         (libc_feholdsetroundf_ctx): Likewise.
54602         (libc_feresetroundf_ctx): Likewise.
54603         (libc_feholdexcept_setround_ctx): Likewise.
54604         (libc_fesetenv_ctx): Likewise.
54605         (libc_feupdateenv_ctx): Likewise.
54606         (libc_feholdsetround_ctx): Likewise.
54607         (libc_feresetround_ctx): Likewise.
54608         (libc_feholdexcept_setroundl_ctx): Likewise.
54609         (libc_feupdateenvl_ctx): Likewise.
54610         (libc_feholdsetroundl_ctx): Likewise.
54611         (libc_feresetroundl_ctx): Likewise.
54612         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54613         (libc_feresetround_53bit_ctx): Likewise.
54615 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54617         * locale/iso-639.def: Convert to UTF-8.
54619 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54621         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54622         (EXCEPTION_TESTS_double): Likewise.
54623         (EXCEPTION_TESTS_long_double): Likewise.
54624         (EXCEPTION_TESTS): Likewise.
54625         * math/libm-test.inc (test_exceptions): Only test exceptions if
54626         EXCEPTION_TESTS (FLOAT).
54628 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54630         * benchtests/Makefile (string-bench): Add strcpy_chk and
54631         stpcpy_chk.
54632         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54633         * benchtests/bench-stpcpy_chk.c: New file.
54634         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54635         * benchtests/bench-strcpy_chk.c: New file.
54636         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54637         code.
54638         (do_test): Likewise.
54640 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54642         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54643         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54644         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54645         with tabs where appropriate.
54646         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54647         dl-procinfo.h.
54648         [PPC_PLATFORM_PPC440]: Likewise.
54649         [PPC_PLATFORM_PPC464]: Likewise.
54650         [PPC_PLATFORM_PPC476]: Likewise.
54651         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54652         ppc464, and ppc476 platform strings merging from ports/
54653         dl-procinfo.h.
54655 2013-06-11  Andreas Schwab  <schwab@suse.de>
54657         [BZ #14991]
54658         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54659         (from_ucs4_idx): Regenerate.
54660         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54661         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54662         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54663         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54664         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54665         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54666         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54667         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54668         from FROM_LOOP and TO_LOOP specific macros.
54669         (BODY): Handle combining characters.
54670         * iconvdata/BIG5HKSCS.irreversible: Update.
54671         * iconvdata/BIG5HKSCS.precomposed: New file.
54672         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54673         characters.
54674         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54676 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54678         * include/sys/time.h: Fix indentation and add copyright header.
54680         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54681         (do_test): Likewise.
54682         * string/test-memchr.c (do_one_test): Likewise.
54683         (do_test): Likewise.
54684         * string/test-memcmp.c (do_one_test): Likewise.
54685         (do_test): Likewise.
54686         * string/test-memcpy.c (do_one_test): Likewise.
54687         (do_test): Likewise.
54688         * string/test-memmem.c (do_one_test): Likewise.
54689         (do_test): Likewise.
54690         (do_random_tests): Likewise.
54691         * string/test-memmove.c (do_one_test): Likewise.
54692         (do_test): Likewise.
54693         * string/test-memset.c (do_one_test): Likewise.
54694         (do_test): Likewise.
54695         * string/test-rawmemchr.c (do_one_test): Likewise.
54696         (do_test): Likewise.
54697         * string/test-strcasecmp.c (do_one_test): Likewise.
54698         (do_test): Likewise.
54699         * string/test-strcasestr.c (do_one_test): Likewise.
54700         (do_test): Likewise.
54701         * string/test-strcat.c (do_one_test): Likewise.
54702         (do_test): Likewise.
54703         * string/test-strchr.c (do_one_test): Likewise.
54704         (do_test): Likewise.
54705         * string/test-strcmp.c (do_one_test): Likewise.
54706         (do_test): Likewise.
54707         * string/test-strcpy.c (do_one_test): Likewise.
54708         (do_test): Likewise.
54709         * string/test-string.h: Likewise.
54710         (test_init): Likewise.
54711         * string/test-strlen.c (do_one_test): Likewise.
54712         (do_test): Likewise.
54713         * string/test-strncasecmp.c (do_one_test): Likewise.
54714         (do_test): Likewise.
54715         * string/test-strncat.c (do_one_test): Likewise.
54716         (do_test): Likewise.
54717         * string/test-strncmp.c (do_one_test): Likewise.
54718         (do_test_limit): Likewise.
54719         (do_test): Likewise.
54720         * string/test-strncpy.c (do_one_test): Likewise.
54721         (do_test): Likewise.
54722         * string/test-strnlen.c (do_one_test): Likewise.
54723         (do_test): Likewise.
54724         * string/test-strpbrk.c (do_one_test): Likewise.
54725         (do_test): Likewise.
54726         * string/test-strrchr.c (do_one_test): Likewise.
54727         (do_test): Likewise.
54728         * string/test-strspn.c (do_one_test): Likewise.
54729         (do_test): Likewise.
54730         * string/test-strstr.c (do_one_test): Likewise.
54731         (do_test): Likewise.
54733         * benchtests/Makefile (string-bench): Add string benchmarks.
54734         * benchtests/bench-bcopy-ifunc.c: New file.
54735         * benchtests/bench-bcopy.c: New file.
54736         * benchtests/bench-bzero-ifunc.c: New file.
54737         * benchtests/bench-bzero.c: New file.
54738         * benchtests/bench-memccpy-ifunc.c: New file.
54739         * benchtests/bench-memccpy.c: New file.
54740         * benchtests/bench-memchr-ifunc.c: New file.
54741         * benchtests/bench-memchr.c: New file.
54742         * benchtests/bench-memcmp-ifunc.c: New file.
54743         * benchtests/bench-memcmp.c: New file.
54744         * benchtests/bench-memmem-ifunc.c: New file.
54745         * benchtests/bench-memmem.c: New file.
54746         * benchtests/bench-memmove-ifunc.c: New file.
54747         * benchtests/bench-memmove.c: New file.
54748         * benchtests/bench-mempcpy-ifunc.c: New file.
54749         * benchtests/bench-mempcpy.c: New file.
54750         * benchtests/bench-memset-ifunc.c: New file.
54751         * benchtests/bench-memset.c: New file.
54752         * benchtests/bench-rawmemchr-ifunc.c: New file.
54753         * benchtests/bench-rawmemchr.c: New file.
54754         * benchtests/bench-stpcpy-ifunc.c: New file.
54755         * benchtests/bench-stpcpy.c: New file.
54756         * benchtests/bench-stpncpy-ifunc.c: New file.
54757         * benchtests/bench-stpncpy.c: New file.
54758         * benchtests/bench-strcasecmp-ifunc.c: New file.
54759         * benchtests/bench-strcasecmp.c: New file.
54760         * benchtests/bench-strcasestr-ifunc.c: New file.
54761         * benchtests/bench-strcasestr.c: New file.
54762         * benchtests/bench-strcat-ifunc.c: New file.
54763         * benchtests/bench-strcat.c: New file.
54764         * benchtests/bench-strchr-ifunc.c: New file.
54765         * benchtests/bench-strchr.c: New file.
54766         * benchtests/bench-strchrnul-ifunc.c: New file.
54767         * benchtests/bench-strchrnul.c: New file.
54768         * benchtests/bench-strcmp-ifunc.c: New file.
54769         * benchtests/bench-strcmp.c: New file.
54770         * benchtests/bench-strcpy-ifunc.c: New file.
54771         * benchtests/bench-strcpy.c: New file.
54772         * benchtests/bench-strcspn-ifunc.c: New file.
54773         * benchtests/bench-strcspn.c: New file.
54774         * benchtests/bench-strlen-ifunc.c: New file.
54775         * benchtests/bench-strlen.c: New file.
54776         * benchtests/bench-strncasecmp-ifunc.c: New file.
54777         * benchtests/bench-strncasecmp.c: New file.
54778         * benchtests/bench-strncat-ifunc.c: New file.
54779         * benchtests/bench-strncat.c: New file.
54780         * benchtests/bench-strncmp-ifunc.c: New file.
54781         * benchtests/bench-strncmp.c: New file.
54782         * benchtests/bench-strncpy-ifunc.c: New file.
54783         * benchtests/bench-strncpy.c: New file.
54784         * benchtests/bench-strnlen-ifunc.c: New file.
54785         * benchtests/bench-strnlen.c: New file.
54786         * benchtests/bench-strpbrk-ifunc.c: New file.
54787         * benchtests/bench-strpbrk.c: New file.
54788         * benchtests/bench-strrchr-ifunc.c: New file.
54789         * benchtests/bench-strrchr.c: New file.
54790         * benchtests/bench-strspn-ifunc.c: New file.
54791         * benchtests/bench-strspn.c: New file.
54792         * benchtests/bench-strstr-ifunc.c: New file.
54793         * benchtests/bench-strstr.c: New file.
54795         * benchtests/Makefile: Disable parallel execution of targets.
54796         (string-bench): Add memcpy.
54797         (benchset): New variable to store a list of benchmark sets.
54798         (bench-func): Renamed from bench.
54799         (bench-set): New target.
54800         (bench): Depend on bench-func and bench-set.
54801         * benchtests/README: Add section on benchmark sets.
54802         * benchtests/bench-memcpy-ifunc.c: New file.
54803         * benchtests/bench-memcpy.c: New file.
54804         * benchtests/bench-string.h: New file.
54806 2013-06-11  Andreas Schwab  <schwab@suse.de>
54808         [BZ #15577]
54809         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
54810         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
54811         values in the triple.
54812         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
54813         terminator in the group key.
54815 2013-06-11  Andreas Jaeger  <aj@suse.de>
54817         * po/zh_TW.po: Update Chinese (traditional) translation from
54818         translation project.
54820 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54822         * include/time.h (__clock_gettime): Add libc_hidden_proto.
54823         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
54824         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
54825         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
54826         (clock_getcpuclockid): Likewise.
54827         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
54828         Add weak_alias and libc_hidden_def.
54829         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
54830         * rt/clock_gettime.c (clock_gettime): Rename to
54831         __clock_gettime.  Add weak_alias and libc_hidden_def.
54832         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
54833         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
54834         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
54835         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
54836         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
54837         Likewise.
54838         * rt/clock_settime.c (clock_settime): Rename to
54839         __clock_settime.  Add weak_alias and libc_hidden_def.
54840         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
54842 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
54844         * mach/err_boot.sub: Remove trailing whitespace.
54845         * mach/err_ipc.sub: Likewise.
54846         * mach/err_mach.sub: Likewise.
54848         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
54849         (ROUNDING_TESTS_double): Likewise.
54850         (ROUNDING_TESTS_long_double): Likewise.
54851         (ROUNDING_TESTS): Likewise.
54852         * math/libm-test.inc: Include <math-tests.h>.
54853         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
54854         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
54855         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
54856         (IF_ROUND_INIT_FE_UPWARD): Likewise.
54858 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54860         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
54861         of assigning.
54863 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
54865         * sysdeps/gnu/errlist.awk: Do not generate space at end of
54866         otherwise empty TRANS lines.
54867         * sysdeps/gnu/errlist.c: Regenerated.
54869         * catgets/gencat.c (error_print): Use (void) in function
54870         definition.
54871         * crypt/crypt_util.c (__init_des): Likewise.
54872         * crypt/speeds.c (Stop): Likewise.
54873         (main): Likewise.
54874         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
54875         * inet/ruserpass.c (token): Likewise.
54876         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
54877         * intl/localealias.c (extend_alias_table): Likewise.
54878         * intl/plural-exp.c (init_germanic_plural): Likewise.
54879         * libio/fcloseall.c (__fcloseall): Likewise.
54880         * libio/genops.c (_IO_flush_all): Likewise.
54881         (_IO_flush_all_linebuffered): Likewise.
54882         (_IO_cleanup): Likewise.
54883         (_IO_iter_begin): Likewise.
54884         (_IO_iter_end): Likewise.
54885         (_IO_list_lock): Likewise.
54886         (_IO_list_unlock): Likewise.
54887         (_IO_list_resetlock): Likewise.
54888         * libio/getchar.c (getchar): Likewise.
54889         * libio/getchar_u.c (getchar_unlocked): Likewise.
54890         * libio/getwchar.c (getwchar): Likewise.
54891         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
54892         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
54893         * login/getpt.c (__getpt): Likewise.
54894         * login/tst-utmp.c (main): Likewise.
54895         * malloc/hooks.c (__malloc_check_init): Likewise.
54896         * malloc/malloc.c (__malloc_stats): Likewise.
54897         * malloc/mtrace.c (tr_break): Likewise.
54898         (mtrace): Likewise.
54899         (muntrace): Likewise.
54900         * misc/fstab.c (endfsent): Likewise.
54901         * misc/getclktck.c (__getclktck): Likewise.
54902         * misc/getdtsz.c (__getdtablesize): Likewise.
54903         * misc/gethostid.c (gethostid): Likewise.
54904         * misc/getpagesize.c (__getpagesize): Likewise.
54905         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
54906         (__get_nprocs): Likewise.
54907         (__get_phys_pages): Likewise.
54908         (__get_avphys_pages): Likewise.
54909         * misc/getttyent.c (getttyent): Likewise.
54910         (setttyent): Likewise.
54911         (endttyent): Likewise.
54912         * misc/getusershell.c (getusershell): Likewise.
54913         (endusershell): Likewise.
54914         (setusershell): Likewise.
54915         (initshells): Likewise.
54916         * misc/hsearch.c (__hdestroy): Likewise.
54917         * misc/sync.c (sync): Likewise.
54918         * misc/syslog.c (closelog_internal): Likewise.
54919         (closelog): Likewise.
54920         * misc/ttyslot.c (ttyslot): Likewise.
54921         * misc/vhangup.c (vhangup): Likewise.
54922         * posix/fork.c (__fork): Likewise.
54923         * posix/getegid.c (__getegid): Likewise.
54924         * posix/geteuid.c (__geteuid): Likewise.
54925         * posix/getgid.c (__getgid): Likewise.
54926         * posix/getpid.c (__getpid): Likewise.
54927         * posix/getppid.c (__getppid): Likewise.
54928         * posix/getuid.c (__getuid): Likewise.
54929         * posix/pause.c (pause): Likewise.
54930         * posix/setpgrp.c (setpgrp): Likewise.
54931         * posix/setsid.c (__setsid): Likewise.
54932         * posix/test-vfork.c (noop): Likewise.
54933         * resolv/gethnamaddr.c (_endhtent): Likewise.
54934         (_gethtent): Likewise.
54935         (ht_endhostent): Likewise.
54936         (gethostent): Likewise.
54937         (dns_service): Likewise.
54938         * stdlib/drand48.c (drand48): Likewise.
54939         * stdlib/lrand48.c (lrand48): Likewise.
54940         * stdlib/mrand48.c (mrand48): Likewise.
54941         * stdlib/rand.c (rand): Likewise.
54942         * stdlib/random.c (__random): Likewise.
54943         * stdlib/setenv.c (clearenv): Likewise.
54944         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
54945         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
54946         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
54947         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
54948         (__get_nprocs): Likewise.
54949         (__get_phys_pages): Likewise.
54950         (__get_avphys_pages): Likewise.
54951         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
54952         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
54953         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
54954         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
54955         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
54956         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
54957         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
54958         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
54959         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
54960         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
54961         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
54962         * sysdeps/mach/hurd/sync.c (sync): Likewise.
54963         * sysdeps/posix/clock.c (clock): Likewise.
54964         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
54965         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
54966         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
54967         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
54968         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
54969         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
54970         (__get_nprocs_conf): Likewise.
54971         (__get_phys_pages): Likewise.
54972         (__get_avphys_pages): Likewise.
54973         * time/clock.c (clock): Likewise.
54974         * time/tzset.c (__tzname_max): Likewise.
54976 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
54978         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
54979         (__bswap_32): Do not use "register".
54980         * crypt/crypt.c (_ufc_doit_r): Likewise.
54981         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54982         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54983         * gmon/gmon.c (__monstartup): Likewise.
54984         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
54985         * hurd/hurdmalloc.c (more_memory): Likewise.
54986         (malloc): Likewise.
54987         (free): Likewise.
54988         (realloc): Likewise.
54989         (malloc_fork_prepare): Likewise.
54990         (malloc_fork_parent): Likewise.
54991         (malloc_fork_child): Likewise.
54992         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
54993         (_svcauth_des): Likewise.
54994         * inet/inet_lnaof.c (inet_lnaof): Likewise.
54995         * inet/inet_net.c (inet_network): Likewise.
54996         * inet/inet_netof.c (inet_netof): Likewise.
54997         * inet/rcmd.c (__validuser2_sa): Likewise.
54998         * io/fts.c (fts_open): Likewise.
54999         (fts_load): Likewise.
55000         (fts_close): Likewise.
55001         (fts_read): Likewise.
55002         (fts_children): Likewise.
55003         (fts_build): Likewise.
55004         (fts_stat): Likewise.
55005         (fts_sort): Likewise.
55006         (fts_alloc): Likewise.
55007         (fts_lfree): Likewise.
55008         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55009         (_IO_file_xsgetn): Likewise.
55010         (_IO_file_xsgetn_mmap): Likewise.
55011         * libio/iofopncook.c (_IO_cookie_read): Likewise.
55012         (_IO_cookie_write): Likewise.
55013         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55014         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55015         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55016         * malloc/obstack.c (_obstack_begin): Likewise.
55017         (_obstack_begin_1): Likewise.
55018         (_obstack_newchunk): Likewise.
55019         (_obstack_allocated_p): Likewise.
55020         (obstack_free): Likewise.
55021         (_obstack_memory_used): Likewise.
55022         * misc/getttyent.c (getttynam): Likewise.
55023         (getttyent): Likewise.
55024         (skip): Likewise.
55025         (value): Likewise.
55026         * misc/getusershell.c (initshells): Likewise.
55027         * misc/syslog.c (__vsyslog_chk): Likewise.
55028         * misc/ttyslot.c (ttyslot): Likewise.
55029         * nis/nis_hash.c (__nis_hash): Likewise.
55030         * posix/fnmatch_loop.c (FCT): Likewise.
55031         * posix/getconf.c (print_all): Likewise.
55032         (main): Likewise.
55033         * posix/getopt.c (exchange): Likewise.
55034         * posix/glob.c (globfree): Likewise.
55035         (prefix_array): Likewise.
55036         (__glob_pattern_type): Likewise.
55037         * resolv/arpa/nameser.h (NS_GET16): Likewise.
55038         (NS_GET32): Likewise.
55039         (NS_PUT16): Likewise.
55040         (NS_PUT32): Likewise.
55041         * resolv/gethnamaddr.c (getanswer): Likewise.
55042         (gethostbyname2): Likewise.
55043         (gethostbyaddr): Likewise.
55044         (_gethtent): Likewise.
55045         (_gethtbyname2): Likewise.
55046         (_gethtbyaddr): Likewise.
55047         * resolv/ns_print.c (dst_s_get_int16): Likewise.
55048         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55049         * resolv/res_init.c (__res_vinit): Likewise.
55050         (net_mask): Likewise.
55051         * resolv/res_mkquery.c (outchar): Likewise.
55052         (PRINT): Likewise.
55053         * stdio-common/printf_fp.c (outchar): Likewise.
55054         (PRINT): Likewise.
55055         * stdio-common/printf_fphex.c (outchar): Likewise.
55056         (PRINT): Likewise.
55057         * stdio-common/printf_size.c (outchar): Likewise.
55058         (PRINT): Likewise.
55059         * stdio-common/test_rdwr.c (main): Likewise.
55060         * stdio-common/tfformat.c (matches): Likewise.
55061         * stdio-common/vfprintf.c (outchar): Likewise.
55062         (printf_unknown): Likewise.
55063         (buffered_vfprintf): Likewise.
55064         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55065         * stdio-common/xbug.c (AppendToBuffer): Likewise.
55066         (ReadFile): Likewise.
55067         * stdlib/qsort.c (SWAP): Likewise.
55068         (_quicksort): Likewise.
55069         * stdlib/setenv.c (__add_to_environ): Likewise.
55070         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55071         * stdlib/strtol_l.c (__strtol_l): Likewise.
55072         * stdlib/tst-strtod.c (main): Likewise.
55073         * stdlib/tst-strtol.c (main): Likewise.
55074         * stdlib/tst-strtoll.c (main): Likewise.
55075         * string/bits/string2.h (__strcmp_cc): Likewise.
55076         (__strcmp_cg): Likewise.
55077         (__strcspn_c1): Likewise.
55078         (__strcspn_c2): Likewise.
55079         (__strcspn_c3): Likewise.
55080         (__strspn_c1): Likewise.
55081         (__strspn_c2): Likewise.
55082         (__strspn_c3): Likewise.
55083         (__strsep_1c): Likewise.
55084         (__strsep_2c): Likewise.
55085         (__strsep_3c): Likewise.
55086         * string/memccpy.c (__memccpy): Likewise.
55087         * string/stpcpy.c (__stpcpy): Likewise.
55088         * string/strcmp.c (strcmp): Likewise.
55089         * string/strrchr.c (strrchr): Likewise.
55090         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55091         Likewise.
55092         * sysdeps/mach/hurd/getcwd.c
55093         (_hurd_canonicalize_directory_name_internal): Likewise.
55094         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55095         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55096         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55097         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55098         Likewise, in both definitions.
55099         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55100         definitions.
55101         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55102         64] (__bswap_64): Likewise.
55103         * time/test_time.c (main): Likewise.
55104         * time/tzfile.c (__tzfile_read): Likewise.
55105         (__tzfile_compute): Likewise.
55106         * time/tzset.c (__tzset_parse_tz): Likewise.
55107         (tzset_internal): Likewise.
55108         (compute_change): Likewise.
55109         * wcsmbs/wcscat.c (__wcscat): Likewise.
55110         * wcsmbs/wcschr.c (wcschr): Likewise.
55111         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55112         * wcsmbs/wcscspn.c (wcscspn): Likewise.
55113         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55114         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55115         * wcsmbs/wcsspn.c (wcsspn): Likewise.
55116         * wcsmbs/wcsstr.c (wcsstr): Likewise.
55117         * wcsmbs/wmemchr.c (wmemchr): Likewise.
55118         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55119         * wcsmbs/wmemset.c (wmemset): Likewise.
55121 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
55123         * scripts/config.guess: Update to version 2013-05-16.
55124         * scripts/config.sub: Update to version 2013-04-24.
55125         * scripts/install-sh: Update to version 2011-11-20.07.
55126         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55127         * scripts/move-if-change: Update to version 2012-01-06 07:23.
55129 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
55131         * debug/fgetws_u_chk.c: Fix leading whitespaces.
55132         * elf/sln.c: Likewise.
55133         * hurd/hurd/ioctl.h: Likewise.
55134         * hurd/hurdmalloc.c: Likewise.
55135         * hurd/xattr.c: Likewise.
55136         * include/shlib-compat.h: Likewise.
55137         * inet/ruserpass.c: Likewise.
55138         * libio/iofgets_u.c: Likewise.
55139         * libio/iofgetws_u.c: Likewise.
55140         * locale/programs/ld-identification.c: Likewise.
55141         * locale/programs/ld-time.c: Likewise.
55142         * mach/msg-destroy.c: Likewise.
55143         * nss/nss_files/files-netgrp.c: Likewise.
55144         * resolv/res_data.c: Likewise.
55145         * soft-fp/op-1.h: Likewise.
55146         * soft-fp/op-2.h: Likewise.
55147         * soft-fp/op-4.h: Likewise.
55148         * soft-fp/op-common.h: Likewise.
55149         * stdio-common/printf_fphex.c: Likewise.
55150         * stdlib/strtod_l.c: Likewise.
55151         * sunrpc/rpc/clnt.h: Likewise.
55152         * sysdeps/generic/framestate.c: Likewise.
55153         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55154         * sysdeps/i386/bsd-setjmp.S: Likewise.
55155         * sysdeps/i386/__longjmp.S: Likewise.
55156         * sysdeps/i386/setjmp.S: Likewise.
55157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55158         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55159         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55160         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55161         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55162         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55163         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55164         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55165         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55166         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55167         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55168         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55169         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55170         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55171         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55172         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55173         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55174         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55175         * sysdeps/ieee754/support.c: Likewise.
55176         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55177         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55178         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55179         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55180         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55181         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55182         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55183         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55184         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55185         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55186         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55187         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55188         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55189         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55190         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55191         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55192         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55195 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
55197         * posix/transbug.c: Remove executable mode.
55199 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
55201         * crypt/speeds.c: Remove trailing whitespace.
55202         * dlfcn/default.c: Likewise.
55203         * elf/ifuncdep2.c: Likewise.
55204         * elf/ifuncmain1.c: Likewise.
55205         * elf/ifuncmain1vis.c: Likewise.
55206         * elf/testobj.h: Likewise.
55207         * elf/tst-stackguard1.c: Likewise.
55208         * gmon/sys/gmon.h: Likewise.
55209         * hurd/hurdmsg.c: Likewise.
55210         * hurd/new-fd.c: Likewise.
55211         * hurd/ports-get.c: Likewise.
55212         * iconvdata/ibm1008_420.c: Likewise.
55213         * inet/tst-getni1.c: Likewise.
55214         * inet/tst-getni2.c: Likewise.
55215         * libio/ioungetc.c: Likewise.
55216         * libio/wfiledoalloc.c: Likewise.
55217         * manual/libm-err-tab.pl: Likewise.
55218         * math/w_dremf.c: Likewise.
55219         * misc/ftruncate.c: Likewise.
55220         * posix/bug-glob2.c: Likewise.
55221         * posix/tst-pcre.c: Likewise.
55222         * posix/wait4.c: Likewise.
55223         * resolv/README: Likewise.
55224         * resolv/res_debug.h: Likewise.
55225         * resolv/tst-inet_ntop.c: Likewise.
55226         * setjmp/bug269-setjmp.c: Likewise.
55227         * soft-fp/extended.h: Likewise.
55228         * soft-fp/op-1.h: Likewise.
55229         * soft-fp/op-2.h: Likewise.
55230         * soft-fp/op-4.h: Likewise.
55231         * soft-fp/op-8.h: Likewise.
55232         * soft-fp/testit.c: Likewise.
55233         * stdio-common/bug16.c: Likewise.
55234         * stdlib/random.c: Likewise.
55235         * sunrpc/rpcsvc/rquota.x: Likewise.
55236         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55237         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55238         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55239         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55240         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55241         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55242         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55243         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55244         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55245         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55246         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55247         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55248         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55249         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55250         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55251         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55252         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55253         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55254         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55255         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55256         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55257         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55258         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55259         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55260         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55261         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55263         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55264         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55265         * sysdeps/ieee754/s_lib_version.c: Likewise.
55266         * sysdeps/mach/hurd/check_fds.c: Likewise.
55267         * sysdeps/mach/hurd/getsockname.c: Likewise.
55268         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55269         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55270         * sysdeps/powerpc/bits/link.h: Likewise.
55271         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55272         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55273         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55274         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55275         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55276         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55277         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55278         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55279         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55280         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55281         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55282         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55283         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55284         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55285         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55286         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55287         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55288         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55289         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55290         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55291         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55292         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55293         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55294         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55295         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55296         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55297         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55298         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55299         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55300         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55301         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55302         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55303         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55304         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55305         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55306         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55307         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55308         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55309         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55310         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55311         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55312         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55313         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55314         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55315         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55316         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55317         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55318         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55319         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55320         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55321         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55322         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55323         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55324         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55325         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55326         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55327         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55328         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55329         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55330         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55331         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55332         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55333         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55334         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55335         * sysdeps/powerpc/sysdep.h: Likewise.
55336         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55337         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55338         * sysdeps/sh/dl-trampoline.S: Likewise.
55339         * sysdeps/sh/memset.S: Likewise.
55340         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55341         * sysdeps/sh/strlen.S: Likewise.
55342         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55343         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55344         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55345         * sysdeps/sparc/sparc32/rem.S: Likewise.
55346         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55347         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55348         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55349         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55350         * sysdeps/sparc/sparc32/urem.S: Likewise.
55351         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55352         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55353         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55354         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55355         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55356         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55357         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55358         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55359         * sysdeps/unix/bsd/times.c: Likewise.
55360         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55361         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55365         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55366         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55367         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55368         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55369         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55370         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55371         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55372         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55373         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55374         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55375         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55376         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55377         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55378         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55379         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55380         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55381         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55382         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55383         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55384         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55385         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55386         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55387         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55388         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55389         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55390         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55391         * sysdeps/x86_64/strcspn.S: Likewise.
55393 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55395         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55396         generated file.  Regenerate properly from gen-translit.pl.
55397         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55398         locale/C-translit.h.
55400 2013-06-05  Andreas Schwab  <schwab@suse.de>
55402         [BZ #15100]
55403         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55404         week as 6 instead of -1.
55405         * time/tst-strptime.c (day_tests): Add test case.
55407 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55409         * sysdeps/generic/math_private.h
55410         (libc_feholdexcept_setround_53bit): Replace with
55411         libc_feholdsetround_53bit.
55412         (libc_feupdateenv_53bit): Replace with
55413         libc_feresetround_53bit.
55414         (SET_RESTORE_ROUND_53BIT): Adjust.
55416 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55418         * string/test-strchrnul.c: Add copyright header.
55420         * posix/tst-getaddrinfo4.c: Increase test timeout.
55422 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55424         [BZ #15536]
55425         * math/libm-test.inc (MAX_EXP): Remove
55426         (MIN_EXP): Define.
55427         (ulp): Use MIN_EXP - MANT_DIG.
55428         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55430 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55432         * po/be.po: Revert last change.
55433         * po/zh_CN.po: Likewise.
55434         * po/header.pot: Likewise.
55436 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55438         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55439         link-libc-deps to empty as target-specific variable.
55440         * Makerules (link-libc-args): New variable.
55441         (libc-for-link): Likewise.
55442         (link-libc-deps): Likewise.
55443         (lib%.so): Depend on $(link-libc-deps).  Link with
55444         $(link-libc-args).
55445         (build-module): Link with $(link-libc-args).
55446         (build-module-asneeded): Likewise.
55447         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55448         list of objects.
55449         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55450         target-specific variable.
55451         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55452         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55453         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55454         libc.
55455         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55456         libc and ld.so.
55457         ($(objpfx)libpcprofile.so): Likewise.
55458         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55459         libc_nonshared.a.
55460         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55461         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55462         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55463         $(link-libc-deps).
55464         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55465         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55466         * login/Makefile ($(objpfx)libutil.so): Likewise.
55467         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55468         * math/Makefile ($(objpfx)libm.so): Likewise.
55469         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55470         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55471         variable instead of depending directly on libc.
55472         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55473         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55474         $(link-libc-deps).
55475         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55476         libc.
55477         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55478         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55479         ($(objpfx)libanl.so): Likewise.
55480         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55481         ld.so.
55482         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55483         $(link-libc-deps).
55484         * sysdeps/i386/fpu/Makefile: Remove file.
55485         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55486         ($(objpfx)libm.so): Remove dependency on ld.so.
55488 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55490         [BZ # 15553]
55491         * nis/yp_xdr.c (XDRMAXNAME): Define.
55492         (XDRMAXRECORD): Define.
55493         (xdr_domainname): Use XDRMAXNAME.
55494         (xdr_mapname): Likewise.
55495         (xdr_peername): Likewise.
55496         (xdr_keydat): Use XDRMAXRECORD.
55497         (xdr_valdat): Likewise.
55499 2013-05-30  Jeff Law  <law@redhat.com>
55501         [BZ #14256]
55502         * manual/errno.texi (ESTALE): Update to account for more than
55503         just NFS file systems.
55504         * sysdeps/gnu/errlist.c: Regenerated.
55506 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55508         [BZ #15465]
55509         * elf/Makefile (tests): Add tst-null-argv.
55510         (modules-names):  Add tst-null-argv-lib.
55511         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55512         (tst-null-argv-ENV): Set environment for tst-null-argv.
55513         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55514         (RTLD_PROGNAME): New macro.
55515         * elf/tst-null-argv.c: New test case.
55516         * elf/tst-null-argv-lib.c: Library for test case.
55517         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55518         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55519         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55520         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55521         * elf/dl-init.c (call_init): Likewise.
55522         (_dl_init): Likewise.
55523         * elf/dl-load.c (print_search_path): Likewise.
55524         (_dl_map_object): Likewise.
55525         * elf/dl-lookup.c (do_lookup_x): Likewise.
55526         (add_dependency): Likewise.
55527         (_dl_lookup_symbol_x): Likewise.
55528         (_dl_debug_bindings): Likewise.
55529         * elf/dl-open.c (_dl_show_scope): Likewise.
55530         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55531         * elf/dl-version.c (match_symbol): Likewise.
55532         (_dl_check_map_versions): Likewise.
55533         * elf/rtld.c (dl_main): Likewise.
55534         (print_unresolved): Use RTLD_PROGNAME.
55535         (print_missing_version): Likewise.
55536         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55537         (elf_machine_rela): Likewise.
55538         * sysdeps/powerpc/powerpc32/dl-machine.c
55539         (__process_machine_rela): Likewise.
55540         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55541         Likewise.
55542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55543         Likewise.
55544         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55545         Likewise.
55546         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55547         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55548         Likewise.
55549         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55550         Likewise.
55551         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55553 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55555         * po/be.po: Add descriptive title.
55556         * po/zh_CN.po: Likewise.
55557         * po/header.pot: Likewise.
55559 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55561         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55562         error message.
55563         (enlarge_archive): Likewise.
55565 2013-05-28  Ben North  <ben@redfrontdoor.org>
55567         * manual/arith.texi (frexp): It is the magnitude of the return
55568         value which lies in [0.5, 1), not the return value itself.
55570 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55572         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55574 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55576         * stdio-common/bug26.c (main): Correct fscanf template.
55578         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55579         declare _dl_skip_args.
55581         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55582         Don't declare.
55584         * manual/platform.texi: Add missing @end deftypefun.
55586 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55588         [BZ #15529]
55589         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55590         bit of mantissa of 2^16382.
55591         * math/libm-test.inc (hypot_test_data): Add more tests.
55593         * math/libm-test.inc: Add drem and pow10 to list of tested
55594         functions.
55595         (pow10_test): New function.
55596         (drem_test): Likewise.
55597         (drem_test_tonearest): Likewise.
55598         (drem_test_towardzero): Likewise.
55599         (drem_test_downward): Likewise.
55600         (drem_test_upward): Likewise.
55601         (main): Call the new functions.
55603         * math/libm-test.inc (finite_test_data): Remove.
55604         (finite_test): Run tests from isfinite_test_data.
55605         (gamma_test_data): Remove.
55606         (gamma_test): Run tests from lgamma_test_data.
55607         * sysdeps/i386/fpu/libm-test-ulps: Update.
55608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55610 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55612         * manual/platform.texi: Add PowerPC PPR function set documentation.
55613         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55614         implementation.
55616 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55618         * math/libm-test.inc (MAX_EXP): Define.
55619         (ULPDIFF): Define.
55620         (ulp): New function.
55621         (check_float_internal): Use ULPDIFF.
55622         (cpow_test): Disable failing test.
55623         (check_ulp): Test ulp() implementation.
55624         (main): Call check_ulp before starting tests.
55626 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55628         * math/gen-libm-test.pl (generate_testfile): Do not handle
55629         START_DATA and END_DATA.
55630         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55631         END_DATA.
55632         (acos_tonearest_test_data): Likewise.
55633         (acos_towardzero_test_data): Likewise.
55634         (acos_downward_test_data): Likewise.
55635         (acos_upward_test_data): Likewise.
55636         (acosh_test_data): Likewise.
55637         (asin_test_data): Likewise.
55638         (asin_tonearest_test_data): Likewise.
55639         (asin_towardzero_test_data): Likewise.
55640         (asin_downward_test_data): Likewise.
55641         (asin_upward_test_data): Likewise.
55642         (asinh_test_data): Likewise.
55643         (atan_test_data): Likewise.
55644         (atanh_test_data): Likewise.
55645         (atan2_test_data): Likewise.
55646         (cabs_test_data): Likewise.
55647         (cacos_test_data): Likewise.
55648         (cacosh_test_data): Likewise.
55649         (carg_test_data): Likewise.
55650         (casin_test_data): Likewise.
55651         (casinh_test_data): Likewise.
55652         (catan_test_data): Likewise.
55653         (catanh_test_data): Likewise.
55654         (cbrt_test_data): Likewise.
55655         (ccos_test_data): Likewise.
55656         (ccosh_test_data): Likewise.
55657         (ceil_test_data): Likewise.
55658         (cexp_test_data): Likewise.
55659         (cimag_test_data): Likewise.
55660         (clog_test_data): Likewise.
55661         (clog10_test_data): Likewise.
55662         (conj_test_data): Likewise.
55663         (copysign_test_data): Likewise.
55664         (cos_test_data): Likewise.
55665         (cos_tonearest_test_data): Likewise.
55666         (cos_towardzero_test_data): Likewise.
55667         (cos_downward_test_data): Likewise.
55668         (cos_upward_test_data): Likewise.
55669         (cosh_test_data): Likewise.
55670         (cosh_tonearest_test_data): Likewise.
55671         (cosh_towardzero_test_data): Likewise.
55672         (cosh_downward_test_data): Likewise.
55673         (cosh_upward_test_data): Likewise.
55674         (cpow_test_data): Likewise.
55675         (cproj_test_data): Likewise.
55676         (creal_test_data): Likewise.
55677         (csin_test_data): Likewise.
55678         (csinh_test_data): Likewise.
55679         (csqrt_test_data): Likewise.
55680         (ctan_test_data): Likewise.
55681         (ctan_tonearest_test_data): Likewise.
55682         (ctan_towardzero_test_data): Likewise.
55683         (ctan_downward_test_data): Likewise.
55684         (ctan_upward_test_data): Likewise.
55685         (ctanh_test_data): Likewise.
55686         (ctanh_tonearest_test_data): Likewise.
55687         (ctanh_towardzero_test_data): Likewise.
55688         (ctanh_downward_test_data): Likewise.
55689         (ctanh_upward_test_data): Likewise.
55690         (erf_test_data): Likewise.
55691         (erfc_test_data): Likewise.
55692         (exp_test_data): Likewise.
55693         (exp_tonearest_test_data): Likewise.
55694         (exp_towardzero_test_data): Likewise.
55695         (exp_downward_test_data): Likewise.
55696         (exp_upward_test_data): Likewise.
55697         (exp10_test_data): Likewise.
55698         (exp2_test_data): Likewise.
55699         (expm1_test_data): Likewise.
55700         (fabs_test_data): Likewise.
55701         (fdim_test_data): Likewise.
55702         (finite_test_data): Likewise.
55703         (floor_test_data): Likewise.
55704         (fma_test_data): Likewise.
55705         (fma_towardzero_test_data): Likewise.
55706         (fma_downward_test_data): Likewise.
55707         (fma_upward_test_data): Likewise.
55708         (fmax_test_data): Likewise.
55709         (fmin_test_data): Likewise.
55710         (fmod_test_data): Likewise.
55711         (fpclassify_test_data): Likewise.
55712         (frexp_test_data): Likewise.
55713         (gamma_test_data): Likewise.
55714         (hypot_test_data): Likewise.
55715         (ilogb_test_data): Likewise.
55716         (isfinite_test_data): Likewise.
55717         (isgreater_test_data): Likewise.
55718         (isgreaterequal_test_data): Likewise.
55719         (isinf_test_data): Likewise.
55720         (isless_test_data): Likewise.
55721         (islessequal_test_data): Likewise.
55722         (islessgreater_test_data): Likewise.
55723         (isnan_test_data): Likewise.
55724         (isnormal_test_data): Likewise.
55725         (issignaling_test_data): Likewise.
55726         (isunordered_test_data): Likewise.
55727         (j0_test_data): Likewise.
55728         (j1_test_data): Likewise.
55729         (jn_test_data): Likewise.
55730         (ldexp_test_data): Likewise.
55731         (lgamma_test_data): Likewise.
55732         (lrint_test_data): Likewise.
55733         (lrint_tonearest_test_data): Likewise.
55734         (lrint_towardzero_test_data): Likewise.
55735         (lrint_downward_test_data): Likewise.
55736         (lrint_upward_test_data): Likewise.
55737         (llrint_test_data): Likewise.
55738         (llrint_tonearest_test_data): Likewise.
55739         (llrint_towardzero_test_data): Likewise.
55740         (llrint_downward_test_data): Likewise.
55741         (llrint_upward_test_data): Likewise.
55742         (log_test_data): Likewise.
55743         (log10_test_data): Likewise.
55744         (log1p_test_data): Likewise.
55745         (log2_test_data): Likewise.
55746         (logb_test_data): Likewise.
55747         (logb_downward_test_data): Likewise.
55748         (lround_test_data): Likewise.
55749         (llround_test_data): Likewise.
55750         (modf_test_data): Likewise.
55751         (nearbyint_test_data): Likewise.
55752         (nextafter_test_data): Likewise.
55753         (nexttoward_test_data): Likewise.
55754         (pow_test_data): Likewise.
55755         (pow_tonearest_test_data): Likewise.
55756         (pow_towardzero_test_data): Likewise.
55757         (pow_downward_test_data): Likewise.
55758         (pow_upward_test_data): Likewise.
55759         (remainder_test_data): Likewise.
55760         (remainder_tonearest_test_data): Likewise.
55761         (remainder_towardzero_test_data): Likewise.
55762         (remainder_downward_test_data): Likewise.
55763         (remainder_upward_test_data): Likewise.
55764         (remquo_test_data): Likewise.
55765         (rint_test_data): Likewise.
55766         (rint_tonearest_test_data): Likewise.
55767         (rint_towardzero_test_data): Likewise.
55768         (rint_downward_test_data): Likewise.
55769         (rint_upward_test_data): Likewise.
55770         (round_test_data): Likewise.
55771         (scalb_test_data): Likewise.
55772         (scalbn_test_data): Likewise.
55773         (scalbln_test_data): Likewise.
55774         (signbit_test_data): Likewise.
55775         (sin_test_data): Likewise.
55776         (sin_tonearest_test_data): Likewise.
55777         (sin_towardzero_test_data): Likewise.
55778         (sin_downward_test_data): Likewise.
55779         (sin_upward_test_data): Likewise.
55780         (sincos_test_data): Likewise.
55781         (sinh_test_data): Likewise.
55782         (sinh_tonearest_test_data): Likewise.
55783         (sinh_towardzero_test_data): Likewise.
55784         (sinh_downward_test_data): Likewise.
55785         (sinh_upward_test_data): Likewise.
55786         (sqrt_test_data): Likewise.
55787         (tan_test_data): Likewise.
55788         (tan_tonearest_test_data): Likewise.
55789         (tan_towardzero_test_data): Likewise.
55790         (tan_downward_test_data): Likewise.
55791         (tan_upward_test_data): Likewise.
55792         (tanh_test_data): Likewise.
55793         (tgamma_test_data): Likewise.
55794         (trunc_test_data): Likewise.
55795         (y0_test_data): Likewise.
55796         (y1_test_data): Likewise.
55797         (yn_test_data): Likewise.
55798         (significand_test_data): Likewise.
55800         * math/gen-libm-test.pl (@functions): Remove variable.
55801         (generate_testfile): Don't handle START and END lines.
55802         * math/libm-test.inc (START): New macro.
55803         (END): Likewise.
55804         (END_COMPLEX): Likewise.
55805         (acos_test): Use END macro without arguments.
55806         (acos_test_tonearest): Likewise.
55807         (acos_test_towardzero): Likewise.
55808         (acos_test_downward): Likewise.
55809         (acos_test_upward): Likewise.
55810         (acosh_test): Likewise.
55811         (asin_test): Likewise.
55812         (asin_test_tonearest): Likewise.
55813         (asin_test_towardzero): Likewise.
55814         (asin_test_downward): Likewise.
55815         (asin_test_upward): Likewise.
55816         (asinh_test): Likewise.
55817         (atan_test): Likewise.
55818         (atanh_test): Likewise.
55819         (atan2_test): Likewise.
55820         (cabs_test): Likewise.
55821         (cacos_test): Use END_COMPLEX macro without arguments.
55822         (cacosh_test): Likewise.
55823         (carg_test): Use END macro without arguments.
55824         (casin_test): Use END_COMPLEX macro without arguments.
55825         (casinh_test): Likewise.
55826         (catan_test): Likewise.
55827         (catanh_test): Likewise.
55828         (cbrt_test): Use END macro without arguments.
55829         (ccos_test): Use END_COMPLEX macro without arguments.
55830         (ccosh_test): Likewise.
55831         (ceil_test): Use END macro without arguments.
55832         (cexp_test): Use END_COMPLEX macro without arguments.
55833         (cimag_test): Use END macro without arguments.
55834         (clog_test): Use END_COMPLEX macro without arguments.
55835         (clog10_test): Likewise.
55836         (conj_test): Likewise.
55837         (copysign_test): Use END macro without arguments.
55838         (cos_test): Likewise.
55839         (cos_test_tonearest): Likewise.
55840         (cos_test_towardzero): Likewise.
55841         (cos_test_downward): Likewise.
55842         (cos_test_upward): Likewise.
55843         (cosh_test): Likewise.
55844         (cosh_test_tonearest): Likewise.
55845         (cosh_test_towardzero): Likewise.
55846         (cosh_test_downward): Likewise.
55847         (cosh_test_upward): Likewise.
55848         (cpow_test): Use END_COMPLEX macro without arguments.
55849         (cproj_test): Likewise.
55850         (creal_test): Use END macro without arguments.
55851         (csin_test): Use END_COMPLEX macro without arguments.
55852         (csinh_test): Likewise.
55853         (csqrt_test): Likewise.
55854         (ctan_test): Likewise.
55855         (ctan_test_tonearest): Likewise.
55856         (ctan_test_towardzero): Likewise.
55857         (ctan_test_downward): Likewise.
55858         (ctan_test_upward): Likewise.
55859         (ctanh_test): Likewise.
55860         (ctanh_test_tonearest): Likewise.
55861         (ctanh_test_towardzero): Likewise.
55862         (ctanh_test_downward): Likewise.
55863         (ctanh_test_upward): Likewise.
55864         (erf_test): Use END macro without arguments.
55865         (erfc_test): Likewise.
55866         (exp_test): Likewise.
55867         (exp_test_tonearest): Likewise.
55868         (exp_test_towardzero): Likewise.
55869         (exp_test_downward): Likewise.
55870         (exp_test_upward): Likewise.
55871         (exp10_test): Likewise.
55872         (exp2_test): Likewise.
55873         (expm1_test): Likewise.
55874         (fabs_test): Likewise.
55875         (fdim_test): Likewise.
55876         (finite_test): Likewise.
55877         (floor_test): Likewise.
55878         (fma_test): Likewise.
55879         (fma_test_towardzero): Likewise.
55880         (fma_test_downward): Likewise.
55881         (fma_test_upward): Likewise.
55882         (fmax_test): Likewise.
55883         (fmin_test): Likewise.
55884         (fmod_test): Likewise.
55885         (fpclassify_test): Likewise.
55886         (frexp_test): Likewise.
55887         (gamma_test): Likewise.
55888         (hypot_test): Likewise.
55889         (ilogb_test): Likewise.
55890         (isfinite_test): Likewise.
55891         (isgreater_test): Likewise.
55892         (isgreaterequal_test): Likewise.
55893         (isinf_test): Likewise.
55894         (isless_test): Likewise.
55895         (islessequal_test): Likewise.
55896         (islessgreater_test): Likewise.
55897         (isnan_test): Likewise.
55898         (isnormal_test): Likewise.
55899         (issignaling_test): Likewise.
55900         (isunordered_test): Likewise.
55901         (j0_test): Likewise.
55902         (j1_test): Likewise.
55903         (jn_test): Likewise.
55904         (ldexp_test): Likewise.
55905         (lgamma_test): Likewise.
55906         (lrint_test): Likewise.
55907         (lrint_test_tonearest): Likewise.
55908         (lrint_test_towardzero): Likewise.
55909         (lrint_test_downward): Likewise.
55910         (lrint_test_upward): Likewise.
55911         (llrint_test): Likewise.
55912         (llrint_test_tonearest): Likewise.
55913         (llrint_test_towardzero): Likewise.
55914         (llrint_test_downward): Likewise.
55915         (llrint_test_upward): Likewise.
55916         (log_test): Likewise.
55917         (log10_test): Likewise.
55918         (log1p_test): Likewise.
55919         (log2_test): Likewise.
55920         (logb_test): Likewise.
55921         (logb_test_downward): Likewise.
55922         (lround_test): Likewise.
55923         (llround_test): Likewise.
55924         (modf_test): Likewise.
55925         (nearbyint_test): Likewise.
55926         (nextafter_test): Likewise.
55927         (nexttoward_test): Likewise.
55928         (pow_test): Likewise.
55929         (pow_test_tonearest): Likewise.
55930         (pow_test_towardzero): Likewise.
55931         (pow_test_downward): Likewise.
55932         (pow_test_upward): Likewise.
55933         (remainder_test): Likewise.
55934         (remainder_test_tonearest): Likewise.
55935         (remainder_test_towardzero): Likewise.
55936         (remainder_test_downward): Likewise.
55937         (remainder_test_upward): Likewise.
55938         (remquo_test): Likewise.
55939         (rint_test): Likewise.
55940         (rint_test_tonearest): Likewise.
55941         (rint_test_towardzero): Likewise.
55942         (rint_test_downward): Likewise.
55943         (rint_test_upward): Likewise.
55944         (round_test): Likewise.
55945         (scalb_test): Likewise.
55946         (scalbn_test): Likewise.
55947         (scalbln_test): Likewise.
55948         (signbit_test): Likewise.
55949         (sin_test): Likewise.
55950         (sin_test_tonearest): Likewise.
55951         (sin_test_towardzero): Likewise.
55952         (sin_test_downward): Likewise.
55953         (sin_test_upward): Likewise.
55954         (sincos_test): Likewise.
55955         (sinh_test): Likewise.
55956         (sinh_test_tonearest): Likewise.
55957         (sinh_test_towardzero): Likewise.
55958         (sinh_test_downward): Likewise.
55959         (sinh_test_upward): Likewise.
55960         (sqrt_test): Likewise.
55961         (tan_test): Likewise.
55962         (tan_test_tonearest): Likewise.
55963         (tan_test_towardzero): Likewise.
55964         (tan_test_downward): Likewise.
55965         (tan_test_upward): Likewise.
55966         (tanh_test): Likewise.
55967         (tgamma_test): Likewise.
55968         (trunc_test): Likewise.
55969         (y0_test): Likewise.
55970         (y1_test): Likewise.
55971         (yn_test): Likewise.
55972         (significand_test): Likewise.
55974 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
55976         [BZ #15381]
55977         * libio/genops.c (_IO_no_init): Initialize wide struct info.
55979 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
55981         [BZ #14894]
55982         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
55983         __ppc_mdoio and __ppc_mdoom.
55984         * manual/platform.texi: Document new functions __ppc_yield,
55985         __ppc_mdoio and __ppc_mdoom.
55987 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
55989         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
55990         (main): Mention "tls" pseudo-hwcap is legacy.
55991         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
55993 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
55995         * math/gen-libm-test.pl (parse_args): Output only string of
55996         arguments as text for test name, not full call or descriptions of
55997         tests for extra outputs.
55998         (generate_testfile): Do not pass function name to parse_args.
55999         Generate this_func variable from START.
56000         * math/libm-test.inc (struct test_f_f_data): Rename test_name
56001         field to arg_str.
56002         (struct test_ff_f_data): Likewise.
56003         (test_ff_f_data_nexttoward): Likewise.
56004         (struct test_fi_f_data): Likewise.
56005         (struct test_fl_f_data): Likewise.
56006         (struct test_if_f_data): Likewise.
56007         (struct test_fff_f_data): Likewise.
56008         (struct test_c_f_data): Likewise.
56009         (struct test_f_f1_data): Likewise.  Remove field extra_name.
56010         (struct test_fF_f1_data): Likewise.
56011         (struct test_ffI_f1_data): Likewise.
56012         (struct test_c_c_data): Rename test_name field to arg_str.
56013         (struct test_cc_c_data): Likewise.
56014         (struct test_f_i_data): Likewise.
56015         (struct test_ff_i_data): Likewise.
56016         (struct test_f_l_data): Likewise.
56017         (struct test_f_L_data): Likewise.
56018         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
56019         and extra2_name.
56020         (COMMON_TEST_SETUP): New macro.
56021         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56022         (COMMON_TEST_CLEANUP): Likewise.
56023         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56024         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
56025         macros.
56026         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56027         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
56028         macros.
56029         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56030         (RUN_TEST_fff_f): Take argument string.  Call new setup and
56031         cleanup macros.
56032         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56033         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
56034         macros.
56035         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56036         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
56037         macros.
56038         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56039         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
56040         cleanup macros.
56041         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56042         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
56043         cleanup macros.
56044         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56045         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
56046         cleanup macros.
56047         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56048         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
56049         macros.
56050         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56051         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
56052         macros.
56053         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56054         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
56055         macros.
56056         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56057         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
56058         cleanup macros.
56059         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56060         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
56061         cleanup macros.
56062         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56063         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
56064         macros.
56065         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56066         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
56067         cleanup macros.
56068         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56069         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
56070         macros.
56071         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56072         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
56073         macros.
56074         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56075         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
56076         cleanup macros.
56077         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56079 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
56081         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56082         to _sifields.sigfault.
56083         (si_addr_lsb): Define new macro.
56084         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56085         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56086         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56088 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
56090         [BZ #15441]
56091         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56092         returns -1.
56093         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56094         null return -1.
56095         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56096         loading the domain.
56098 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56100         * math/gen-libm-test.pl (parse_args): Do not include expected
56101         result in test name.
56102         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56103         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56104         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56105         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56106         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56109 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56111         * benchtests/Makefile: Sort function entries.
56113         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56114         tanh, asinh, acosh, atanh.
56115         * benchtests/acos-inputs: New file.
56116         * benchtests/acosh-inputs: New file.
56117         * benchtests/asin-inputs: New file.
56118         * benchtests/asinh-inputs: New file.
56119         * benchtests/atanh-inputs: New file.
56120         * benchtests/cosh-inputs: New file.
56121         * benchtests/log-inputs: New file.
56122         * benchtests/sinh-inputs: New file.
56123         * benchtests/tanh-inputs: New file.
56125 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
56127         [BZ #15339]
56128         * posix/tst-getaddrinfo4.c: New test.
56129         * posix/Makefile (tests): Add it.
56131 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56133         [BZ #15339]
56134         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56135         when no services were used.
56136         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56137         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56139 2013-05-21  Andreas Schwab  <schwab@suse.de>
56141         [BZ #15014]
56142         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56143         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56144         successful.
56145         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56146         redundant variable declarations and reallocation of buffer when
56147         parsing as IPv6 address.  Always set NSS status when called from
56148         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
56149         buffer too small.  Correct computation of needed size.
56150         * nss/Makefile (tests): Add test-digits-dots.
56151         * nss/test-digits-dots.c: New test.
56153 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56155         * benchtests/Makefile: Remove instructions for adding
56156         benchmark tests.
56157         * benchtests/README: New file to explain how to execute and
56158         enhance the benchmark tests.
56160 2013-05-21  Andreas Schwab  <schwab@suse.de>
56162         [BZ #15493]
56163         * setjmp/Makefile (tests): Add tst-sigsetjmp.
56164         * setjmp/tst-sigsetjmp.c: New test.
56166 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56168         * sysdeps/x86_64/memset.S (memset): New implementation.
56169         (__bzero): Likewise.
56170         (__memset_tail): New function.
56172 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56174         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56175         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56176         __memcpy_sse2_unaligned ifunc selection.
56177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56178         Add memcpy-sse2-unaligned.S.
56179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56180         Add: __memcpy_sse2_unaligned.
56182 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
56184         [BZ #15490]
56185         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56186         math_force_eval before restoring floating-point envrionment.
56187         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56188         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56189         Likewise.
56190         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56191         <math_private.h>.
56192         (__nearbyintl): Use math_force_eval before restoring
56193         floating-point environment.
56194         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56196         * math/gen-libm-test.pl (special_functions): Remove.
56197         (parse_args): Don't handle TEST_extra.  Handle functions with no
56198         return value.
56199         * math/libm-test.inc (struct test_sincos_data): Replace with
56200         struct test_fFF_11_data.
56201         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56202         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56203         (sincos_test_data): Change element type to struct
56204         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
56205         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56206         RUN_TEST_LOOP_sincos.
56207         * math/README.libm-test: Don't mention special handling of
56208         individual functions.
56209         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56210         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56211         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56212         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56213         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56216         * math/gen-libm-test.pl (get_variable): Remove function.
56217         (parse_args): Don't show pointer parameters to call in test
56218         names.  Use "extra output N" in test names for extra outputs
56219         rather than naming variables.
56221 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
56223         [BZ #15488]
56224         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56225         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56226         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56227         double tests.
56228         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56229         disable.
56230         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56231         check_long_double.
56233         * math/gen-libm-test.pl (@tests): Remove variable.
56234         ($count): Likewise.
56235         (new_test): Remove function.
56236         (show_exceptions): New function.
56237         (special_functions): Use show_exceptions instead of new_test.
56238         (parse_args): Likewise.
56239         (generate_testfile): Pass only function name in generated call to
56240         print_max_error or print_complex_max_error.
56241         (get_ulps): Do not handle complex tests specially.
56242         (output_test): Rename to ...
56243         (get_all_ulps_for_test): ... this.  Return a string rather than
56244         printing to a file.  Require ulps to be present.
56245         (output_ulps): Generate arrays rather than #defines.
56246         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56247         (struct ulp_data): New type.
56248         (BUILD_COMPLEX_ULP): Remove macro.
56249         (compare_ulp_data): New function.
56250         (find_ulps): Likewise.
56251         (find_test_ulps): Likewise.
56252         (find_function_ulps): Likewise.
56253         (find_complex_function_ulps): Likewise.
56254         (print_max_error): Determine allowed ulps using
56255         find_function_ulps.
56256         (print_complex_max_error): Determine allowed ulps using
56257         find_complex_function_ulps.
56258         (check_float_internal): Determine max ulps using find_test_ulps.
56259         (check_float): Do not take max_ulp parameter.  Update call to
56260         check_float_internal.
56261         (check_complex): Likewise.
56262         (check_int): Do not take max_ulp parameter.
56263         (check_long): Likewise.
56264         (check_bool): Likewise.
56265         (check_longlong): Likewise.
56266         (struct test_f_f_data): Remove max_ulp field.
56267         (struct test_ff_f_data): Likewise.
56268         (struct test_ff_f_data_nexttoward): Likewise.
56269         (struct test_fi_f_data): Likewise.
56270         (struct test_fl_f_data): Likewise.
56271         (struct test_if_f_data): Likewise.
56272         (struct test_fff_f_data): Likewise.
56273         (struct test_c_f_data): Likewise.
56274         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56275         (struct test_fF_f1_data): Likewise.
56276         (struct test_ffI_f1_data): Likewise.
56277         (struct test_c_c_data): Remove max_ulp field.
56278         (struct test_cc_c_data): Likewise.
56279         (struct test_f_i_data): Likewise.
56280         (struct test_ff_i_data): Likewise.
56281         (struct test_f_l_data): Likewise.
56282         (struct test_f_L_data): Likewise.
56283         (struct test_sincos_data): Likewise.
56284         (RUN_TEST_f_f): Do not handle ulps.
56285         (RUN_TEST_LOOP_f_f): Likewise.
56286         (RUN_TEST_2_f): Likewise.
56287         (RUN_TEST_LOOP_2_f): Likewise.
56288         (RUN_TEST_fff_f): Likewise.
56289         (RUN_TEST_LOOP_fff_f): Likewise.
56290         (RUN_TEST_c_f): Likewise.
56291         (RUN_TEST_LOOP_c_f): Likewise.
56292         (RUN_TEST_f_f1): Likewise.
56293         (RUN_TEST_LOOP_f_f1): Likewise.
56294         (RUN_TEST_fF_f1): Likewise.
56295         (RUN_TEST_LOOP_fF_f1): Likewise.
56296         (RUN_TEST_fI_f1): Likewise.
56297         (RUN_TEST_LOOP_fI_f1): Likewise.
56298         (RUN_TEST_ffI_f1): Likewise.
56299         (RUN_TEST_LOOP_ffI_f1): Likewise.
56300         (RUN_TEST_c_c): Likewise.
56301         (RUN_TEST_LOOP_c_c): Likewise.
56302         (RUN_TEST_cc_c): Likewise.
56303         (RUN_TEST_LOOP_cc_c): Likewise.
56304         (RUN_TEST_f_i): Likewise.
56305         (RUN_TEST_LOOP_f_i): Likewise.
56306         (RUN_TEST_f_i_tg): Likewise.
56307         (RUN_TEST_LOOP_f_i_tg): Likewise.
56308         (RUN_TEST_ff_i_tg): Likewise.
56309         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56310         (RUN_TEST_f_b): Likewise.
56311         (RUN_TEST_LOOP_f_b): Likewise.
56312         (RUN_TEST_f_b_tg): Likewise.
56313         (RUN_TEST_LOOP_f_b_tg): Likewise.
56314         (RUN_TEST_f_l): Likewise.
56315         (RUN_TEST_LOOP_f_l): Likewise.
56316         (RUN_TEST_f_L): Likewise.
56317         (RUN_TEST_LOOP_f_L): Likewise.
56318         (RUN_TEST_sincos): Likewise.
56319         (RUN_TEST_LOOP_sincos): Likewise.
56321 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56323         [BZ #15480]
56324         [BZ #15485]
56325         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56326         main case of finite arguments, set rounding mode to FE_TONEAREST
56327         and discard exceptions.
56328         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56329         exceptions.
56330         (remainder_tonearest_test_data): New variable.
56331         (remainder_test_tonearest): New function.
56332         (remainder_towardzero_test_data): New variable.
56333         (remainder_test_towardzero): New function.
56334         (remainder_downward_test_data): New variable.
56335         (remainder_test_downward): New function.
56336         (remainder_upward_test_data): New variable.
56337         (remainder_test_upward): New function.
56338         (main): Call the new test functions.
56340         * math/libm-test.inc (struct test_f_f1_data): Remove field
56341         extra_init.
56342         (struct test_fF_f1_data): Likewise.
56343         (struct test_ffI_f1_data): Likewise.
56344         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56345         based on value of EXTRA_EXPECTED.
56346         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56347         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56348         EXTRA_VAR based on value of EXTRA_EXPECTED.
56349         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56350         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56351         EXTRA_VAR based on value of EXTRA_EXPECTED.
56352         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56353         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56354         EXTRA_VAR based on value of EXTRA_EXPECTED.
56355         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56356         * math/gen-libm-test.pl (parse_args): Don't output initializers
56357         for extra output values.
56359         * math/libm-test.inc (check_int): Expect result to be exactly
56360         equal to expected value and do not handle ulps.
56361         (check_long): Likewise.
56362         (check_longlong): Likewise.
56364         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56365         exceptions.
56366         (cimag_test_data): Likewise.
56367         (conj_test_data): Likewise.
56368         (copysign_test_data): Likewise.
56369         (cproj_test_data): Likewise.
56370         (creal_test_data): Likewise.
56371         (fabs_test_data): Likewise.
56372         (fdim_test_data): Likewise.
56373         (finite_test_data): Likewise.
56374         (floor_test_data): Likewise.
56375         (fmax_test_data): Likewise.
56376         (fmin_test_data): Likewise.
56377         (fmod_test_data): Likewise.
56378         (fpclassify_test_data): Likewise.
56379         (frexp_test_data): Likewise.
56380         (ilogb_test_data): Likewise.
56381         (isfinite_test_data): Likewise.
56382         (isgreater_test_data): Likewise.
56383         (isgreaterequal_test_data): Likewise.
56384         (isinf_test_data): Likewise.
56385         (isless_test_data): Likewise.
56386         (islessequal_test_data): Likewise.
56387         (islessgreater_test_data): Likewise.
56388         (isnan_test_data): Likewise.
56389         (isnormal_test_data): Likewise.
56390         (issignaling_test_data): Likewise.
56391         (isunordered_test_data): Likewise.
56392         (ldexp_test_data): Likewise.
56393         (lrint_test_data): Likewise.
56394         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56395         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56396         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56397         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56398         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56399         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56400         test input.
56401         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56402         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56403         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56404         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56405         that test input.
56406         (lrint_downward_test_data): Test for "inexact" exceptions.
56407         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56408         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56409         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56410         test input.
56411         (lrint_upward_test_data): Test for "inexact" exceptions.
56412         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56413         test input.
56414         (llrint_test_data): Test for "inexact" exceptions.
56415         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56416         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56417         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56418         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56419         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56420         (llrint_downward_test_data): Test for "inexact" exceptions.
56421         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56422         (llrint_upward_test_data): Test for "inexact" exceptions.
56423         (logb_test_data): Likewise.
56424         (logb_downward_test_data): Likewise.
56425         (nextafter_test_data): Likewise.
56426         (nexttoward_test_data): Likewise.
56427         (remainder_test_data): Likewise.
56428         (remquo_test_data): Likewise.
56429         (scalbn_test_data): Likewise.
56430         (scalbln_test_data): Likewise.
56431         (signbit_test_data): Likewise.
56432         (sqrt_test_data): Likewise.
56433         (significand_test_data): Likewise.
56435 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56437         [BZ #15424]
56438         * benchtests/bench-modf.c (struct args): Mark arg0 as
56439         volatile.
56440         * scripts/bench.pl: Mark members of struct args as volatile.
56442 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56444         [BZ # 15497]
56445         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56446         negative infinity on POWER6 or lower.
56447         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56449 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56451         [BZ #15442]
56452         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56453         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56454         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56455         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56456         (_FP_SETQNAN): New macro.
56457         (_FP_SETQNAN_SEMIRAW): Likewise.
56458         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56459         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56460         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56461         (FP_EXTEND): Use _FP_FRAC_SNANP.
56462         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56463         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56464         into account.
56465         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56466         New macro.
56467         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56468         Likewise.
56470 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56472         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56473         with DIVIDE_BY_ZERO_EXCEPTION.
56474         (gamma_test_data): Likewise.
56475         (lgamma_test_data): Likewise.
56476         (log_test_data): Likewise.
56477         (log10_test_data): Likewise.
56478         (log2_test_data): Likewise.
56479         (tgamma_test_data): Likewise.
56481         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56482         (acos_test_tonearest): Likewise.
56483         (acos_test_towardzero): Likewise.
56484         (acos_test_downward): Likewise.
56485         (acos_test_upward): Likewise.
56486         (acosh_test): Likewise.
56487         (asin_test): Likewise.
56488         (asin_test_tonearest): Likewise.
56489         (asin_test_towardzero): Likewise.
56490         (asin_test_downward): Likewise.
56491         (asin_test_upward): Likewise.
56492         (asinh_test): Likewise.
56493         (atan_test): Likewise.
56494         (atanh_test): Likewise.
56495         (atan2_test): Likewise.
56496         (cabs_test): Likewise.
56497         (cacos_test): Likewise.
56498         (cacosh_test): Likewise.
56499         (casin_test): Likewise.
56500         (casinh_test): Likewise.
56501         (catan_test): Likewise.
56502         (catanh_test): Likewise.
56503         (cbrt_test): Likewise.
56504         (ccos_test): Likewise.
56505         (ccosh_test): Likewise.
56506         (cexp_test): Likewise.
56507         (clog_test): Likewise.
56508         (clog10_test): Likewise.
56509         (cos_test): Likewise.
56510         (cos_test_tonearest): Likewise.
56511         (cos_test_towardzero): Likewise.
56512         (cos_test_downward): Likewise.
56513         (cos_test_upward): Likewise.
56514         (cosh_test): Likewise.
56515         (cosh_test_tonearest): Likewise.
56516         (cosh_test_towardzero): Likewise.
56517         (cosh_test_downward): Likewise.
56518         (cosh_test_upward): Likewise.
56519         (cpow_test): Likewise.
56520         (csin_test): Likewise.
56521         (csinh_test): Likewise.
56522         (csqrt_test): Likewise.
56523         (ctan_test): Likewise.
56524         (ctan_test_tonearest): Likewise.
56525         (ctan_test_towardzero): Likewise.
56526         (ctan_test_downward): Likewise.
56527         (ctan_test_upward): Likewise.
56528         (ctanh_test): Likewise.
56529         (ctanh_test_tonearest): Likewise.
56530         (ctanh_test_towardzero): Likewise.
56531         (ctanh_test_downward): Likewise.
56532         (ctanh_test_upward): Likewise.
56533         (erf_test): Likewise.
56534         (erfc_test): Likewise.
56535         (exp_test): Likewise.
56536         (exp_test_tonearest): Likewise.
56537         (exp_test_towardzero): Likewise.
56538         (exp_test_downward): Likewise.
56539         (exp_test_upward): Likewise.
56540         (exp10_test): Likewise.
56541         (exp2_test): Likewise.
56542         (expm1_test): Likewise.
56543         (fmod_test): Likewise.
56544         (gamma_test): Likewise.
56545         (hypot_test): Likewise.
56546         (j0_test): Likewise.
56547         (j1_test): Likewise.
56548         (jn_test): Likewise.
56549         (lgamma_test): Likewise.
56550         (log_test): Likewise.
56551         (log10_test): Likewise.
56552         (log1p_test): Likewise.
56553         (log2_test): Likewise.
56554         (logb_test_downward): Likewise.
56555         (pow_test): Likewise.
56556         (pow_test_tonearest): Likewise.
56557         (pow_test_towardzero): Likewise.
56558         (pow_test_downward): Likewise.
56559         (pow_test_upward): Likewise.
56560         (remainder_test): Likewise.
56561         (remquo_test): Likewise.
56562         (sin_test): Likewise.
56563         (sin_test_tonearest): Likewise.
56564         (sin_test_towardzero): Likewise.
56565         (sin_test_downward): Likewise.
56566         (sin_test_upward): Likewise.
56567         (sincos_test): Likewise.
56568         (sinh_test): Likewise.
56569         (sinh_test_tonearest): Likewise.
56570         (sinh_test_towardzero): Likewise.
56571         (sinh_test_downward): Likewise.
56572         (sinh_test_upward): Likewise.
56573         (sqrt_test): Likewise.
56574         (tan_test): Likewise.
56575         (tan_test_tonearest): Likewise.
56576         (tan_test_towardzero): Likewise.
56577         (tan_test_downward): Likewise.
56578         (tan_test_upward): Likewise.
56579         (tanh_test): Likewise.
56580         (tgamma_test): Likewise.
56581         (y0_test): Likewise.
56582         (y1_test): Likewise.
56583         (yn_test): Likewise.
56585         * math/gen-libm-test.pl (adjust_arg): Remove function.
56586         (special_function): Remove argument $in_func.  Only handle
56587         generating output for tables of tests, not inside functions.
56588         (parse_args): Likewise.
56589         (generate_testfile): Remove variable $in_func.  Update call to
56590         parse_args.
56591         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56592         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56593         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56594         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56595         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56596         (MAX_VALUE_INIT): Rename macro to max_value.
56597         (MIN_VALUE_INIT): Rename macro to min_value.
56598         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56599         (plus_zero): Remove variable.
56600         (minus_zero): Likewise.
56601         (plus_infty): Likewise.
56602         (minus_infty): Likewise.
56603         (qnan_value): Likewise.
56604         (max_value): Likewise.
56605         (min_value): Likewise.
56606         (min_subnorm_value): Likewise.
56608 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56610         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56611         uint64_t or uint32_t usage.
56612         * crypt/sha256-block.c: Likewise.
56613         * crypt/sha256-crypt.c: Likewise.
56614         * crypt/sha256.c: Likewise.
56615         * crypt/sha512-block.c: Likewise.
56616         * crypt/sha512-crypt.c: Likewise.
56617         * crypt/sha512.c: Likewise.
56618         * debug/backtrace-tst.c: Likewise.
56619         * debug/pcprofiledump.c: Likewise.
56620         * elf/cache.c: Likewise.
56621         * elf/dl-cache.c: Likewise.
56622         * elf/dl-misc.c: Likewise.
56623         * elf/dl-profile.c: Likewise.
56624         * elf/dl-support.c: Likewise.
56625         * elf/ldconfig.c: Likewise.
56626         * elf/sprof.c: Likewise.
56627         * iconv/dummy-repertoire.c: Likewise.
56628         * iconv/iconv_charmap.c: Likewise.
56629         * iconv/skeleton.c: Likewise.
56630         * iconvdata/8bit-generic.c: Likewise.
56631         * iconvdata/cp737.h: Likewise.
56632         * iconvdata/cp775.h: Likewise.
56633         * iconvdata/ibm1008.h: Likewise.
56634         * iconvdata/ibm1025.h: Likewise.
56635         * iconvdata/ibm1046.h: Likewise.
56636         * iconvdata/ibm1097.h: Likewise.
56637         * iconvdata/ibm1112.h: Likewise.
56638         * iconvdata/ibm1122.h: Likewise.
56639         * iconvdata/ibm1123.h: Likewise.
56640         * iconvdata/ibm1124.h: Likewise.
56641         * iconvdata/ibm1129.h: Likewise.
56642         * iconvdata/ibm1130.h: Likewise.
56643         * iconvdata/ibm1132.h: Likewise.
56644         * iconvdata/ibm1133.h: Likewise.
56645         * iconvdata/ibm1137.h: Likewise.
56646         * iconvdata/ibm1140.h: Likewise.
56647         * iconvdata/ibm1141.h: Likewise.
56648         * iconvdata/ibm1142.h: Likewise.
56649         * iconvdata/ibm1143.h: Likewise.
56650         * iconvdata/ibm1144.h: Likewise.
56651         * iconvdata/ibm1145.h: Likewise.
56652         * iconvdata/ibm1146.h: Likewise.
56653         * iconvdata/ibm1147.h: Likewise.
56654         * iconvdata/ibm1148.h: Likewise.
56655         * iconvdata/ibm1149.h: Likewise.
56656         * iconvdata/ibm1153.h: Likewise.
56657         * iconvdata/ibm1154.h: Likewise.
56658         * iconvdata/ibm1155.h: Likewise.
56659         * iconvdata/ibm1156.h: Likewise.
56660         * iconvdata/ibm1157.h: Likewise.
56661         * iconvdata/ibm1158.h: Likewise.
56662         * iconvdata/ibm1160.h: Likewise.
56663         * iconvdata/ibm1161.h: Likewise.
56664         * iconvdata/ibm1162.h: Likewise.
56665         * iconvdata/ibm1163.h: Likewise.
56666         * iconvdata/ibm1164.h: Likewise.
56667         * iconvdata/ibm1166.h: Likewise.
56668         * iconvdata/ibm1167.h: Likewise.
56669         * iconvdata/ibm12712.h: Likewise.
56670         * iconvdata/ibm1390.h: Likewise.
56671         * iconvdata/ibm1399.h: Likewise.
56672         * iconvdata/ibm16804.h: Likewise.
56673         * iconvdata/ibm4517.h: Likewise.
56674         * iconvdata/ibm4899.h: Likewise.
56675         * iconvdata/ibm4909.h: Likewise.
56676         * iconvdata/ibm4971.h: Likewise.
56677         * iconvdata/ibm5347.h: Likewise.
56678         * iconvdata/ibm803.h: Likewise.
56679         * iconvdata/ibm856.h: Likewise.
56680         * iconvdata/ibm901.h: Likewise.
56681         * iconvdata/ibm902.h: Likewise.
56682         * iconvdata/ibm9030.h: Likewise.
56683         * iconvdata/ibm9066.h: Likewise.
56684         * iconvdata/ibm921.h: Likewise.
56685         * iconvdata/ibm922.h: Likewise.
56686         * iconvdata/ibm9448.h: Likewise.
56687         * iconvdata/isiri-3342.h: Likewise.
56688         * iconvdata/jis0201.h: Likewise.
56689         * include/link.h: Likewise.
56690         * include/netdb.h: Likewise.
56691         * inet/check_native.c: Likewise.
56692         * inet/check_pf.c: Likewise.
56693         * inet/getipv4sourcefilter.c: Likewise.
56694         * inet/getnameinfo.c: Likewise.
56695         * inet/getsourcefilter.c: Likewise.
56696         * inet/htonl.c: Likewise.
56697         * inet/setipv4sourcefilter.c: Likewise.
56698         * inet/setsourcefilter.c: Likewise.
56699         * inet/test-inet6_opt.c: Likewise.
56700         * inet/tst-network.c: Likewise.
56701         * locale/C-collate.c: Likewise.
56702         * locale/C-ctype.c: Likewise.
56703         * locale/C-time.c: Likewise.
56704         * locale/C-translit.h: Likewise.
56705         * locale/loadarchive.c: Likewise.
56706         * locale/programs/3level.h: Likewise.
56707         * locale/programs/charmap.c: Likewise.
56708         * locale/programs/charmap.h: Likewise.
56709         * locale/programs/ld-address.c: Likewise.
56710         * locale/programs/ld-collate.c: Likewise.
56711         * locale/programs/ld-ctype.c: Likewise.
56712         * locale/programs/ld-identification.c: Likewise.
56713         * locale/programs/ld-measurement.c: Likewise.
56714         * locale/programs/ld-messages.c: Likewise.
56715         * locale/programs/ld-monetary.c: Likewise.
56716         * locale/programs/ld-name.c: Likewise.
56717         * locale/programs/ld-numeric.c: Likewise.
56718         * locale/programs/ld-paper.c: Likewise.
56719         * locale/programs/ld-telephone.c: Likewise.
56720         * locale/programs/ld-time.c: Likewise.
56721         * locale/programs/linereader.c: Likewise.
56722         * locale/programs/locale.c: Likewise.
56723         * locale/programs/locarchive.c: Likewise.
56724         * locale/programs/locfile.h: Likewise.
56725         * locale/programs/repertoire.c: Likewise.
56726         * locale/programs/simple-hash.c: Likewise.
56727         * locale/programs/simple-hash.h: Likewise.
56728         * malloc/memusage.c: Likewise.
56729         * malloc/memusagestat.c: Likewise.
56730         * nis/nis_defaults.c: Likewise.
56731         * nis/nis_hash.c: Likewise.
56732         * nis/nis_print.c: Likewise.
56733         * nis/nis_xdr.c: Likewise.
56734         * nscd/connections.c: Likewise.
56735         * nscd/hstcache.c: Likewise.
56736         * nscd/nscd_gethst_r.c: Likewise.
56737         * nscd/nscd_getserv_r.c: Likewise.
56738         * nscd/nscd_helper.c: Likewise.
56739         * nscd/servicescache.c: Likewise.
56740         * nss/makedb.c: Likewise.
56741         * nss/nss_db/db-XXX.c: Likewise.
56742         * nss/nss_db/db-initgroups.c: Likewise.
56743         * nss/nss_db/db-netgrp.c: Likewise.
56744         * nss/nss_files/files-network.c: Likewise.
56745         * nss/nss_files/files-parse.c: Likewise.
56746         * posix/bug-regex5.c: Likewise.
56747         * posix/fnmatch_loop.c: Likewise.
56748         * posix/regcomp.c: Likewise.
56749         * posix/regexec.c: Likewise.
56750         * posix/tst-rfc3484-2.c: Likewise.
56751         * posix/tst-rfc3484-3.c: Likewise.
56752         * posix/tst-rfc3484.c: Likewise.
56753         * resolv/nss_dns/dns-canon.c: Likewise.
56754         * resolv/nss_dns/dns-network.c: Likewise.
56755         * resolv/res_init.c: Likewise.
56756         * resolv/res_mkquery.c: Likewise.
56757         * resolv/tst-aton.c: Likewise.
56758         * stdlib/cxa_atexit.c: Likewise.
56759         * stdlib/cxa_finalize.c: Likewise.
56760         * stdlib/gen-fpioconst.c: Likewise.
56761         * stdlib/strtol_l.c: Likewise.
56762         * string/tst-endian.c: Likewise.
56763         * sunrpc/auth_des.c: Likewise.
56764         * sunrpc/clnt_udp.c: Likewise.
56765         * sunrpc/rtime.c: Likewise.
56766         * sunrpc/svcauth_des.c: Likewise.
56767         * sunrpc/xdr.c: Likewise.
56768         * sunrpc/xdr_intXX_t.c: Likewise.
56769         * sunrpc/xdr_rec.c: Likewise.
56770         * sysdeps/generic/ldconfig.h: Likewise.
56771         * sysdeps/generic/ldsodefs.h: Likewise.
56772         * sysdeps/generic/memusage.h: Likewise.
56773         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
56774         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
56775         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
56776         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
56777         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
56778         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
56779         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
56780         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
56781         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
56782         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
56783         * sysdeps/posix/getaddrinfo.c: Likewise.
56784         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
56785         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
56786         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
56787         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
56788         * sysdeps/powerpc/test-gettimebase.c: Likewise.
56789         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
56790         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
56791         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
56792         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
56793         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
56794         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
56795         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
56796         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
56797         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
56798         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
56799         * sysdeps/x86_64/dl-tls.h: Likewise.
56800         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
56801         * time/alt_digit.c: Likewise.
56802         * time/era.c: Likewise.
56803         * wcsmbs/tst-c16c32-1.c: Likewise.
56805 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56807         * math/libm-test.inc (struct test_sincos_data): New type.
56808         (RUN_TEST_LOOP_sincos): New macro.
56809         (sincos_test_data): New variable.
56810         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
56812 2013-05-16  Richard Henderson  <rth@redhat.com>
56814         * math/atest-exp2.c (LIMB64): New macro.
56815         (CONSTSZ): New macro.
56816         (mp_exp1, mp_exp_m1, mp_log2): New variables.
56817         (hexdig): Move ...
56818         (print_mpn_fp): ... to function scope.
56819         (read_mpn_hex): Remove.
56820         (get_log2): Remove.
56821         (exp2_mpn): Use mp_log2.
56822         (main): Use mp_exp1.
56824 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56826         * math/libm-test.inc: Remove comment about not testing "inexact"
56827         exceptions.
56828         (INEXACT_EXCEPTION): New macro.
56829         (NO_INEXACT_EXCEPTION): Likewise.
56830         (INVALID_EXCEPTION_OK): Update value.
56831         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56832         (OVERFLOW_EXCEPTION_OK): Likewise.
56833         (UNDERFLOW_EXCEPTION_OK): Likewise.
56834         (IGNORE_ZERO_INF_SIGN): Likewise.
56835         (ERRNO_UNCHANGED): Likewise.
56836         (ERRNO_EDOM): Likewise.
56837         (ERRNO_ERANGE): Likewise.
56838         (test_exceptions): Handle testing "inexact" exceptions.
56839         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
56840         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
56841         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
56842         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
56843         INEXACT_EXCEPTION.
56844         (rint_towardzero_test_data): Likewise.
56845         (rint_downward_test_data): Likewise.
56846         (rint_upward_test_data): Likewise.
56848         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
56849         with OVERFLOW_EXCEPTION.
56850         (exp10_test_data): Likewise.
56851         (exp2_test_data): Likewise.
56852         (expm1_test_data): Likewise.
56853         (lgamma_test_data): Likewise.
56854         (pow_test_data): Likewise.
56855         (tgamma_test_data): Likewise.
56856         (yn_test_data): Remove duplicate test of overflow.
56858         * math/libm-test.inc (struct test_cc_c_data): New type.
56859         (RUN_TEST_LOOP_cc_c): New macro.
56860         (cpow_test_data): New variable.
56861         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
56863         * math/libm-test.inc (struct test_f_L_data): New type.
56864         (RUN_TEST_LOOP_f_L): New macro.
56865         (llrint_test_data): New variable.
56866         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
56867         (llrint_tonearest_test_data): New variable.
56868         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
56869         (llrint_towardzero_test_data): New variable.
56870         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
56871         (llrint_downward_test_data): New variable.
56872         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
56873         (llrint_upward_test_data): New variable.
56874         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
56875         (llround_test_data): New variable.
56876         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
56878 2013-05-13  Peter Collingbourne  <pcc@google.com>
56880         * math/atest-exp2.c (get_log2): Remove const attribute.
56882 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56884         * math/libm-test.inc (struct test_f_l_data): New type.
56885         (RUN_TEST_LOOP_f_l): New macro.
56886         (lrint_test_data): New variable.
56887         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
56888         (lrint_tonearest_test_data): New variable.
56889         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
56890         (lrint_towardzero_test_data): New variable.
56891         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
56892         (lrint_downward_test_data): New variable.
56893         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
56894         (lrint_upward_test_data): New variable.
56895         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
56896         (lround_test_data): New variable.
56897         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
56899 2013-05-15  Peter Collingbourne  <pcc@google.com>
56901         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
56902         (EXTRACT_WORDS64) Use where appropriate.
56903         (INSERT_WORDS64) Likewise.
56905         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
56906         constraints with x constraints.
56907         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
56909         * malloc/obstack.c (_obstack_compat): Add initializer.
56911 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56913         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
56914         si_trapno and add si_addr_lsb to _sifields.sigfault.
56915         (si_trapno): Remove macro.
56916         (si_addr_lsb): Define new macro.
56917         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56919 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
56921         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
56922         instead of TEST_f_l.
56923         (llrint_test_tonearest): Likewise.
56924         (llrint_test_towardzero): Likewise.
56925         (llrint_test_downward): Likewise.
56926         (llrint_test_upward): Likewise.
56927         (llround_test): Likewise.
56929         * math/libm-test.inc (struct test_f_i_data): Add comment.
56930         (RUN_TEST_LOOP_f_b): New macro.
56931         (RUN_TEST_LOOP_f_b_tg): Likewise.
56932         (finite_test_data): New variable.
56933         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
56934         (isfinite_test_data): New variable.
56935         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56936         (isinf_test_data): New variable.
56937         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56938         (isnan_test_data): New variable.
56939         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56940         (isnormal_test_data): New variable.
56941         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56942         (issignaling_test_data): New variable.
56943         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56944         (signbit_test_data): New variable.
56945         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
56947         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
56948         with INVALID_EXCEPTION.
56949         (acosh_test_data): Likewise.
56950         (asin_test_data): Likewise.
56951         (atanh_test_data): Likewise.
56952         (fmod_test_data): Likewise.
56953         (log_test_data): Likewise.
56954         (log10_test_data): Likewise.
56955         (log2_test_data): Likewise.
56956         (pow_test_data): Likewise.
56957         (sqrt_test_data): Likewise.
56958         (y0_test_data): Likewise.
56959         (y1_test_data): Likewise.
56960         (yn_test_data): Likewise.
56962         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
56963         function contents.
56965         * math/libm-test.inc (struct test_ff_i_data): New type.
56966         (RUN_TEST_LOOP_ff_i_tg): New macro.
56967         (isgreater_test_data): New variable.
56968         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56969         (isgreaterequal_test_data): New variable.
56970         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56971         (isless_test_data): New variable.
56972         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56973         (islessequal_test_data): New variable.
56974         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56975         (islessgreater_test_data): New variable.
56976         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56977         (isunordered_test_data): New variable.
56978         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
56980 2013-05-14  David S. Miller  <davem@davemloft.net>
56982         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56984 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
56986         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
56988         * math/libm-test.inc (struct test_fF_f1_data): Change type of
56989         extra_test to int.
56990         (struct test_f_i_data): Change type of max_ulp to int.
56992         * math/libm-test.inc (test_ffI_f1_data): New type.
56993         (RUN_TEST_LOOP_ffI_f1): New macro.
56994         (remquo_test_data): New variable.
56995         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
56997         * setjmp/tst-setjmp-fp.c: New file.
56998         * setjmp/Makefile (tests): Add tst-setjmp-fp.
56999         (link-libm): New variable.
57000         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57002         * math/libm-test.inc (struct test_f_i_data): New type.
57003         (RUN_TEST_LOOP_f_i): New macro.
57004         (RUN_TEST_LOOP_f_i_tg): Likewise.
57005         (fpclassify_test_data): New variable.
57006         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57007         (ilogb_test_data): New variable.
57008         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57010         * math/libm-test.inc (scalbln_test): Correct function name in END
57011         call.
57013         * math/libm-test.inc (struct test_f_f1_data): Add comment.
57014         (RUN_TEST_LOOP_fI_f1): New macro.
57015         (frexp_test_data): New variable.
57016         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57018         * math/libm-test.inc (struct test_fF_f1_data): New type.
57019         (RUN_TEST_LOOP_fF_f1): New macro.
57020         (modf_test_data): New variable.
57021         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57023         * math/libm-test.inc (struct test_f_f1_data): New type.
57024         (RUN_TEST_LOOP_f_f1): New macro.
57025         (gamma_test_data): New variable.
57026         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57027         (lgamma_test_data): New variable.
57028         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57030 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
57032         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57033         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57034         (main): Comment "tls" pseudo-hwcap.
57036 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
57038         * math/libm-test.inc (struct test_fl_f_data): New type.
57039         (RUN_TEST_LOOP_fl_f): New variable.
57040         (scalbln_test_data): New variable.
57041         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57043         * math/libm-test.inc (struct test_fi_f_data): New type.
57044         (RUN_TEST_LOOP_fi_f): New macro.
57045         (ldexp_test_data): New variable.
57046         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57047         (scalbn_test_data): New variable.
57048         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57050         * math/libm-test.inc (struct test_c_f_data): New type.
57051         (RUN_TEST_LOOP_c_f): New macro.
57052         (cabs_test_data): New variable.
57053         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57054         (carg_test_data): New variable.
57055         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57056         (cimag_test_data): New variable.
57057         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57058         (creal_test_data): New variable.
57059         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57061         * math/libm-test.inc (struct test_if_f_data): New type.
57062         (RUN_TEST_LOOP_if_f): New macro.
57063         (jn_test_data): New variable.
57064         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57065         (yn_test_data): New variable.
57066         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57068         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57070 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57072         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57073         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57075 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57077         * benchtests/Makefile (CPPFLAGS-nonlib): Add
57078         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57079         (bench-deps): Add bench-timing.h.
57080         * benchtests-bench-skeleton.c: Include bench-timing.h.
57081         (main): Use TIMING_* macros instead of clock_gettime.
57082         * benchtests/bench-timing.h: New file.
57084         [BZ #14582]
57085         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57086         Renamed from _LIB_VERSION.
57087         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57089 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
57091         * math/libm-test.inc (struct test_fff_f_data): New type.
57092         (RUN_TEST_LOOP_fff_f): New macro.
57093         (fma_test_data): New variable.
57094         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57095         (fma_towardzero_test_data): New variable.
57096         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57097         (fma_downward_test_data): New variable.
57098         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57099         (fma_upward_test_data): New variable.
57100         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57102         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57103         (struct test_c_c_data): New type.
57104         (RUN_TEST_LOOP_c_c): New macro.
57105         (cacos_test_data): New variable.
57106         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57107         (cacosh_test_data): New variable.
57108         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57109         (casin_test_data): New variable.
57110         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57111         (casinh_test_data): New variable.
57112         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57113         (catan_test_data): New variable.
57114         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57115         (catanh_test_data): New variable.
57116         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57117         (ccos_test_data): New variable.
57118         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57119         (ccosh_test_data): New variable.
57120         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57121         (cexp_test_data): New variable.
57122         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57123         (clog_test_data): New variable.
57124         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57125         (clog10_test_data): New variable.
57126         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57127         (conj_test_data): New variable.
57128         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57129         (cproj_test_data): New variable.
57130         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57131         (csin_test_data): New variable.
57132         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57133         (csinh_test_data): New variable.
57134         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57135         (csqrt_test_data): New variable.
57136         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57137         (ctan_test_data): New variable.
57138         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57139         (ctan_tonearest_test_data): New variable.
57140         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57141         (ctan_towardzero_test_data): New variable.
57142         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57143         (ctan_downward_test_data): New variable.
57144         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57145         (ctan_upward_test_data): New variable.
57146         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57147         (ctanh_test_data): New variable.
57148         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57149         (ctanh_tonearest_test_data): New variable.
57150         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57151         (ctanh_towardzero_test_data): New variable.
57152         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57153         (ctanh_downward_test_data): New variable.
57154         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57155         (ctanh_upward_test_data): New variable.
57156         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57157         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57158         of BUILD_COMPLEX.
57160         * math/libm-test.inc (struct test_ff_f_data): New type.
57161         (struct test_ff_f_data_nexttoward): Likewise.
57162         (RUN_TEST_LOOP_2_f): New macro.
57163         (RUN_TEST_LOOP_ff_f): Likewise.
57164         (atan2_test_data): New variable.
57165         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57166         (copysign_test_data): New variable.
57167         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57168         (fdim_test_data): New variable.
57169         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57170         (fmax_test_data): New variable.
57171         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57172         (fmin_test_data): New variable.
57173         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57174         (fmod_test_data): New variable.
57175         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57176         (hypot_test_data): New variable.
57177         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57178         (nextafter_test_data): New variable.
57179         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57180         (nexttoward_test_data): New variable.
57181         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57182         (pow_test_data): New variable.
57183         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57184         (pow_tonearest_test_data): New variable.
57185         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57186         (pow_towardzero_test_data): New variable.
57187         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57188         (pow_downward_test_data): New variable.
57189         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57190         (pow_upward_test_data): New variable.
57191         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57192         (remainder_test_data): New variable.
57193         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57194         (scalb_test_data): New variable.
57195         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57196         * sysdeps/i386/fpu/libm-test-ulps: Update.
57198 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
57200         * math/libm-test.inc (fma_test): Use max_value instead of local
57201         variable fltmax.
57202         (nextafter_test): Likewise.
57204         * math/libm-test.inc (acos_towardzero_test_data): New variable.
57205         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57206         (acos_downward_test_data): New variable.
57207         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57208         (acos_upward_test_data): New variable.
57209         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57210         (acosh_test_data): New variable.
57211         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57212         (asin_test_data): New variable.
57213         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57214         (asin_tonearest_test_data): New variable.
57215         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57216         (asin_towardzero_test_data): New variable.
57217         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57218         (asin_downward_test_data): New variable.
57219         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57220         (asin_upward_test_data): New variable.
57221         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57222         (asinh_test_data): New variable.
57223         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57224         (atan_test_data): New variable.
57225         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57226         (atanh_test_data): New variable.
57227         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57228         (cbrt_test_data): New variable.
57229         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57230         (ceil_test_data): New variable.
57231         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57232         (cos_test_data): New variable.
57233         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57234         (cos_tonearest_test_data): New variable.
57235         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57236         (cos_towardzero_test_data): New variable.
57237         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57238         (cos_downward_test_data): New variable.
57239         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57240         (cos_upward_test_data): New variable.
57241         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57242         (cosh_test_data): New variable.
57243         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57244         (cosh_tonearest_test_data): New variable.
57245         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57246         (cosh_towardzero_test_data): New variable.
57247         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57248         (cosh_downward_test_data): New variable.
57249         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57250         (cosh_upward_test_data): New variable.
57251         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57252         (erf_test_data): New variable.
57253         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57254         (erfc_test_data): New variable.
57255         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57256         (exp_test_data): New variable.
57257         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57258         (exp_tonearest_test_data): New variable.
57259         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57260         (exp_towardzero_test_data): New variable.
57261         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57262         (exp_downward_test_data): New variable.
57263         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57264         (exp_upward_test_data): New variable.
57265         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57266         (exp10_test_data): New variable.
57267         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57268         (exp2_test_data): New variable.
57269         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57270         (expm1_test_data): New variable.
57271         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57272         (fabs_test_data): New variable.
57273         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57274         (floor_test_data): New variable.
57275         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57276         (j0_test_data): New variable.
57277         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57278         (j1_test_data): New variable.
57279         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57280         (log_test_data): New variable.
57281         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57282         (log10_test_data): New variable.
57283         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57284         (log1p_test_data): New variable.
57285         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57286         (log2_test_data): New variable.
57287         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57288         (logb_test_data): New variable.
57289         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57290         (logb_downward_test_data): New variable.
57291         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57292         (nearbyint_test_data): New variable.
57293         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57294         (rint_test_data): New variable.
57295         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57296         (rint_tonearest_test_data): New variable.
57297         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57298         (rint_towardzero_test_data): New variable.
57299         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57300         (rint_downward_test_data): New variable.
57301         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57302         (rint_upward_test_data): New variable.
57303         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57304         (round_test_data): New variable.
57305         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57306         (sin_test_data): New variable.
57307         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57308         (sin_tonearest_test_data): New variable.
57309         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57310         (sin_towardzero_test_data): New variable.
57311         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57312         (sin_downward_test_data): New variable.
57313         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57314         (sin_upward_test_data): New variable.
57315         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57316         (sinh_test_data): New variable.
57317         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57318         (sinh_tonearest_test_data): New variable.
57319         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57320         (sinh_towardzero_test_data): New variable.
57321         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57322         (sinh_downward_test_data): New variable.
57323         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57324         (sinh_upward_test_data): New variable.
57325         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57326         (sqrt_test_data): New variable.
57327         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57328         (tan_test_data): New variable.
57329         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57330         (tan_tonearest_test_data): New variable.
57331         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57332         (tan_towardzero_test_data): New variable.
57333         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57334         (tan_downward_test_data): New variable.
57335         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57336         (tan_upward_test_data): New variable.
57337         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57338         (tanh_test_data): New variable.
57339         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57340         (tgamma_test_data): New variable.
57341         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57342         (trunc_test_data): New variable.
57343         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57344         (y0_test_data): New variable.
57345         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57346         (y1_test_data): New variable.
57347         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57348         (significand_test_data): New variable.
57349         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57351 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57353         [BZ #12387]
57354         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57356 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57358         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57360 2013-05-10  Andreas Jaeger  <aj@suse.de>
57362         [BZ #15448]
57363         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57364         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57366 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57368         * math/gen-libm-test.pl (adjust_arg): New function.
57369         (special_functions): Handle generating output in both functions
57370         and arrays.
57371         (parse_args): Likewise.
57372         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57373         $in_func argument to parse_args.
57374         * math/libm-test.inc (struct test_f_f_data): New type.
57375         (IF_ROUND_INIT_): New macro.
57376         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57377         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57378         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57379         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57380         (ROUND_RESTORE_): Likewise.
57381         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57382         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57383         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57384         (ROUND_RESTORE_FE_UPWARD): Likewise.
57385         (RUN_TEST_LOOP_f_f): New macro.
57386         (acos_test_data): New variable.
57387         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57388         (acos_tonearest_test_data): New variable.
57389         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57391 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57393         * benchtests/bench-skeleton.c (startup): Fix coding style.
57395 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57397         [BZ #6809]
57398         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57399         negative infinity argument.
57400         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57401         negative infinity argument.
57402         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57403         negative infinity argument.
57404         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57405         domain errors.
57407 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57409         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57410         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57411         * iconv/iconv_prog.c (main): Likewise.
57412         * locale/programs/charmap-dir.c (charmap_readdir)
57413         (fopen_uncompressed): Likewise.
57414         * locale/programs/locfile.c (siblings_uncached)
57415         (write_locale_data): Use lstat64 instead of lstat.
57416         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57417         stat.
57419 2013-05-10  Andreas Jaeger  <aj@suse.de>
57421         [BZ #15395]
57422         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57423         localization.
57424         Include <locale.h>.
57426 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57428         * elf/dl-close.c (_dl_close_worker): Add comments.
57430 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57432         [BZ #15359]
57433         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57434         high part of pi/2.
57435         (__ieee754_rem_pio2l): Update comments.
57437         [BZ #15429]
57438         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57439         high part of pi/2.
57440         (__ieee754_rem_pio2l): Update comments.
57442         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57443         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57445         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57446         M_PI_4l.
57448         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57449         (M_PI_34_LOG10El): Likewise.
57450         (M_PI2_LOG10El): Likewise.
57451         (M_PI4_LOG10El): Likewise.
57452         (M_PI_LOG10El): Likewise.
57454 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57456         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57458 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57460         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57461         (MINUS_ZERO_INIT): Likewise.
57462         (PLUS_INFTY_INIT): Likewise.
57463         (MINUS_INFTY_INIT): Likewise.
57464         (QNAN_VALUE_INIT): Likewise.
57465         (MAX_VALUE_INIT): Likewise.
57466         (MIN_VALUE_INIT): Likewise.
57467         (MIN_SUBNORM_VALUE_INIT): Likewise.
57468         (plus_zero): Initialize with PLUS_ZERO_INIT.
57469         (minus_zero): Initialize with MINUS_ZERO_INIT.
57470         (plus_infty): Initialize with PLUS_INFTY_INIT.
57471         (minus_infty): Initialize with MINUS_INFTY_INIT.
57472         (qnan_value): Initialize with QNAN_VALUE_INIT.
57473         (max_value): Initialize with MAX_VALUE_INIT.
57474         (min_value): Initialize with MIN_VALUE_INIT.
57475         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57477         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57478         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57479         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57480         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57482         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57483         (RUN_TEST_2_f): Likewise.
57484         (RUN_TEST_ff_f): Likewise.
57485         (RUN_TEST_fi_f): Likewise.
57486         (RUN_TEST_fl_f): Likewise.
57487         (RUN_TEST_fff_f): Likewise.
57488         (RUN_TEST_c_f): Likewise.
57489         (RUN_TEST_f_f1): Likewise.
57490         (RUN_TEST_fF_f1): Likewise.
57491         (RUN_TEST_fI_f1): Likewise.
57492         (RUN_TEST_ffI_f1): Likewise.
57493         (RUN_TEST_c_c): Likewise.
57494         (RUN_TEST_cc_c): Likewise.
57495         (RUN_TEST_f_i): Likewise.
57496         (RUN_TEST_f_i_tg): Likewise.
57497         (RUN_TEST_ff_i_tg): Likewise.
57498         (RUN_TEST_f_b): Likewise.
57499         (RUN_TEST_f_b_tg): Likewise.
57500         (RUN_TEST_f_l): Likewise.
57501         (RUN_TEST_f_L): Likewise.
57502         (RUN_TEST_sincos): Likewise.
57503         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57504         whether to show exceptions.  Do not include ");\n" in return
57505         value.
57506         (special_functions): Output call to RUN_TEST_sincos instead of
57507         check_float calls.  Update calls to new_test.
57508         (parse_args): Output call to single RUN_TEST_* macro instead of
57509         check_* calls and other assignments.  Update calls to new_test.
57511         [BZ #2546]
57512         [BZ #2560]
57513         [BZ #5159]
57514         [BZ #15426]
57515         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57516         input to result for tgamma overflow.
57517         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57518         (gamma_coeff): New variable.
57519         (NCOEFF): New macro.
57520         (gamma_positive): New function.
57521         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57522         underflow here.  Use gamma_positive instead of exp (lgamma) for
57523         other arguments.
57524         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57525         (gamma_coeff): New variable.
57526         (NCOEFF): New macro.
57527         (gammaf_positive): New function.
57528         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57529         underflow here.  Use gamma_positive instead of exp (lgamma) for
57530         other arguments.
57531         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57532         (gamma_coeff): New variable.
57533         (NCOEFF): New macro.
57534         (gammal_positive): New function.
57535         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57536         underflow here.  Use gamma_positive instead of exp (lgamma) for
57537         other arguments.
57538         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57539         (gamma_coeff): New variable.
57540         (NCOEFF): New macro.
57541         (gammal_positive): New function.
57542         (__ieee754_gammal_r): Handle positive infinity, overflow and
57543         underflow here.  Handle NaN the same as positive infinity.  Remove
57544         check x < 0xffffffff for negative integers.  Use gamma_positive
57545         instead of exp (lgamma) for other arguments.
57546         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57547         (gamma_coeff): New variable.
57548         (NCOEFF): New macro.
57549         (gammal_positive): New function.
57550         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57551         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57552         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57553         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57554         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57555         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57556         * sysdeps/generic/math_private.h (__gamma_productf): New
57557         prototype.
57558         (__gamma_product): Likewise.
57559         (__gamma_productl): Likewise.
57560         * math/Makefile (libm-calls): Add gamma_product.
57561         * math/libm-test.inc (tgamma_test): Add more tests.
57562         * sysdeps/i386/fpu/libm-test-ulps: Update.
57563         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57565 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57567         * benchtests/bench-skeleton.c (main): Preheat CPU.
57569 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57571         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57573 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57575         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57576         and _dl_skip_args_internal.
57578 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57580         * manual/message.texi (Message Translation): Talk about users.
57581         Message to key mapping impacts design.
57583 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57585         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57587         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57589         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57590         * sysdeps/wordsize-64/glob64.c: ... here.
57592         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57593         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57594         New macros.
57596         * debug/getlogin_r_chk.c: Moved to ...
57597         * login/getlogin_r_chk.c: ... here.
57598         * debug/Makefile (routines): Move getlogin_r_chk to ...
57599         * login/Makefile (routines): ... here.
57600         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57601         * login/Versions (libc: GLIBC_2.4): ... here.
57603         * io/poll.c (__poll): Renamed from poll.
57604         Add libc_hidden_def.
57605         (poll): Define as weak alias.
57607         * debug/ptsname_r_chk.c: Moved to ...
57608         * login/ptsname_r_chk.c: ... here.
57609         * debug/Makefile (routines): Move ptsname_r_chk to ...
57610         * login/Makefile (routines): ... here.
57611         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57612         * login/Versions (libc: GLIBC_2.4): ... here.
57614         * posix/getlogin.c: Moved to ...
57615         * login/getlogin.c: ... here.
57616         * posix/getlogin_r.c: Moved to ...
57617         * login/getlogin_r.c: ... here.
57618         * posix/getlogin_r.c: Moved to ...
57619         * login/getlogin_r.c: ... here.
57620         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57621         * login/Makefile (routines): ... here.
57622         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57623         * login/Versions (libc: GLIBC_2.0): ... here.
57625         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57626         (setrlimit): Define as weak alias.
57628         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57629         Call __ names for open, ftruncate, and close.
57630         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57631         (truncate): Define as weak alias.
57633 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57635         * math/gen-libm-test.pl (parse_args): Initialize x before each
57636         test of frexp, modf and remquo.
57638         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57639         test signgam value.
57641 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57643         [BZ #15418]
57644         [BZ #15419]
57645         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57646         internal tests.
57647         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57649 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57651         * elf/dl-writev.h: New file.
57652         * elf/dl-misc.c: Include it.
57653         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57654         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57656 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57658         * math/libm-test.inc (noXFails): Remove variable.
57659         (noXPasses): Likewise.
57660         (BUILD_COMPLEX_INT): Remove macro.
57661         (print_screen): Remove xfail argument.
57662         (print_screen_max_error): Likewise.
57663         (update_stats): Likewise.
57664         (print_max_error): Likewise.  Update calls to other affected
57665         functions.
57666         (print_complex_max_error): Likewise.
57667         (test_single_exception): Update calls to print_screen.
57668         (test_single_errno): Likewise.
57669         (check_float_internal): Remove xfail argument.  Update calls to
57670         other affected functions.
57671         (check_float): Likewise.
57672         (check_complex): Likewise.
57673         (check_int): Likewise.
57674         (check_long): Likewise.
57675         (check_bool): Likewise.
57676         (check_longlong): Likewise.
57677         (main): Don't print noXFails and noXPasses.
57678         * math/gen-libm-test.pl (top level): Don't mention expected
57679         failure handling in comment.
57680         (new_test): Don't handle expected failures.
57681         (parse_args): Don't mention expected failure handling in comment.
57682         (generate_testfile): Don't handle expected failures.
57683         (parse_ulps): Likewise.
57684         (print_ulps_file): Likewise.
57685         (get_failure): Remove function.
57686         (output_test): Don't handle expected failures.
57687         * make/README.libm-test: Don't mention expected failure handling.
57689         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57690         (minus_zero): Likewise.
57691         (plus_infty): Likewise.
57692         (minus_infty): Likewise.
57693         (qnan_value): Likewise.
57694         (max_value): Likewise.
57695         (min_value): Likewise.
57696         (min_subnorm_value): Likewise.
57697         (initialize): Do not initialize those variables dynamically.
57699 2013-05-03  Roland McGrath  <roland@hack.frob.com>
57701         * io/open.c (__open_2): Moved to ...
57702         * io/open_2.c: ... this new file.
57703         * io/open64.c (__open64_2): Moved to ...
57704         * io/open64_2.c: ... this new file.
57705         * io/openat.c (__openat_2): Moved to ...
57706         * io/openat_2.c: ... this new file.
57707         * io/openat64.c (__openat64_2): Moved to ...
57708         * io/openat64_2.c: ... this new file.
57709         * io/Makefile (routines): Add them.
57710         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57711         * sysdeps/unix/sysv/linux/open_2.c: File removed.
57712         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57713         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57714         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57715         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57716         (__openat64): Add hidden_ver.
57717         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57718         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57720         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57721         Separately conditionalize setting of GLRO(dl_sysinfo) so
57722         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57723         as well, but the actual setting is only under [NEED_DL_SYSINFO].
57725 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57727         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57728         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57729         definition.
57730         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57731         * sysdeps/unix/sysv/linux/powerpc/init-first.c
57732         (_libc_vdso_platform_setup): Add __vdso_time initialization.
57733         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57734         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57736 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
57738         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57739         test signgam value.
57741         * math/libm-test.inc (hypot_test): Do not use
57742         IGNORE_ZERO_INF_SIGN.
57744 2013-05-03  Andreas Jaeger  <aj@suse.de>
57746         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57747         Linux 3.9.
57748         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57749         (PF_MAX): Adjust for VSOCK change.
57751 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57755 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
57757         [BZ #15264]
57758         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57759         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57760         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57762 2013-05-02  David S. Miller  <davem@davemloft.net>
57764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57766 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
57768         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
57770 2013-05-01  Roland McGrath  <roland@hack.frob.com>
57772         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
57774 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
57776         [BZ #14952]
57777         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
57778         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57779         Use __attribute__ ((__gnu_inline__)).
57780         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
57781         Don't use __attribute__ ((__gnu_inline__)).
57783 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
57785         [BZ #15423]
57786         * math/s_catan.c (__catan): Handle small real or imaginary part of
57787         input specially to avoid spurious underflow.
57788         * math/s_catanf.c (__catanf): Likewise.
57789         * math/s_catanh.c (__catanh): Likewise.
57790         * math/s_catanhf.c (__catanhf): Likewise.
57791         * math/s_catanhl.c (__catanhl): Likewise.
57792         * math/s_catanl.c (__catanl): Likewise.
57793         * math/libm-test.inc (catan_test): Add more tests.
57794         (catanh_test): Likewise.
57795         * sysdeps/i386/fpu/libm-test-ulps: Update.
57796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57798 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57802 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
57804         [BZ #15416]
57805         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
57806         accurately for denominator in atan2.
57807         * math/s_catanf.c (__catanf): Likewise.
57808         * math/s_catanh.c (__catanh): Likewise.
57809         * math/s_catanhf.c (__catanhf): Likewise.
57810         * math/s_catanhl.c (__catanhl): Likewise.
57811         * math/s_catanl.c (__catanl): Likewise.
57812         * math/libm-test.inc (catan_test): Add more tests.
57813         (catanh_test): Likewise.
57814         * sysdeps/i386/fpu/libm-test-ulps: Update.
57815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57817 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
57819         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
57821         * benchtests/Makefile (bench): Remove slow benchmarks.
57822         * benchtests/atan-inputs: Add slow benchmark inputs.
57823         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
57824         (BENCH_FUNC): Accept variant offset.
57825         (VARIANT): Define.
57826         * benchtests/bench-skeleton.c (main): Run benchmark for each
57827         variant.
57828         * benchtests/cos-inputs: Add slow benchmark inputs.
57829         * benchtests/exp-inputs: Likewise.
57830         * benchtests/pow-inputs: Likewise.
57831         * benchtests/sin-inputs: Likewise.
57832         * benchtests/slowatan-inputs: Remove.
57833         * benchtests/slowatan.c: Remove.
57834         * benchtests/slowcos-inputs: Remove.
57835         * benchtests/slowcos.c: Remove.
57836         * benchtests/slowexp-inputs: Remove.
57837         * benchtests/slowexp.c: Remove.
57838         * benchtests/slowpow-inputs: Remove.
57839         * benchtests/slowpow.c: Remove.
57840         * benchtests/slowsin-inputs: Remove.
57841         * benchtests/slowsin.c: Remove.
57842         * benchtests/slowtan-inputs: Remove.
57843         * benchtests/slowtan.c: Remove.
57844         * benchtests/tan-inputs: Add slow benchmark inputs.
57845         * scripts/bench.pl: Parse comments and directives.
57847         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
57848         in CPPFLAGS.
57849         ($(objpfx)bench-%.c): Remove *-ITER.
57850         * benchtests/bench-modf.c: Remove definition of ITER.
57851         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
57852         (main): Loop for DURATION seconds instead of fixed number of
57853         iterations.
57854         * scripts/bench.pl: Don't expect iterations in parameters.
57856 2013-04-29  Roland McGrath  <roland@hack.frob.com>
57858         * io/fchdir.c (__fchdir): Renamed from fchdir.
57859         (fchdir): Define as weak alias.
57861 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57863         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
57864         (ERRNO_EDOM): Likewise.
57865         (ERRNO_ERANGE): Likewise.
57866         (noErrnoTests): New variable.
57867         (init_max_error): Set errno to 0.
57868         (test_single_errno): New function.
57869         (test_errno): Likewise.
57870         (check_float_internal): Call test_errno.  Set errno to 0.
57871         (check_complex): Refer to errno tests in comment.
57872         (check_int): Call test_errno.  Set errno to 0.
57873         (check_long): Likewise.
57874         (check_bool): Likewise.
57875         (check_longlong): Likewise.
57876         (cos_test): Use ERRNO_* flags for errno tests instead of
57877         check_int.
57878         (expm1_test): Likewise.
57879         (fmod_test): Likewise.
57880         (ilogb_test): Likewise.
57881         (lgamma_test): Likewise.
57882         (pow_test): Likewise.
57883         (remainder_test): Likewise.
57884         (sin_test): Likewise.
57885         (tan_test): Likewise.
57886         (yn_test): Likewise.
57887         (initialize): Set errno to 0.
57888         (main): Print number of errno tests.
57889         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
57891 2013-04-29  Andreas Jaeger  <aj@suse.de>
57893         [BZ #15084]
57894         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
57895         and RES_USEVC.
57897         [BZ #15085]
57898         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
57899         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
57900         unimplemented.
57902         [BZ #15380]
57903         * stdlib/random.c (__initstate): Return NULL if
57904         __initstate fails.
57906         [BZ #15086]
57907         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
57908         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
57909         RES_SNGLKUPREOP.
57911 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57915 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
57917         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
57918         of individual tests.
57919         (casin_test): Likewise.
57920         (casinh_test): Likewise.
57922 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
57924         [BZ #15409]
57925         * math/s_catan.c (__catan): Handle arguments with large real or
57926         imaginary part separately without squaring.
57927         * math/s_catanf.c (__catanf): Likewise.
57928         * math/s_catanh.c (__catanh): Likewise.
57929         * math/s_catanhf.c (__catanhf): Likewise.
57930         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57931         and redefine.
57932         (__catanhl): Handle arguments with large real or imaginary part
57933         separately without squaring.
57934         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
57935         and redefine.
57936         (__catanl): Handle arguments with large real or imaginary part
57937         separately without squaring.
57938         * math/libm-test.inc (catan_test): Add more tests.
57939         (catanh_test): Likewise.
57940         * sysdeps/i386/fpu/libm-test-ulps: Update.
57941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57943 2013-04-27  Andreas Jaeger  <aj@suse.de>
57945         [BZ #15007]
57946         * stdlib/stdlib.h: Update guards for qecvt.
57947         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
57948         <stdlib.h>.
57950 2013-04-27  Allan McRae  <allan@archlinux.org>
57952         * sysdeps/i386/fpu/libm-test-ulps: Update.
57954 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
57956         [BZ #15406]
57957         * math/s_catan.c: Include <float.h>.
57958         (__catan): Ensure underflow exception occurs for underflowed
57959         result.
57960         * math/s_catanf.c: Include <float.h>.
57961         (__catanf): Ensure underflow exception occurs for underflowed
57962         result.
57963         * math/s_catanh.c: Include <float.h>.
57964         (__catanh): Ensure underflow exception occurs for underflowed
57965         result.
57966         * math/s_catanhf.c: Include <float.h>.
57967         (__catanhf): Ensure underflow exception occurs for underflowed
57968         result.
57969         * math/s_catanhl.c: Include <float.h>.
57970         (__catanhl): Ensure underflow exception occurs for underflowed
57971         result.
57972         * math/s_catanl.c: Include <float.h>.
57973         (__catanl): Ensure underflow exception occurs for underflowed
57974         result.
57975         * math/libm-test.inc (catan_test): Add more tests.
57976         (catanh_test): Likewise.
57978         [BZ #15405]
57979         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
57980         underflowed result.
57981         * math/s_ccoshf.c (__ccoshf): Likewise.
57982         * math/s_ccoshl.c (__ccoshl): Likewise.
57983         * math/s_csin.c (__csin): Likewise.
57984         * math/s_csinf.c (__csinf): Likewise.
57985         * math/s_csinh.c (__csinh): Likewise.
57986         * math/s_csinhf.c (__csinhf): Likewise.
57987         * math/s_csinhl.c (__csinhl): Likewise.
57988         * math/s_csinl.c (__csinl): Likewise.
57989         * math/libm-test.inc (ccos_test): Add more tests.
57990         (ccosh_test): Likewise.
57991         (csin_test): Likewise.
57992         (csinh_test): Likewise.
57994 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57996         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
57997         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
57998         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
57999         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58000         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58001         powerpc/power5+/fpu folders.
58002         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58005 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58009 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
58011         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58012         additions to variable.
58013         [$(config-machine) = x86_64] (modules-names): Likewise.
58014         ($(objpfx)tst-audit3): Remove dependency.
58015         ($(objpfx)tst-audit3.out): Likewise.
58016         ($(objpfx)tst-audit4): Likewise.
58017         ($(objpfx)tst-audit4.out): Likewise.
58018         ($(objpfx)tst-audit5): Likewise.
58019         ($(objpfx)tst-audit5.out): Likewise.
58020         ($(objpfx)tst-audit6): Likewise.
58021         ($(objpfx)tst-audit6.out): Likewise.
58022         ($(objpfx)tst-audit7): Likewise.
58023         ($(objpfx)tst-audit7.out): Likewise.
58024         (tst-audit3-ENV): Remove variable.
58025         (tst-audit4-ENV): Likewise.
58026         (tst-audit5-ENV): Likewise.
58027         (tst-audit6-ENV): Likewise.
58028         (tst-audit7-ENV): Likewise.
58029         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58030         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58031         addition to variable.
58032         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58033         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58034         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58035         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58036         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58037         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58038         tst-audit3, tst-audit4 and tst-audit5.
58039         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58040         tst-audit6 and tst-audit7.
58041         [$(subdir) = elf] (modules-names): Add audit modules for those
58042         tests.
58043         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58044         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58045         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58046         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58047         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58048         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58049         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58050         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58051         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58052         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58053         [$(subdir) = elf] (tst-audit3-ENV): New variable.
58054         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58055         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58056         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58057         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58058         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58059         Likewise.
58060         [$(subdir) = elf && $(config-cflags-avx) = yes]
58061         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58062         [$(subdir) = elf && $(config-cflags-avx) = yes]
58063         (CFLAGS-tst-auditmod4a.c): Likewise.
58064         [$(subdir) = elf && $(config-cflags-avx) = yes]
58065         (CFLAGS-tst-auditmod4b.c): Likewise.
58066         [$(subdir) = elf && $(config-cflags-avx) = yes]
58067         (CFLAGS-tst-auditmod6b.c): Likewise.
58068         [$(subdir) = elf && $(config-cflags-avx) = yes]
58069         (CFLAGS-tst-auditmod6c.c): Likewise.
58070         [$(subdir) = elf && $(config-cflags-avx) = yes]
58071         (CFLAGS-tst-auditmod7b.c): Likewise.
58072         * elf/tst-audit3.c: Move to ...
58073         * sysdeps/x86_64/tst-audit3.c: ... here.
58074         * elf/tst-audit4.c: Move to ...
58075         * sysdeps/x86_64/tst-audit4.c: ... here.
58076         * elf/tst-audit5.c: Move to ...
58077         * sysdeps/x86_64/tst-audit5.c: ... here.
58078         * elf/tst-audit6.c: Move to ...
58079         * sysdeps/x86_64/tst-audit6.c: ... here.
58080         * elf/tst-audit7.c: Move to ...
58081         * sysdeps/x86_64/tst-audit7.c: ... here.
58082         * elf/tst-auditmod3a.c: Move to ...
58083         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58084         * elf/tst-auditmod3b.c: Move to ...
58085         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58086         * elf/tst-auditmod4a.c: Move to ...
58087         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58088         * elf/tst-auditmod4b.c: Move to ...
58089         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58090         * elf/tst-auditmod5a.c: Move to ...
58091         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58092         * elf/tst-auditmod5b.c: Move to ...
58093         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58094         * elf/tst-auditmod6a.c: Move to ...
58095         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58096         * elf/tst-auditmod6b.c: Move to ...
58097         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58098         * elf/tst-auditmod6c.c: Move to ...
58099         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58100         * elf/tst-auditmod7a.c: Move to ...
58101         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58102         * elf/tst-auditmod7b.c: Move to ...
58103         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58105 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
58107         [BZ #15366]
58108         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58109         define unconditionally.
58110         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58111         define unconditionally.
58112         (INT8_C, INT16_C, etc.): Likewise.
58114 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
58116         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58117         __ehdr_start with hidden visibility.
58119         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58121 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
58123         * math/libm-test.inc (cos_test): Use accurate hex constants.
58124         (sincost_test): Likewise.
58126 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
58128         * math/libm-test.inc (catan_test): Add more tests.
58129         (catanh_test): Likewise.
58131         * math/s_catanf.c (__catanf): Use suffixed floating-point
58132         constants.
58133         * math/s_catanhf.c (__catanhf): Likewise.
58134         * math/s_catanhl.c (__catanhl): Likewise.
58135         * math/s_catanl.c (__catanl): Likewise.
58137         [BZ #15394]
58138         * math/s_catan.c (__catan): Calculate imaginary part of result
58139         with log1p not log unless computing log of number close to 0.
58140         * math/s_catanf.c (__catanf): Likewise.
58141         * math/s_catanl.c (__catanl): Likewise.
58142         * math/s_catanh.c (__catanh): Calculate real part of result with
58143         log1p not log unless computing log of number close to 0.
58144         * math/s_catanhf.c (__catanhf): Likewise.
58145         * math/s_catanhl.c (__catanhl): Likewise.
58146         * math/libm-test.inc (catan_test): Add more tests.
58147         (catanh_test): Likewise.
58148         * sysdeps/i386/fpu/libm-test-ulps: Update.
58149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58151 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58153         * benchtests/Makefile: Mention files in which fast and slow
58154         paths of math functions are implemented.
58156 2013-04-23  Roland McGrath  <roland@hack.frob.com>
58158         * sysdeps/posix/timespec_get.c: New file.
58160 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58162         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58163         POWER.
58164         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58165         for POWER.
58166         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58167         powerpc/power5/fpu folders.
58168         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58169         * benchtests/Makefile: Add modf testcase.
58170         * benchtests/bench-modf.c: New file: Benchmark test for mo
58172 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58174         [BZ #14888]
58175         * time/Makefile (tests): Add tst-strptime-whitespace.
58176         * time/strptime_l.c (get_number): Use ISSPACE.
58177         (__strptime_internal): Likewise.
58178         * time/tst-strptime-whitespace.c: New test case.
58180 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
58182         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58183         member.
58184         (_nss_files_init): Set it here.
58186 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
58188         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58189         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58190         unsigned.
58192 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
58194         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58196 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58198         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58199         size just once.
58201 2013-04-21  David S. Miller  <davem@davemloft.net>
58203         * po/ru.po: Update Russion translation from translation project.
58205 2013-04-17  Adam Conrad  <adconrad@0c3.net>
58207         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58208         and setfsgid.
58210 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
58212         * configure.in: Remove i386 configure warning. Remove i386 case.
58213         * configure: Regenerate.
58214         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58215         Add example to error message.
58216         * sysdeps/i386/configure: Regenerate.
58218 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58220         * benchtests/Makefile (bench): Add cos, tan, slowcos and
58221         slowtan.
58222         * benchtests/cos-inputs: New file.
58223         * benchtests/slowcos-inputs: New file.
58224         * benchtests/slowcos.c: New file.
58225         * benchtests/slowtan-inputs: New file.
58226         * benchtests/slowtan.c: New file.
58227         * benchtests/tan-inputs: New file.
58229 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58231         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58232         considered kosher.
58234 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58236         * benchtests/Makefile: Include cppflags-iterator.mk to add
58237         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58239         * Makefile.in (bench-clean): New target.
58240         * benchtests/Makefile (bench-clean): Likewise.
58242 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58244         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58246 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58248         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58250 2013-04-15  Andreas Schwab  <schwab@suse.de>
58252         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58253         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58254         * nscd/pwdcache.c (cache_addpw): Likewise.
58255         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58256         more than recsize.
58258 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58260         * benchtests/Makefile (bench): Write all output to
58261         bench-out.tmp together.
58263 2013-04-15  Andreas Schwab  <schwab@suse.de>
58265         * nscd/nscd.c (main): Don't fork again after closing files.
58267 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58269         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58271         * benchtests/Rules (bench-deps): Collect dependencies into a
58272         single variable.  Add Makefile to dependencies.
58273         ($(objpfx)bench-%.c): Depend on bench-deps.
58275 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58276             Xavier Roche  <roche+kml2@exalead.com>
58278         [BZ #15361]
58279         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58280         just that it's a file descriptor.
58281         * manual/llio.texi (Synchronizing AIO Operations): Update description
58282         for EBADF error from aio_fsync.
58284 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58286         * Rules (bench): Move target definition...
58287         * benchtests/Makefile: ... here.
58289 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58291         * math/libm-test.inc (cos_test): Fix PI/2 test.
58292         (sincos_test): Likewise.
58293         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58294         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58296 2013-04-11  Andreas Schwab  <schwab@suse.de>
58298         [BZ #13988]
58299         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58300         accept exponent character only when digits were seen.
58301         * stdio-common/Makefile (tests): Add bug26.
58302         * stdio-common/bug26.c: New file.
58304         [BZ #14293]
58305         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58306         non-freeable.
58308 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58310         * Makeconfig (rtld-prefix): Define built linker prefix.
58311         * Rules (run-bench): Use it.
58312         * math/Makefile (run-regen-ulps): Likewise.
58314         * Rules (bench): Remove eval.
58316 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58317             Roland McGrath  <roland@hack.frob.com>
58318             Ondrej Bilka  <neleai@seznam.cz>
58320         [BZ #15346]
58321         * time/getdate.c: Include ctype.h and alloca.h.
58322         (__getdate_r): Trim leading and trailing spaces of input.
58323         * time/tst-getdate.c (tests): Add tests with leading and
58324         trailing spaces.
58326 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58328         [BZ #14280]
58329         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58330         when computing value.
58332 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58334         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58335         Use testrun.sh to run libm tests.
58337         [BZ #15309]
58338         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58340 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58342         [BZ #15264]
58343         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58345 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58347         * Makefile.in (regen-ulps): New target.
58348         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58349         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58350         [ifneq (no,$(PERL)] (regen-ulps): New target.
58351         [ifeq (no,$(PERL)] (regen-ulps): New target.
58352         * math/libm-test.inc (ulps_file_name): Define.
58353         (output_dir): New variable.
58354         (options): Add "output-dir" option.
58355         (parse_opt): Handle 'o' case.
58356         (main): If output_dir is non-NULL use it as a prefix
58357         otherwise use "".
58358         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58360 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58362         [BZ #10060, #10062]
58363         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58364         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58365         fail configure if __sync_val_compare_and_swap is not inlined.
58366         * sysdeps/i386/configure: Regenerate.
58367         * configure.in: Build for i686 when configured for i386.
58368         * configure: Regenerate.
58369         * README: Remove i386 reference.
58371 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58373         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58374         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58376 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58378         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58379         (lmsnanval): New variables.
58380         (F): Add conversion tests.
58381         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58382         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58384         * stdio-common/tstdiomisc.c (F): Properly collect individual
58385         tests' results.
58387         [BZ #14686, #15336]
58388         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58389         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58390         Instead, use input NaN values or generate a qNaN by arithmetic
58391         operation.  Also fix bugs to comply with the standard.
58392         * math/libm-test.inc (remainder_test): Add more tests.
58394         [BZ #15335, #15342]
58395         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58396         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58397         input NaN values or generate a qNaN by arithmetic operation.
58399         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58400         unreachable code.
58402         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58403         definitions.
58405 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58407         [BZ #14478]
58408         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58409         underflowed result.
58410         * math/s_cexpf.c (__cexpf): Likewise.
58411         * math/s_cexpl.c (__cexpl): Likewise.
58412         * math/libm-test.inc (cexp_test): Add more tests.
58414 2013-04-03  Andreas Schwab  <schwab@suse.de>
58416         [BZ #15330]
58417         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58418         order arrays from heap if bigger than alloca cutoff.
58420 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58422         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58423         (SNAN_TESTS_double): Refer to GCC PR56831.
58424         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58425         GCC PR56828.
58427 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58429         * Rules (bench): Move bench.out after the run is complete.
58431         * Rules (bench): Echo currently running benchmark.
58433         * benchtests/Makefile (bench): Add atan and slowatan.
58434         * benchtests/atan-inputs: New file.
58435         * benchtests/slowatan-inputs: New file.
58436         * benchtests/slowatan.c: New file.
58438         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58439         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58440         its value.
58442         [BZ #15305]
58443         * sysdeps/unix/sysv/linux/kernel-features.h
58444         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58445         __ASSUME_XFS_RESTRICTED_CHOWN.
58446         * sysdeps/unix/sysv/linux/pathconf.c
58447         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58448         Save and restore errno.
58450 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58452         [BZ #15327]
58453         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58454         arguments using __kernel_casinh.
58455         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58456         arguments using __kernel_casinhf.
58457         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58458         arguments using __kernel_casinhl.
58459         * math/libm-test.inc (cacosh_test): Add more tests.
58460         * sysdeps/i386/fpu/libm-test-ulps: Update.
58461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58463 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58465         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58466         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58468         * bench/Makefile (bench): Add sin and slowsin.
58469         * benchtests/sin-inputs: New file.
58470         * benchtests/slowsin-inputs: New file.
58471         * benchtests/slowsin.c: New file.
58473         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58474         (bench): Add slowexp and slowpow.
58475         (exp-ITER): Increase iterations.
58476         (pow-ITER): Likewise.
58477         * benchtests/exp-inputs: Change input.
58478         * benchtests/pow-inputs: Likewise.
58479         * benchtests/slowexp-inputs: New file.
58480         * benchtests/slowexp.c: New file.
58481         * benchtests/slowpow-inputs: New file.
58482         * benchtests/slowpow.c: New file.
58484 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58486         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58487         instructions.
58488         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58489         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58490         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58491         * benchtests/Makefile: Add rint benchtest.
58492         * benchtests/rint-inputs: Input for rint benchtest.
58494 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58496         * Versions.def (libm): Add GLIBC_2.18.
58497         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58498         hidden libm prototypes.
58499         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58500         * math/Makefile (libm-calls): Add s_issignaling.
58501         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58502         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58503         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58504         declaration.
58505         * math/math.h [__USE_GNU] (issignaling): New macro.
58506         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58507         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58508         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58509         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58510         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58511         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58512         * manual/arith.texi (issignaling): New section.
58513         * manual/libm-err-tab.pl (@all_functions): Update comment.
58514         * math/gen-libm-test.pl (parse_args): Apply special handling for
58515         issignaling.
58516         * math/libm-test.inc (print_float, issignaling_test): New
58517         functions.
58518         (check_float_internal): Add issignaling checks.
58519         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58520         default definition.
58521         * sysdeps/powerpc/math-tests.h: New file.
58522         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58523         tests.
58524         * math/test-snan.c (TEST_FUNC): Likewise.
58526 2013-03-30  David S. Miller  <davem@davemloft.net>
58528         * po/de.po: Update from translation team.
58530 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58532         [BZ #10357]
58533         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58534         imaginary part less than 1.0 and real part less than 0.5
58535         specially.
58536         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58537         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58538         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58539         (cacos_test): Add more tests.
58540         (casin_test): Likewise.
58541         (casinh_test): Likewise.
58542         * sysdeps/i386/fpu/libm-test-ulps: Update.
58543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58545 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58547         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58548         ONE with its value.
58550         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58551         (__pow_mp): Replace ONE and MONE with their values.
58552         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58553         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58554         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58555         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58556         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58557         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58559         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58561         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58562         (__pow_mp): Replace ZERO and MZERO with their values.
58563         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58564         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58565         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58566         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58567         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58568         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58569         (__sqr): Likewise.
58571         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58573         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58575 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58577         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58578         Declare with __attribute__ ((weak)).
58579         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58580         Call __call_tls_dtors only if it's not NULL.
58582 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58584         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58585         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58586         magic __ehdr_start linker symbol if it's defined.
58587         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58588         them up here if it was already done.
58590         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58591         (_dl_aux_init): Use const in cast when setting it.
58592         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58593         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58594         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58596         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58597         Declare them here.
58598         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58599         * csu/libc-tls.c: Nor here.
58600         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58602         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58603         (__libc_message): Never call vsyslog.
58605 2013-03-28  Alan Modra  <amodra@gmail.com>
58607         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58608         Define as empty.
58609         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58610         Likewise.
58612 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58614         [BZ #15214]
58615         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58616         underflow.
58617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58619 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58621         [BZ #15304]
58622         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58623         Don't add gid passed as argument.
58625         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58627 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58629         [BZ #15307]
58630         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58631         imaginary part between 1.0 and 1.5 and real part less than 0.5
58632         specially.
58633         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58634         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58635         * math/libm-test.inc (cacos_test): Add more tests.
58636         (casin_test): Likewise.
58637         (casinh_test): Likewise.
58638         * sysdeps/i386/fpu/libm-test-ulps: Update.
58639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58641 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58643         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58644         constants.
58645         (norm): Likewise.
58646         (denorm): Likewise.
58647         (__dbl_mp): Likewise.
58648         (add_magnitudes): Likewise.
58649         (sub_magnitudes): Likewise.
58650         (__add): Likewise.
58651         (__sub): Likewise.
58652         (__mul): Likewise.
58653         (__sqr): Likewise.
58654         (__inv): Likewise.
58655         (__dvd): Likewise.
58657         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58658         commented code.
58659         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58660         (__dubcos): Likewise.
58661         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58662         (__ieee754_acos): Likewise.
58663         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58664         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58665         (__exp1): Likewise.
58666         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58667         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58668         (log1): Likewise.
58669         (my_log2): Likewise.
58670         (checkint): Likewise.
58671         * sysdeps/ieee754/dbl-64/e_remainder.c
58672         (__ieee754_remainder): Likewise.
58673         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58674         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58675         (bsloww): Likewise.
58676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58678         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58679         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58680         MANTISSA_STORE_T to store computations on mantissa.  Use
58681         macros for rounding and division.
58682         (denorm): Likewise.
58683         (__dbl_mp): Likewise.
58684         (add_magnitudes): Likewise.
58685         (sub_magnitudes): Likewise.
58686         (__mul): Likewise.
58687         (__sqr): Likewise.
58688         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58689         powers of two in terms of TWOPOW macro.
58690         (mp_no): Make type of mantissa as MANTISSA_T.
58691         [!RADIXI]: Define RADIXI.
58692         [!TWO52]: Define TWO52.
58693         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58695 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58697         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58698         llroundl symbol when building for PPC32.
58700 2013-03-24  Mark H Weaver  <mhw@netris.org>
58702         * manual/arith.texi (Normalization Functions): Fix prototypes for
58703         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58705 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58707         [BZ #13889]
58708         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58709         high value to check if expl overflow.
58710         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58711         to check for underflow and overflow.
58712         * math/libm-test.inc: Add exp test.
58714 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
58716         [BZ #11120]
58717         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58718         with NOT_IN_libc.
58720 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58722         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58723         symbol.
58725 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
58727         * math/gen-libm-test.pl (parse_args, special_functions): Properly
58728         wrap blocks consisting of several statements.
58730         * sysdeps/generic/math-tests.h: New file.
58731         * sysdeps/i386/fpu/math-tests.h: Likewise.
58732         * math/test-snan.c: Include it.
58733         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58735 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58737         [BZ #15285]
58738         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58739         (__ieee754_j0l): Do not improve calculations using cos of twice
58740         input for inputs above LDBL_MAX / 2.0L.
58741         (__ieee754_y0l): Likewise.
58742         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58743         (__ieee754_j1l): Do not improve calculations using cos of twice
58744         input for inputs above LDBL_MAX / 2.0L.
58745         (__ieee754_y1l): Likewise.
58746         * math/libm-test.inc (j0_test): Add another test.
58747         (j1_test): Likewise.
58748         (y0_test): Likewise.
58749         (y1_test): Likewise.
58750         * sysdeps/i386/fpu/libm-test-ulps: Update.
58752 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58754         * Rules ($(objpfx)bench-%.c): Include code from a C source
58755         file.
58757 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
58759         [BZ #15287]
58760         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58761         imaginary part 1.0 and real part less than 0.5 specially.
58762         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58763         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58764         * math/libm-test.inc (cacos_test): Add more tests.
58765         (casin_test): Likewise.
58766         (casinh_test): Likewise.
58767         * sysdeps/i386/fpu/libm-test-ulps: Update.
58768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58770 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
58772         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
58773         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
58775 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
58777         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
58778         * config.make.in (config-cflags-sse4): Remove variable.
58779         (config-cflags-avx): Likewise.
58780         (config-cflags-sse2avx): Likewise.
58781         (config-cflags-novzeroupper): Likewise.
58782         (config-asflags-i686): Likewise.
58783         (have-mfma4): Likewise.
58784         (have-as-vis3): Likewise.
58785         (MIG): Likewise.
58786         * configure.in (MIG): Do not AC_SUBST.
58787         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
58788         (libc_cv_cc_sse4): Do not AC_SUBST.
58789         (libc_cv_cc_avx): Likewise.
58790         (libc_cv_cc_sse2avx): Likewise.
58791         (libc_cv_cc_novzeroupper): Likewise.
58792         (libc_cv_cc_fma4): Likewise.
58793         (libc_cv_as_i686): Likewise.
58794         (libc_cv_sparc_as_vis3): Likewise.
58795         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
58796         LIBC_CONFIG_VAR.
58797         (config-asflags-i686): Likewise.
58798         (config-cflags-avx): Likewise.
58799         (config-cflags-sse2avx): Likewise.
58800         (have-mfma4): Likewise.
58801         (config-cflags-novzeroupper): Likewise.
58802         * sysdeps/mach/configure.in (MIG): Likewise.
58803         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
58804         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
58805         LIBC_CONFIG_VAR.
58806         (config-cflags-avx): Likewise.
58807         (config-cflags-sse2avx): Likewise.
58808         (have-mfma4): Likewise.
58809         (config-cflags-novzeroupper): Likewise.
58810         * configure: Regenerated.
58811         * sysdeps/i386/configure: Likewise.
58812         * sysdeps/mach/configure: Likewise.
58813         * sysdeps/sparc/configure: Likewise.
58814         * sysdeps/x86_64/configure: Likewise.
58816 2013-03-20  Roland McGrath  <roland@hack.frob.com>
58818         [BZ #14812]
58819         * locale/programs/localedef.c (options): Put N_ translation marker
58820         on argument names, not just descriptions.
58822 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58824         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
58826 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
58828         [BZ #14176]
58829         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
58831 2013-03-19  Roland McGrath  <roland@hack.frob.com>
58833         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
58834         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
58835         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
58836         [!BEFORE_ABORT] (before_abort): New function.
58837         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
58838         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
58839         (writev_for_fatal): New function.
58840         (WRITEV_FOR_FATAL): New macro; call that.
58841         (backtrace_and_maps): New function.
58842         (BEFORE_ABORT): New macro; call that.
58843         (struct str_list): Type removed.
58844         (__libc_message, __libc_fatal): Functions removed.
58845         Include <sysdeps/posix/libc_fatal.c> instead.
58847 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
58849         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
58850         constants.
58851         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
58852         double constants.
58854 2013-03-19  Andreas Schwab  <schwab@suse.de>
58856         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
58857         * sysdeps/gnu/configure: Regenerate.
58859         * configure.in: Substitute libc_cv_rtlddir.
58860         * configure: Regenerate.
58861         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
58862         * Makeconfig (rtlddir, inst_rtlddir): New variables.
58863         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
58864         * elf/Makefile (install-others, CFLAGS-interp.c)
58865         (ldso_install, common-ldd-rewrite): Likewise.
58866         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
58867         $(inst_slibdir)/$(rtld-installed-name).
58868         * scripts/rellns-sh: Add -p option.
58869         * Makerules (make-shlib-link): Use rellns-sh to get relative name
58870         for source.
58872 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
58874         * manual/nptl.texi: Renamed to ...
58875         * manual/threads.texi: ... this.
58876         * manual/Makefile (chapters): Update.
58878 2013-03-18  Roland McGrath  <roland@hack.frob.com>
58880         [BZ #14812]
58881         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
58882         on argument names, not just descriptions.
58883         * malloc/memusagestat.c (options): Likewise.
58884         * nss/getent.c (options): Likewise.
58886 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
58888         [BZ #14812]
58889         * iconv/iconv_prog.c (options): Put N_ translation marker
58890         on argument names, not just descriptions.
58891         * iconv/iconvconfig.c (options): Likewise.
58893 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
58895         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
58896         implementation which is faster on all x86_64 architectures.
58897         Tested on AMD, Intel Nehalem, SNB, IVB.
58898         * sysdeps/x86_64/strnlen.S: Likewise.
58900         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
58901         Remove all multiarch strlen and strnlen versions.
58902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58903         Remove strlen and strnlen related parts.
58905         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
58906         Inline strlen part.
58907         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
58909         * sysdeps/x86_64/multiarch/strlen.S: Remove.
58910         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
58911         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
58912         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
58913         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
58914         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
58916 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
58918         * manual/memory.texi (Malloc Tunable Parameters):
58919         Sort parameters alphabetically. Add comments for missing entries.
58921 2013-03-17  David S. Miller  <davem@davemloft.net>
58923         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58925 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
58927         [BZ #15283]
58928         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
58929         for arguments at most half maximum finite value.
58930         * math/libm-test.inc (j0_test): Add more tests.
58931         (j1_test): Likewise.
58932         (y0_test): Likewise.
58933         (y1_test): Likewise.
58934         * sysdeps/i386/fpu/libm-test-ulps: Update.
58935         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58937         [BZ #14155]
58938         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
58939         1 / x and functions P and Q for arguments above 0x1p256L.
58940         (__ieee754_y0l): Likewise.
58941         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
58942         (__ieee754_y1l): Likewise.
58943         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
58944         (j1_test): Likewise.
58945         (y0_test): Likewise.
58946         (y1_test): Likewise.
58948 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
58950         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
58951         variable.
58953 2013-03-15  Roland McGrath  <roland@hack.frob.com>
58955         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
58956         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
58957         zero since it's initialized to EXEC_PAGESIZE.
58959         * sysdeps/unix/sysv/linux/ldsodefs.h
58960         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
58961         * sysdeps/generic/ldsodefs.h: ... here.
58963 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
58965         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
58967         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
58968         math/test-snan.c.
58969         * math/test-snan.c: Renamed from
58970         sysdeps/powerpc/fpu/test-powerpc-snan.c.
58971         * math/Makefile (tests): Add test-snan.
58972         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
58973         test-powerpc-snan.
58975         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
58976         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
58977         functions.
58978         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
58979         __builtin_nan family of functions.
58980         * math/libm-test.inc (initialize): Initialize qnan_value with
58981         __builtin_nan family of functions.
58982         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
58983         Remove variables.
58984         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
58985         Remove functions.
58986         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
58987         storage class.  Initialize qNaN_var and sNaN_var with
58988         __builtin_nan and __builtin_nans families of functions,
58989         respectively.
58991         * math/libm-test.inc (acosh_test): Also test with qNaN input.
58992         (sqrt_test): Remove duplicate test with qNaN input.
58993         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
58994         (round_test, signbit_test, significand_test): Note missing +/-Inf
58995         as well as qNaN tests.
58997         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
58998         qNaN_var.  Fix a few strings, too.
58999         * math/libm-test.inc (nan_value): Rename to qnan_value.
59000         * math/gen-libm-test.pl (%beautify): Adjust to that.
59001         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59002         * math/test-misc.c (main): Likewise.
59003         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59004         to __qnan_bytes, and __qnan_union, respectively.
59005         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59006         Likewise.
59007         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59008         and lqnanval, respectively.
59009         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59010         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59011         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59012         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59014         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59015         * math/test-misc.c (main) [__x86_64__]: Enable test for long
59016         doubles.
59018         * math/test-misc.c (main): Fix copy'n'pastos.
59019         * misc/tst-efgcvt.c (special): Likewise.
59021         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59022         Remove declarations.
59024 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59026         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59027         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59028         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59029         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59031 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59033         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59034         macro to return vdso values correctly in IFUNC implementations.
59035         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59036         Optimization by using IFUNC.
59038 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59039             Richard Henderson  <rth@redhat.com>
59040             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59042         * Makefile.in (bench): New target.
59043         * NEWS: Mention the benchmark framework.
59044         * Rules (bench): Likewise.
59045         (binaries-bench): Generate binaries for functions to
59046         benchmark.
59047         * benchtests/Makefile: New makefile for benchmark tests.
59048         * benchtests/bench-skeleton.c: New skeleton file for benchmark
59049         programs.
59050         * benchtests/exp-inputs: New input file for EXP function.
59051         * benchtests/pow-inputs: New input file for POW function.
59052         * scripts/bench.pl: New script to generate source files for
59053         benchmark programs.
59055 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59057         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59058         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59059         computations on mantissa.  Use macros for rounding and
59060         division.
59061         (denorm): Likewise.
59062         (__dbl_mp): Likewise.
59063         (add_magnitudes): Likewise.
59064         (sub_magnitudes): Likewise.
59065         (__mul): Likewise.
59066         (__sqr): Likewise.
59067         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59068         powers of two in terms of TWOPOW macro.
59069         (mp_no): Make type of mantissa as MANTISSA_T.
59070         [!RADIXI]: Define RADIXI.
59071         [!TWO52]: Define TWO52.
59072         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59074         * manual/nptl.texi (cindex): Modify threads to pthreads.
59076 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
59078         * sysdeps/x86_64/preconfigure: Regenerated.
59080 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
59082         [BZ #14155]
59083         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59084         0x1p28 and above.
59085         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59086         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59087         0x1p28 and above.
59088         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59089         * math/libm-test.inc (j0_test): Do not allow one spurious
59090         underflow exception.
59091         (y1_test): Likewise.
59093 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59095         * manual/Makefile (chapters): Add nptl.
59096         * manual/debug.texi (Debugging Support): Add link to Threads
59097         chapter.
59098         * manual/nptl.texi: New file.
59100         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59102 2013-03-14  Petr Baudis  <pasky@ucw.cz>
59104         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59105         for non-NULL pointer before the memory validity test. Pointed
59106         out by Holger Brunck <holger.brunck@keymile.com>.
59108 2013-03-13  Andreas Schwab  <schwab@suse.de>
59110         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59111         instead of .os.
59113 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
59115         * timezone/zic.c: Update from tzcode 2013b.
59117 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
59119         * manual/install.texi (Configuring and compiling):
59120         Mention i686 and i586.
59121         * INSTALL: Regenerate.
59123 2013-03-12  Roland McGrath  <roland@hack.frob.com>
59125         * sysdeps/init_array/elf-init.c: New file.
59126         * csu/elf-init.c
59127         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59128         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59130         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59131         __gmon_start__ as global, but as static with a .preinit_array pointer.
59132         * sysdeps/init_array/gmon-start.c: New file.  Use that.
59133         * sysdeps/init_array/crti.S: New file, empty except for comments.
59134         * sysdeps/init_array/crtn.S: Likewise.
59136 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
59138         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59139         definining bcopy.
59140         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59141         Remove Prefer_SSE_for_memop.
59142         * sysdeps/x86_64/multiarch/init-arch.h: Remove
59143         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59144         HAS_PREFER_SSE_FOR_MEMOP.
59145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59146         memset-x86-64.
59147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59148         Remove bzero, memset ifunc support.
59149         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59150         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59151         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59152         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59154 2013-03-11  Andreas Schwab  <schwab@suse.de>
59156         [BZ #15234]
59157         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59158         by SHLIB_COMPAT.
59159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59160         (GLIBC_2.16): Remove pthread_atfork.
59162 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
59164         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59165         (ptestcases.h): Likewise.
59167 2013-03-08  Roland McGrath  <roland@hack.frob.com>
59169         * Makeconfig ($(common-objpfx)config.status): Depend on
59170         sysdeps/*/preconfigure{,.in} too.
59172 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
59174         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59175         (__free_hook): Use void * instead of __malloc_ptr_t.
59176         (__malloc_hook): Likewise.
59177         (__realloc_hook): Likewise.
59178         (__memalign_hook): Likewise.
59179         (__after_morecore_hook): Likewise.
59180         * malloc/arena.c (save_malloc_hook): Likewise.
59181         (save_free_hook): Likewise.
59182         * malloc/hooks.c (malloc_hook_ini): Likewise.
59183         (realloc_hook_ini): Likewise.
59184         (memalign_hook_ini): Likewise.
59185         * malloc/malloc.c (malloc_hook_ini): Likewise.
59186         (realloc_hook_ini): Likewise.
59187         (memalign_hook_ini): Likewise.
59188         (__free_hook): Likewise.
59189         (__malloc_hook): Likewise.
59190         (__realloc_hook): Likewise.
59191         (__memalign_hook): Likewise.
59192         (__libc_malloc): Likewise.
59193         (__libc_free): Likewise.
59194         (__libc_realloc): Likewise.
59195         (__libc_memalign): Likewise.
59196         (__libc_valloc): Likewise.
59197         (__libc_pvalloc): Likewise.
59198         (__libc_calloc): Likewise.
59199         (__posix_memalign): Likewise.
59200         * malloc/morecore.c (__sbrk): Likewise.
59201         (__default_morecore): Likewise.
59203         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59205         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59206         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59207         __malloc_ptrdiff_t.
59209         * malloc/malloc.h (__malloc_size_t): Remove macro.
59210         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59211         __malloc_size_t.
59212         (old_memalign_hook): Likewise.
59213         (old_realloc_hook): Likewise.
59214         (struct hdr): Likewise.
59215         (flood): Likewise.
59216         (mallochook): Likewise.
59217         (memalignhook): Likewise.
59218         (reallochook): Likewise.
59219         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59220         (tr_old_realloc_hook): Likewise.
59221         (tr_old_memalign_hook): Likewise.
59222         (tr_mallochook): Likewise.
59223         (tr_reallochook): Likewise.
59224         (tr_memalignhook): Likewise.
59226 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59228         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59229         default_ldbl_pack and using as default implementation.
59230         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59231         implementation.
59232         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59233         redundant definition.
59234         (ldbl_insert_mantissa): Likewise.
59235         (ldbl_canonicalize): Likewise.
59236         (ldbl_nearbyint): Likewise.
59237         (ldbl_pack): Rename to ldbl_pack_ppc.
59238         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59239         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59240         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59242 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59244         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59245         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59246         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59247         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59248         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59249         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59250         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59251         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59253 2013-03-07  Andreas Jaeger  <aj@suse.de>
59255         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59256         bits/mman-linux.h.
59258 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59260         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59261         Include mpa.h and declare __MPEXP.
59262         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59264         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59265         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59266         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59267         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59268         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59270         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59271         (__slowpow): Use long double EXPL and LOGL functions to
59272         compute POW.
59273         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59274         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59275         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59276         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59277         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59278         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59280         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59281         intermediate variable to calculate exponent.
59282         (__sqr): Likewise.
59283         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59284         Likewise.
59285         (__sqr): Likewise.
59287         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59288         [!NO__SQR]: Define __sqr.
59289         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59290         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59291         sysdeps/ieee754/dbl-64/mpa.c.
59292         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59294         [BZ #12723]
59295         * posix/Makefile (tests): Add tst-pathconf.
59296         * posix/tst-pathconf.c: New test case.
59297         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59298         _PC_PIPE_BUF.
59299         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59301 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59303         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59305 2013-03-06  Andreas Jaeger  <aj@suse.de>
59307         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59308         definition via __MAP_ANONYMOUS.
59310         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59311         it's not part of Linux headers.
59313         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59314         (MAP_HUGE_MASK): Define.
59316         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59317         Define.
59318         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59319         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59320         Define.
59321         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59322         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59323         Define.
59324         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59325         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59326         Define.
59327         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59329         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59330         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59331         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59332         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59333         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59334         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59336         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59337         Handle f2fs.
59339         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59340         Handle f2fs and efivarfs.
59342         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59343         f2fs.
59345         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59346         (EFIVARFS_MAGIC): Add.
59347         (F2FS_LINK_MAX): Add.
59349 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59351         * stdio-common/vfprintf.c: Replace __builtin_expect with
59352         __glibc_unlikely.
59354 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59356         [BZ #13550]
59357         * sysdeps/generic/bp-sym.h: Remove file.
59358         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59359         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59360         <bp-sym.h> and <bp-asm.h>.
59361         (__longjmp): Don't use BP_SYM.
59362         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59363         and <bp-asm.h>.
59364         (memcpy): Don't use BP_SYM.
59365         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59366         <bp-sym.h> and <bp-asm.h>.
59367         (memcpy): Don't use BP_SYM.
59368         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59369         <bp-asm.h>.
59370         (memcpy): Don't use BP_SYM.
59371         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59372         <bp-asm.h>.
59373         (memset): Don't use BP_SYM.
59374         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59375         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59376         (__bzero): Don't use BP_SYM.
59377         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59378         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59379         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59380         <bp-sym.h> and <bp-asm.h>.
59381         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59382         pointers.
59383         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59384         <bp-sym.h> and <bp-asm.h>.
59385         (memcpy): Don't use BP_SYM.
59386         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59387         <bp-sym.h> and <bp-asm.h>.
59388         (memset): Don't use BP_SYM.
59389         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59390         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59391         (__bzero): Don't use BP_SYM.
59392         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59393         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59394         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59395         <bp-sym.h> and <bp-asm.h>.
59396         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59397         pointers.
59398         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59399         <bp-sym.h> and <bp-asm.h>.
59400         (memcpy): Don't use BP_SYM.
59401         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59402         <bp-sym.h> and <bp-asm.h>.
59403         (memset): Don't use BP_SYM.
59404         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59405         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59406         (__bzero): Don't use BP_SYM.
59407         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59408         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59410         <bp-sym.h> and <bp-asm.h>.
59411         (__memchr): Don't use BP_SYM.
59412         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59413         <bp-sym.h> and <bp-asm.h>.
59414         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59415         pointers.
59416         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59417         <bp-sym.h> and <bp-asm.h>.
59418         (memcpy): Don't use BP_SYM.
59419         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59420         <bp-sym.h> and <bp-asm.h>.
59421         (__mempcpy): Don't use BP_SYM.
59422         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59423         <bp-sym.h> and <bp-asm.h>.
59424         (__memrchr): Don't use BP_SYM.
59425         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59426         <bp-sym.h> and <bp-asm.h>.
59427         (memset): Don't use BP_SYM.
59428         (__bzero): Likewise.
59429         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59430         <bp-sym.h> and <bp-asm.h>.
59431         (__rawmemchr): Don't use BP_SYM.
59432         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59433         <bp-sym.h> and <bp-asm.h>.
59434         (__STRCMP): Don't use BP_SYM.
59435         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59436         <bp-sym.h> and <bp-asm.h>.
59437         (strchr): Don't use BP_SYM.
59438         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59439         <bp-sym.h> and <bp-asm.h>.
59440         (__strchrnul): Don't use BP_SYM.
59441         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59442         <bp-sym.h> and <bp-asm.h>.
59443         (strlen): Don't use BP_SYM.
59444         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59445         <bp-sym.h> and <bp-asm.h>.
59446         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59447         pointers.
59448         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59449         <bp-sym.h> and <bp-asm.h>.
59450         (__strnlen): Don't use BP_SYM.
59451         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59452         <bp-sym.h> and <bp-asm.h>.
59453         (__GI__setjmp): Don't use BP_SYM.
59454         (_setjmp): Likewise.
59455         (__sigsetjmp): Likewise.
59456         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59457         (L(start_addresses)): Don't use BP_SYM.
59458         (_start): Likewise.
59459         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59460         <bp-asm.h>.
59461         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59462         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59463         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59464         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59465         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59466         <bp-asm.h>.
59467         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59468         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59469         about bounded pointers.
59470         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59471         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59472         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59473         <bp-asm.h>.
59474         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59475         about bounded pointers.  Remove GKM FIXME comments.
59476         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59477         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59478         <bp-asm.h>.
59479         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59480         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59481         Remove GKM FIXME comments.
59482         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59483         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59484         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59485         <bp-asm.h>.
59486         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59487         about bounded pointers.  Remove GKM FIXME comment.
59488         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59489         and <bp-asm.h>.
59490         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59491         pointers.
59492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59493         <bp-sym.h> and <bp-asm.h>.
59494         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59496         <bp-sym.h> and <bp-asm.h>.
59497         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59498         comment.
59500 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59502         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59503         call free(NULL).
59505 2013-03-05  David S. Miller  <davem@davemloft.net>
59507         * po/es.po: Update from translation team.
59509 2013-03-05  Andreas Jaeger  <aj@suse.de>
59511         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59512         <bits/mman-linux.h>.
59513         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59514         is fine.
59515         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59516         <bits/mman-linux.h> to end of file.
59517         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59518         is fine.
59519         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59520         <bits/mman-linux.h> to end of file.
59521         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59522         is fine.
59523         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59524         <bits/mman-linux.h> to end of file.
59526         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59527         (MCL_CURRENT, MCL_FUTURE): Define here.
59529 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59531         [BZ #15232]
59532         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59533         attribute_hidden.
59534         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59536 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59538         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59539         fourth parameter needed for rt_sigprocmask syscall.
59540         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59541         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59542         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59543         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59544         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59545         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59547 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59549         [BZ #13550]
59550         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59551         comment about bounded pointers.
59552         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59553         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59555 2013-03-04  Andreas Jaeger  <aj@suse.de>
59557         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59558         common definitions.
59560         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59561         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59562         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59563         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59564         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59565         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59567 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59569         [BZ #15055]
59570         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59571         __ieee754_sqrl instead of __sqrl.
59573 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59575         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59576         * sysdeps/powerpc/fpu_control.h: ... here.
59577         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59578         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59579         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59580         * sysdeps/powerpc/bits/mathinline.h: ... here.
59582 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59584         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59585         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59586         to just [NEED_DL_SYSINFO_DSO].
59587         * elf/dl-support.c: Likewise.
59588         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59589         * elf/rtld.c (dl_main): Likewise.
59590         * elf/setup-vdso.h (setup_vdso): Likewise.
59591         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59592         * sysdeps/unix/sysv/linux/dl-sysdep.c
59593         (_dl_discover_osversion): Likewise.
59595 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59597         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59598         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59600 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59602         * NEWS: Mention libm performance improvements and non-x86 PI
59603         futex support.
59605         * csu/libc-start.c (__pthread_initialize_minimal): Change
59606         function arguments.
59607         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59609 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59611         [BZ #13550]
59612         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59613         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59614         <bp-sym.h> and <bp-asm.h>.
59615         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59616         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59617         and <bp-asm.h>.
59618         (memcpy): Don't use BP_SYM.
59619         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59620         <bp-asm.h>.
59621         (__mpn_add_n): Don't use BP_SYM.
59622         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59623         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59624         and <bp-asm.h>.
59625         (__mpn_addmul_1): Don't use BP_SYM.
59626         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59627         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59628         <bp-sym.h>.
59629         (_setjmp): Don't use BP_SYM.
59630         (__novmx_setjmp): Likewise.
59631         (__GI__setjmp): Likewise.
59632         (__vmx_setjmp): Likewise.
59633         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59634         <bp-sym.h>.
59635         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59636         (__bzero): Don't use BP_SYM.
59637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59639         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59640         <bp-sym.h> and <bp-asm.h>.
59641         (memcpy): Don't use BP_SYM.
59642         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59643         <bp-sym.h> and <bp-asm.h>.
59644         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59645         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59646         <bp-sym.h> and <bp-asm.h>.
59647         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59648         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59649         <bp-asm.h>.
59650         (__mpn_lshift): Don't use BP_SYM.
59651         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59652         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59653         <bp-asm.h>.
59654         (memset): Don't use BP_SYM.
59655         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59656         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59657         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59658         <bp-asm.h>.
59659         (__mpn_mul_1): Don't use BP_SYM.
59660         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59661         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59662         <bp-sym.h> and <bp-asm.h>.
59663         (memcmp): Don't use BP_SYM.
59664         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59665         <bp-sym.h> and <bp-asm.h>.
59666         (memcpy): Don't use BP_SYM.
59667         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59668         <bp-sym.h> and <bp-asm.h>.
59669         (memset): Don't use BP_SYM.
59670         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59671         <bp-sym.h> and <bp-asm.h>.
59672         (strncmp): Don't use BP_SYM.
59673         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59674         <bp-sym.h> and <bp-asm.h>.
59675         (memcpy): Don't use BP_SYM.
59676         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59677         <bp-sym.h> and <bp-asm.h>.
59678         (memset): Don't use BP_SYM.
59679         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59680         <bp-sym.h> and <bp-asm.h>.
59681         (__memchr): Don't use BP_SYM.
59682         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59683         <bp-sym.h> and <bp-asm.h>.
59684         (memcmp): Don't use BP_SYM.
59685         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59686         <bp-sym.h> and <bp-asm.h>.
59687         (memcpy): Don't use BP_SYM.
59688         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59689         <bp-sym.h> and <bp-asm.h>.
59690         (__mempcpy): Don't use BP_SYM.
59691         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59692         <bp-sym.h> and <bp-asm.h>.
59693         (__memrchr): Don't use BP_SYM.
59694         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59695         <bp-sym.h> and <bp-asm.h>.
59696         (memset): Don't use BP_SYM.
59697         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59698         <bp-sym.h> and <bp-asm.h>.
59699         (__rawmemchr): Don't use BP_SYM.
59700         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59701         <bp-sym.h> and <bp-asm.h>.
59702         (__STRCMP): Don't use BP_SYM.
59703         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59704         <bp-sym.h> and <bp-asm.h>.
59705         (strchr): Don't use BP_SYM.
59706         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59707         <bp-sym.h> and <bp-asm.h>.
59708         (__strchrnul): Don't use BP_SYM.
59709         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59710         <bp-sym.h> and <bp-asm.h>.
59711         (strlen): Don't use BP_SYM.
59712         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59713         <bp-sym.h> and <bp-asm.h>.
59714         (strncmp): Don't use BP_SYM.
59715         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59716         <bp-sym.h> and <bp-asm.h>.
59717         (__strnlen): Don't use BP_SYM.
59718         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59719         <bp-asm.h>.
59720         (__mpn_rshift): Don't use BP_SYM.
59721         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59722         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59723         <bp-sym.h> and <bp-asm.h>.
59724         (__sigsetjmp): Don't use BP_SYM.
59725         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59726         (L(start_addresses)): Don't use BP_SYM.
59727         (_start): Likewise.
59728         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59729         <bp-asm.h>.
59730         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59731         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59732         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59733         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59734         <bp-asm.h>.
59735         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59736         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59737         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59738         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59739         <bp-asm.h>.
59740         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59741         comments.
59742         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59743         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59744         <bp-asm.h>.
59745         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
59746         FIXME comments.
59747         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59748         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59749         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59750         <bp-asm.h>.
59751         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
59752         comment.
59753         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59754         and <bp-asm.h>.
59755         (strncmp): Don't use BP_SYM,
59756         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59757         <bp-asm.h>.
59758         (__mpn_sub_n): Don't use BP_SYM.
59759         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59760         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59761         and <bp-asm.h>.
59762         (__mpn_submul_1): Don't use BP_SYM.
59763         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59765         <bp-sym.h> and <bp-asm.h>.
59766         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59768         <bp-sym.h> and <bp-asm.h>.
59769         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59770         comment.
59772 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59774         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
59775         Use ZK to minimize writes to Z.
59776         (sub_magnitudes): Simplify code a bit.
59777         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
59778         Use ZK to minimize writes to Z.
59779         (sub_magnitudes): Simplify code a bit.
59781 2013-02-27  Roland McGrath  <roland@hack.frob.com>
59783         * csu/gmon-start.c: Add special exception to license text.
59785 2013-02-27  Richard Henderson  <rth@redhat.com>
59787         * scripts/config.guess: Update from config.git.
59788         * scripts/config.sub: Likewise.
59790 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
59792         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
59794         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
59796         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
59798         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
59800         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
59802 2013-02-26  Roland McGrath  <roland@hack.frob.com>
59804         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
59805         [$(build-shared = yes].
59807 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59809         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
59810         (__mul): Reduce iterations for calculating mantissa.
59812         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
59813         MPTWO.
59814         (__mpranred): Likewise.
59816         [BZ #15160]
59817         * malloc/memusagestat.c (main): Draw graphs for heap and stack
59818         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
59820 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
59822         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
59823         Define __attribute__.
59825 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
59827         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
59828         unused.
59829         * posix/regex_internal.h (__attribute): Remove.
59830         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
59831         (re_string_context_at): Likewise.
59832         (bitset_not): Use __attribute__ and mark function as possibly
59833         unused.
59834         (bitset_merge): Likewise.
59835         (bitset_mask): Likewise.
59836         (re_string_char_size_at): Likewise.
59837         (re_string_wchar_at): Likewise.
59838         (re_string_elem_size_at): Likewise.
59840 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
59842         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
59843         code.
59844         (cc32): Likewise.
59846         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
59847         (__acr): Likewise.
59848         (__cpy): Likewise.
59849         (norm): Likewise.
59850         (denorm): Likewise.
59851         (__dbl_mp): Likewise.
59852         (add_magnitudes): Likewise.
59853         (sub_magnitudes): Likewise.
59854         (__mul): Likewise.
59855         (__inv): Likewise.
59857         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
59858         style.
59860         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
59861         style.
59863         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
59864         code.
59866         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
59867         up changes with default code.
59868         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
59869         Likewise.
59871 2013-02-24  Allan McRae  <allan@archlinux.org>
59873         * manual/socket.texi (The Internet Namespace): Order menu items
59874         to match that in the file.
59876         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
59877         node listing of the info page menu.
59879 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
59881         [BZ #13550]
59882         * sysdeps/i386/bp-asm.h: Remove file.
59883         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
59884         (PARMS): Do not use macros from bp-asm.h.
59885         (S1): Likewise.
59886         (S2): Likewise.
59887         (SIZE): Likewise.
59888         (__mpn_add_n): Do not use BP_SYM
59889         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
59890         "bp-asm.h".
59891         (PARMS): Do not use macros from bp-asm.h.
59892         (S1): Likewise.
59893         (SIZE): Likewise.
59894         (__mpn_addmul_1): Do not use BP_SYM
59895         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
59896         "bp-asm.h".
59897         (PARMS): Do not use macros from bp-asm.h.
59898         (SIGMSK): Likewise.
59899         (_setjmp): Likewise.  Do not use BP_SYM.
59900         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
59901         "bp-asm.h".
59902         (PARMS): Do not use macros from bp-asm.h.
59903         (SIGMSK): Likewise.
59904         (setjmp): Likewise.  Do not use BP_SYM.
59905         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
59906         "bp-asm.h".
59907         (PARMS): Do not use macros from bp-asm.h.
59908         (__frexp): Do not use BP_SYM.
59909         (frexp): Likewise.
59910         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
59911         "bp-asm.h".
59912         (PARMS): Do not use macros from bp-asm.h.
59913         (__frexpf): Do not use BP_SYM.
59914         (frexpf): Likewise.
59915         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
59916         "bp-asm.h".
59917         (PARMS): Do not use macros from bp-asm.h.
59918         (__frexpl): Do not use BP_SYM.
59919         (frexpl): Likewise.
59920         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
59921         "bp-asm.h".
59922         (PARMS): Do not use macros from bp-asm.h.
59923         (__remquo): Do not use BP_SYM.
59924         (remquo): Likewise.
59925         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
59926         "bp-asm.h".
59927         (PARMS): Do not use macros from bp-asm.h.
59928         (__remquof): Do not use BP_SYM.
59929         (remquof): Likewise.
59930         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
59931         "bp-asm.h".
59932         (PARMS): Do not use macros from bp-asm.h.
59933         (__remquol): Do not use BP_SYM.
59934         (remquol): Likewise.
59935         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
59936         "bp-asm.h".
59937         (PARMS): Do not use macros from bp-asm.h.
59938         (DEST): Likewise.
59939         (SRC): Likewise.
59940         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
59941         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
59942         "bp-asm.h".
59943         (PARMS): Do not use macros from bp-asm.h.
59944         (strlen): Do not use BP_SYM.
59945         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
59946         "bp-asm.h".
59947         (PARMS): Do not use macros from bp-asm.h.
59948         (S1): Likewise.
59949         (S2): Likewise.
59950         (SIZE): Likewise.
59951         (__mpn_add_n): Do not use BP_SYM.
59952         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
59953         "bp-asm.h".
59954         (PARMS): Do not use macros from bp-asm.h.
59955         (S1): Likewise.
59956         (SIZE): Likewise.
59957         (__mpn_addmul_1): Do not use BP_SYM.
59958         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
59959         weak_alias.
59960         (bzero): Likewise.
59961         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
59962         "bp-asm.h".
59963         (PARMS): Do not use macros from bp-asm.h.
59964         (S): Likewise.
59965         (SIZE): Likewise.
59966         (__mpn_lshift): Do not use BP_SYM.
59967         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
59968         "bp-asm.h".
59969         (PARMS): Do not use macros from bp-asm.h.
59970         (DEST): Likewise.
59971         (SRC): Likewise.
59972         (LEN): Likewise.
59973         (memcpy): Likewise.  Do not use BP_SYM.
59974         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
59975         libc_hidden_def and weak_alias.
59976         (mempcpy): Do not use BP_SYM in weak_alias.
59977         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
59978         "bp-asm.h".
59979         (PARMS): Do not use macros from bp-asm.h.
59980         (DEST): Likewise.
59981         (LEN): Likewise.
59982         [!BZERO_P] (CHR): Likewise.
59983         (memset): Likewise.  Do not use BP_SYM.
59984         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
59985         "bp-asm.h".
59986         (PARMS): Do not use macros from bp-asm.h.
59987         (S1): Likewise.
59988         (SIZE): Likewise.
59989         (__mpn_mul_1): Do not use BP_SYM.
59990         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
59991         "bp-asm.h".
59992         (PARMS): Do not use macros from bp-asm.h.
59993         (S): Likewise.
59994         (SIZE): Likewise.
59995         (__mpn_rshift): Do not use BP_SYM.
59996         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
59997         "bp-asm.h".
59998         (PARMS): Do not use macros from bp-asm.h.
59999         (STR): Likewise.
60000         (CHR): Likewise.
60001         (strchr): Likewise.  Do not use BP_SYM.
60002         (index): Do not use BP_SYM in weak_alias.
60003         * sysdeps/i386/i586/strcpy.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         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
60009         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60010         "bp-asm.h".
60011         (PARMS): Do not use macros from bp-asm.h.
60012         (strlen): Do not use BP_SYM.
60013         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60014         "bp-asm.h".
60015         (PARMS): Do not use macros from bp-asm.h.
60016         (S1): Likewise.
60017         (S2): Likewise.
60018         (SIZE): Likewise.
60019         (__mpn_sub_n): Do not use BP_SYM.
60020         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60021         "bp-asm.h".
60022         (PARMS): Do not use macros from bp-asm.h.
60023         (S1): Likewise.
60024         (SIZE): Likewise.
60025         (__mpn_submul_1): Do not use BP_SYM.
60026         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60027         "bp-asm.h".
60028         (PARMS): Do not use macros from bp-asm.h.
60029         (S1): Likewise.
60030         (S2): Likewise.
60031         (SIZE): Likewise.
60032         (__mpn_add_n): Do not use BP_SYM.
60033         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60034         weak_alias.
60035         (bzero): Likewise.
60036         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60037         "bp-asm.h".
60038         (PARMS): Do not use macros from bp-asm.h.
60039         (BLK2): Likewise.
60040         (LEN): Likewise.
60041         (memcmp): Do not use BP_SYM.
60042         (bcmp): Do not use BP_SYM in weak_alias.
60043         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60044         "bp-asm.h".
60045         (PARMS): Do not use macros from bp-asm.h.
60046         (DEST): Likewise.
60047         (SRC): Likewise.
60048         (LEN): Likewise.
60049         (memcpy): Likewise.  Do not use BP_SYM.
60050         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60051         "bp-asm.h".
60052         (PARMS): Do not use macros from bp-asm.h.
60053         (DEST): Likewise.
60054         (SRC): Likewise.
60055         (LEN): Likewise.
60056         (memmove): Likewise.  Do not use BP_SYM.
60057         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60058         "bp-asm.h".
60059         (PARMS): Do not use macros from bp-asm.h.
60060         (DEST): Likewise.
60061         (SRC): Likewise.
60062         (LEN): Likewise.
60063         (__mempcpy): Likewise.  Do not use BP_SYM.
60064         (mempcpy): Do not use BP_SYM in weak_alias.
60065         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60066         "bp-asm.h".
60067         (PARMS): Do not use macros from bp-asm.h.
60068         (DEST): Likewise.
60069         (LEN): Likewise.
60070         [!BZERO_P] (CHR): Likewise.
60071         (memset): Likewise.  Do not use BP_SYM.
60072         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60073         "bp-asm.h".
60074         (PARMS): Do not use macros from bp-asm.h.
60075         (STR2): Likewise.
60076         (strcmp): Do not use BP_SYM.
60077         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60078         "bp-asm.h".
60079         (PARMS): Do not use macros from bp-asm.h.
60080         (STR): Likewise.
60081         (DELIM): Likewise.
60082         [USE_AS_STRTOK_R] (SAVE): Likewise.
60083         (FUNCTION): Likewise.  Do not use BP_SYM.
60084         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60085         aliases.
60086         (strtok_r): Likewise.
60087         (__GI___strtok_r): Likewise.
60088         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60089         (PARMS): Do not use macros from bp-asm.h.
60090         (S): Likewise.
60091         (SIZE): Likewise.
60092         (__mpn_lshift): Do not use BP_SYM.
60093         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60094         (PARMS): Do not use macros from bp-asm.h.
60095         (STR): Likewise.
60096         (CHR): Likewise.
60097         (__memchr): Do not use BP_SYM.
60098         (memchr): Do not use BP_SYM in weak_alias.
60099         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60100         (PARMS): Do not use macros from bp-asm.h.
60101         (BLK2): Likewise.
60102         (LEN): Likewise.
60103         (memcmp): Do not use BP_SYM.
60104         (bcmp): Do not use BP_SYM in weak_alias.
60105         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60106         (PARMS): Do not use macros from bp-asm.h.
60107         (S1): Likewise.
60108         (SIZE): Likewise.
60109         (__mpn_mul_1): Do not use BP_SYM.
60110         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60111         "bp-asm.h".
60112         (PARMS): Do not use macros from bp-asm.h.
60113         (STR): Likewise.
60114         (CHR): Likewise.
60115         (__rawmemchr): Do not use BP_SYM.
60116         (rawmemchr): Do not use BP_SYM in weak_alias.
60117         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60118         (PARMS): Do not use macros from bp-asm.h.
60119         (S): Likewise.
60120         (SIZE): Likewise.
60121         (__mpn_rshift): Do not use BP_SYM.
60122         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60123         (PARMS): Do not use macros from bp-asm.h.
60124         (SIGMSK): Likewise.
60125         (__sigsetjmp): Likewise.  Do not use BP_SYM.
60126         * sysdeps/i386/start.S: Do not include "bp-sym.h".
60127         (_start): Do not use BP_SYM.
60128         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60129         (PARMS): Do not use macros from bp-asm.h.
60130         (DEST): Likewise.
60131         (SRC): Likewise.
60132         (__stpcpy): Likewise.  Do not use BP_SYM.
60133         (stpcpy): Do not use BP_SYM in weak_alias.
60134         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60135         "bp-asm.h".
60136         (PARMS): Do not use macros from bp-asm.h.
60137         (DEST): Likewise.
60138         (SRC): Likewise.
60139         (LEN): Likewise.
60140         (__stpncpy): Likewise.  Do not use BP_SYM.
60141         (stpncpy): Do not use BP_SYM in weak_alias.
60142         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60143         (PARMS): Do not use macros from bp-asm.h.
60144         (STR): Likewise.
60145         (CHR): Likewise.
60146         (strchr): Likewise.  Do not use BP_SYM.
60147         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60148         "bp-asm.h".
60149         (PARMS): Do not use macros from bp-asm.h.
60150         (STR): Likewise.
60151         (CHR): Likewise.
60152         (__strchrnul): Likewise.  Do not use BP_SYM.
60153         (strchrnul): Do not use BP_SYM in weak_alias.
60154         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60155         "bp-asm.h".
60156         (PARMS): Do not use macros from bp-asm.h.
60157         (STOP): Likewise.
60158         (strcspn): Do not use BP_SYM.
60159         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60160         "bp-asm.h".
60161         (PARMS): Do not use macros from bp-asm.h.
60162         (STR): Likewise.
60163         (STOP): Likewise.
60164         (strpbrk): Likewise.  Do not use BP_SYM.
60165         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60166         "bp-asm.h".
60167         (PARMS): Do not use macros from bp-asm.h.
60168         (STR): Likewise.
60169         (CHR): Likewise.
60170         (strrchr): Likewise.  Do not use BP_SYM.
60171         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60172         (PARMS): Do not use macros from bp-asm.h.
60173         (SKIP): Likewise.
60174         (strspn): Do not use BP_SYM.
60175         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60176         (PARMS): Do not use macros from bp-asm.h.
60177         (STR): Likewise.
60178         (DELIM): Likewise.
60179         (SAVE): Likewise.
60180         (FUNCTION): Likewise.  Do not use BP_SYM.
60181         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60182         aliases.
60183         (strtok_r): Likewise.
60184         (__GI___strtok_r): Likewise.
60185         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60186         (PARMS): Do not use macros from bp-asm.h.
60187         (S1): Likewise.
60188         (S2): Likewise.
60189         (SIZE): Likewise.
60190         (__mpn_sub_n): Do not use BP_SYM.
60191         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60192         "bp-asm.h".
60193         (PARMS): Do not use macros from bp-asm.h.
60194         (S1): Likewise.
60195         (SIZE): Likewise.
60196         (__mpn_submul_1): Do not use BP_SYM.
60197         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60198         <bp-sym.h>.
60199         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60200         and <bp-asm.h>.
60201         (PARMS): Do not use macros from bp-asm.h.
60202         (FLAGS): Likewise.
60203         (PTID): Likewise.
60204         (TLS): Likewise.
60205         (CTID): Likewise.
60206         (__clone): Do not use BP_SYM.
60207         (clone): Do not use BP_SYM in weak_alias.
60208         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60209         and <bp-asm.h>.
60210         (PARMS): Do not use macros from bp-asm.h.
60211         (LEN): Likewise.
60212         (__mmap64): Do not use BP_SYM.
60213         (mmap64): Do not use BP_SYM in weak_alias.
60214         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60215         <bp-sym.h> and <bp-asm.h>.
60216         (PARMS): Do not use macros from bp-asm.h.
60217         (__posix_fadvise64_l64): Do not use BP_SYM.
60218         * sysdeps/unix/sysv/linux/i386/semtimedop.S
60219         (PARMS): Do not use macros from bp-asm.h.
60220         (NSOPS): Likewise.
60221         (semtimedop): Do not use BP_SYM.
60222         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60223         and <bp-asm.h>.
60225 2013-02-21  Allan McRae  <allan@archlinux.org>
60227         * manual/message.texi (Charset conversion in gettext):
60228         Move @end statement to beginning of line.
60230 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60233         static.
60234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60235         Likewise.
60237         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60238         (denorm): Likewise.
60239         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60242 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60244         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60245         tail-call to the resolved function if pltexit isn't needed.
60247 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60249         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60250         or Y being zero as being unlikely.
60251         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60252         Likewise.
60254 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60256         * manual/nss.texi (System Databases and Name Service Switch):
60257         Remove frobnicate @pxref.
60259 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60261         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60262         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60264 2013-02-20  Petr Machata  <pmachata@redhat.com>
60266         * elf/elf.h (R_ARM_TARGET1): New macro.
60267         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60268         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60269         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60270         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60271         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60272         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60273         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60274         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60275         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60276         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60277         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60278         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60279         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60280         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60281         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60282         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60283         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60284         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60285         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60286         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60287         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60288         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60289         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60290         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60291         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60292         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60293         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60294         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60295         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60296         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60297         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60298         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60299         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60300         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60301         (R_ARM_THM_GOT_BREL12): Likewise.
60302         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60303         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60304         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60305         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60306         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60307         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60308         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60309         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60310         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60312 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60314         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60315         __attribute_used__ to __attribute__ ((unused)).
60317 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60319         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60320         powerpc mpa.c.
60321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60322         comment formatting.
60323         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60325 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60327         [BZ #13550]
60328         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60329         Remove macro.
60330         (ENTER): Remove both macro definitions.
60331         (LEAVE): Likewise.
60332         (CHECK_BOUNDS_LOW): Likewise.
60333         (CHECK_BOUNDS_HIGH): Likewise.
60334         (CHECK_BOUNDS_BOTH): Likewise.
60335         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60336         (RETURN_BOUNDED_POINTER): Likewise.
60337         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60338         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60339         (POP_ERRNO_LOCATION_RETURN): Likewise.
60340         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60341         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60342         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60343         macros.
60344         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60345         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60346         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60347         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60348         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60349         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60350         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60351         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60352         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60353         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60354         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60355         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60356         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60357         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60358         removed macros.
60359         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60360         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60361         macros.
60362         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60363         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60364         * sysdeps/i386/i586/memset.S (memset): Likewise.
60365         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60366         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60367         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60368         macros.
60369         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60370         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60371         Change uses of L(2) to L(out).
60372         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60373         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60374         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60375         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60376         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60377         removed macros.
60378         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60379         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60380         macros.
60381         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60382         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60383         (RETURN): Do not use macro LEAVE.
60384         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60385         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60386         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60387         * sysdeps/i386/i686/memset.S (memset): Likewise.
60388         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60389         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60390         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60391         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60392         Likewise.
60393         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60394         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60395         L(1_2) and L(1_3) into L(1).
60396         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60397         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60398         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60399         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60400         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60401         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60402         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60403         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60404         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60405         macros.
60406         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60407         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60408         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60409         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60410         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60411         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60412         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60413         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60414         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60415         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60416         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60417         * sysdeps/i386/strspn.S (strspn): Likewise.
60418         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60419         conditional code.
60420         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60421         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60422         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60423         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60424         L(1_3) into L(1_1).
60425         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60426         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60427         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60428         macros.
60429         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60431 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60433         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60434         macro.
60436 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60438         * math/atest-exp.c (exp_mpn): Remove ROUND.
60439         * math/atest-exp2.c (exp_mpn): Likewise.
60440         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60442         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60443         * stdlib/tst-tls-atexit-lib.c: Likewise.
60444         * stdlib/tst-tls-atexit.c: Likewise.
60446 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60448         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60449         and __attribute_alloc_size__.
60451 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60453         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60454         __attribute_alloc_size__.
60455         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60456         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60458 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60460         * include/programs/xmalloc.h: New file.
60461         * catgets/gencat.c: Include it.
60462         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60463         * elf/pldd.c: Likewise.
60464         * iconv/iconv_charmap.c: Likewise.
60465         * iconv/iconvconfig.c: Likewise.
60466         * iconv/strtab.c: Likewise.
60467         * locale/programs/locale.c: Likewise.
60468         * locale/programs/localedef.h: Likewise.
60469         * locale/programs/simple-hash.c: Likewise.
60470         * nscd/nscd.h: Likewise.
60471         * nss/makedb.c: Likewise.
60472         * sysdeps/generic/ldconfig.h: Likewise.
60474 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60476         * Versions.def: Add GLIBC_2.18.
60477         * include/link.h (struct link_map): New member l_tls_dtor_count.
60478         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60479         (__call_tls_dtors): Likewise.
60480         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60481         __cxa_thread_atexit_impl.
60482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60483         Likewise.
60484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60485         Likewise.
60486         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60487         Likewise.
60488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60489         Likewise.
60490         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60491         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60492         Likewise.
60493         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60494         Likewise.
60495         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60496         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60497         Likewise.
60498         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60499         (tests): Add test case tst-tls-atexit.
60500         (modules-names): Add shared library for tst-tls-atexit.
60501         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60502         (GLIBC_PRIVATE): Add __call_tls_dtors.
60503         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60504         for libstdc++.
60505         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60506         * stdlib/tst-tls-atexit.c: New test case.
60507         * stdlib/tst-tls-atexit-lib.c: New test case.
60509         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60511         * elf/Versions (ld): Add _dl_find_dso_for_object.
60512         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60513         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60514         (dl_open_worker): Use _dl_find_dso_for_object.
60515         * elf/dl-sym.c (do_sym): Likewise.
60516         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60518 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60520         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60521         Syntactic changes only.
60522         (_dl_runtime_profile): Do a tail-call to the resolved function.
60524 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60526         [BZ #13550]
60527         * sysdeps/x86_64/bp-asm.h: Remove file.
60528         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60529         <bp-sym.h> and <bp-asm.h>.
60530         (__clone): Do not use BP_SYM.
60531         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60532         <bp-sym.h> and <bp-asm.h>.
60533         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60534         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60535         "bp-asm.h".
60536         (_setjmp): Do not use BP_SYM.
60537         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60538         "bp-asm.h".
60539         (setjmp): Do not use BP_SYM.
60540         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60541         libc_hidden_def.
60542         (mempcpy): Do not use BP_SYM in weak_alias.
60543         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60544         "bp-asm.h".
60545         (strchr): Do not use BP_SYM.
60546         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60547         "bp-asm.h".
60548         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60549         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60550         (_start): Do not use BP_SYM.
60551         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60552         "bp-asm.h".
60553         (strcat): Do not use BP_SYM.
60554         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60555         "bp-asm.h".
60556         (STRCMP): Do not use BP_SYM.
60557         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60558         "bp-asm.h".
60559         (STRCPY): Do not use BP_SYM.
60560         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60561         "bp-asm.h".
60562         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60563         "bp-asm.h".
60564         (FUNCTION): Do not use BP_SYM.
60565         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60566         weak_alias.
60567         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60569 2013-02-17  Andreas Jaeger  <aj@suse.de>
60571         * time/Versions: Sort entries.
60572         * string/Versions: Likewise.
60573         * resolv/Versions: Likewise.
60574         * posix/Versions: Likewise.
60575         * iconv/Versions: Likewise.
60576         * elf/Versions: Likewise.
60577         * wcsmbs/Versions: Likewise.
60579 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60581         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60582         loop termination condition.
60584         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60585         variable to calculate EZ.
60586         (__sqr): Likewise.
60588         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60589         the lower precision input.
60591 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60593         [BZ #13550]
60594         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60595         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60596         (run-via-rtld-prefix): Do not handle %-bp tests.
60597         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60598         (all-object-suffixes): Remove .ob.
60599         (bppfx): Remove variable.
60600         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60601         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60602         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60603         [$(build-bounded) = yes] (libtype.ob): Likewise.
60604         * Makerules (elide-routines.ob): Remove variable.
60605         (do-tests-clean): Do not handle *-bp.out.
60606         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60607         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60608         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60609         (tests): Do not include $(tests-bp.out).
60610         (xtests): Do not include $(xtests-bp.out).
60611         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60612         [$(build-bounded) = yes] ($(addprefix
60613         $(objpfx),$(binaries-bounded))): Remove rule.
60614         ($(objpfx)%-bp.out): Remove rule.
60615         * config.make.in (build-bounded): Remove variable.
60616         * crypt/Makefile [$(build-bounded) = yes]
60617         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60618         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60619         append to variable.
60620         [$(build-bounded) = yes] (install-lib): Likewise.
60621         [$(build-bounded) = yes] (generated): Likewise.
60622         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60623         Remove rule.
60624         * intl/Makefile [$(build-bounded) = yes]
60625         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60626         * math/Makefile [$(build-bounded) = yes]
60627         ($(tests:%=$(objpfx)%-bp): Likewise.
60628         * misc/Makefile [$(build-bounded) = yes]
60629         ($(objpfx)tst-tsearch-bp): Likewise.
60630         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60631         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60632         Remove dependency.
60633         * string/Makefile (o-objects.ob): Remove variable.
60634         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60635         (CFLAGS-.ob): Remove variable.
60636         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60637         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60638         both definitions of variable.
60639         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60640         (ASFLAGS-.ob): Remove variable.
60642 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60644         [BZ #13550]
60645         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60646         Remove __BOUNDED_POINTERS__ from condition.
60647         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60648         * string/bits/string2.h [!__NO_STRING_INLINES &&
60649         !__BOUNDED_POINTERS__]: Likewise.
60650         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60651         Likewise.
60652         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60653         Remove conditional code.
60654         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60655         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60656         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60657         condition.
60659         [BZ #13550]
60660         * csu/libc-start.c: Do not include <bp-sym.h>.
60661         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60662         * elf/dl-open.c: Do not include <bp-sym.h>.
60663         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60664         * math/fegetenv.c: Do not include <bp-sym.h>.
60665         (fegetenv): Do not use BP_SYM in versioned symbols.
60666         * nptl/sysdeps/pthread/bits/libc-lockP.h
60667         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60668         <bp-sym.h>.
60669         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60670         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60671         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60672         (__pthread_mutex_destroy): Likewise.
60673         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60674         (__pthread_mutex_lock): Likewise.
60675         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60676         (__pthread_mutex_trylock): Likewise.
60677         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60678         (__pthread_mutex_unlock): Likewise.
60679         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60680         (__pthread_mutexattr_init): Likewise.
60681         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60682         (__pthread_mutexattr_destroy): Likewise.
60683         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60684         (__pthread_mutexattr_settype): Likewise.
60685         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60686         (__pthread_rwlock_init): Likewise.
60687         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60688         (__pthread_rwlock_destroy): Likewise.
60689         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60690         (__pthread_rwlock_rdlock): Likewise.
60691         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60692         (__pthread_rwlock_tryrdlock): Likewise.
60693         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60694         (__pthread_rwlock_wrlock): Likewise.
60695         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60696         (__pthread_rwlock_trywrlock): Likewise.
60697         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60698         (__pthread_rwlock_unlock): Likewise.
60699         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60700         (__pthread_key_create): Likewise.
60701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60702         (__pthread_setspecific): Likewise.
60703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60704         (__pthread_getspecific): Likewise.
60705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60706         Likewise.
60707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60708         (_pthread_cleanup_push_defer): Likewise.
60709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60710         (_pthread_cleanup_pop_restore): Likewise.
60711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60712         (pthread_setcancelstate): Likewise.
60713         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60714         <bp-sym.h>.
60715         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60716         (memchr): Do not use BP_SYM in weak_alias.
60717         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60718         (fegetenv): Do not use BP_SYM in versioned symbols.
60719         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60720         (fesetenv): Do not use BP_SYM in versioned symbols.
60721         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60722         (feupdateenv): Do not use BP_SYM in versioned symbols.
60723         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60724         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60725         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60726         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60727         (open64): Do not use BP_SYM in weak_alias.
60728         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60729         (fegetenv): Do not use BP_SYM in versioned symbols.
60730         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60731         (fesetenv): Do not use BP_SYM in versioned symbols.
60732         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60733         (feupdateenv): Do not use BP_SYM in versioned symbols.
60734         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60735         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60736         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60737         (feraiseexcept): Do not use BP_SYM in versioned symbols.
60738         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60739         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60740         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60741         <bp-sym.h>.
60742         (__libc_start_main): Do not use BP_SYM.
60744 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
60746         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60747         redundant return line.
60748         (norm): Likewise.
60749         (denorm): Likewise.
60750         (dbl_mp): Likewise.
60751         (sub_magnitudes): Likewise.
60752         (__add): Likewise.
60753         (__sub): Likewise.
60754         (__mul): Likewise.
60755         (__inv): Likewise.
60756         (__dvd): Likewise.
60757         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60758         (norm): Likewise.
60759         (denorm): Likewise.
60760         (dbl_mp): Likewise.
60761         (sub_magnitudes): Likewise.
60762         (__add): Likewise.
60763         (__sub): Likewise.
60764         (__mul): Likewise.
60765         (__inv): Likewise.
60766         (__dvd): Likewise.
60768         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
60769         instead of __mul.
60770         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60771         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
60772         (cc32): Likewise.
60774         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
60775         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
60776         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
60777         of __mul for squares.
60778         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
60779         function
60780         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
60781         Likewise.
60782         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
60783         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
60785 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
60787         [BZ #13550]
60788         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
60789         code.
60790         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
60791         prototype or function definition.  Rename ubp_* variables and
60792         parameters.  Remove argv definitions conditional on
60793         [__BOUNDED_POINTERS__].
60794         * debug/backtrace.c (__backtrace): Do not use __unbounded.
60795         * elf/dl-runtime.c (_dl_fixup): Likewise.
60796         * include/set-hooks.h (RUN_HOOK): Likewise.
60797         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
60798         definition.
60799         * string/strcpy.c (strcpy): Do not use __unbounded.
60800         * sysdeps/generic/frame.h (struct layout): Likewise.
60801         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
60802         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
60803         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
60804         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
60805         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
60806         (__backtrace): Likewise.
60807         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
60808         use __ptrvalue.
60809         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
60810         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
60811         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
60812         Likewise.
60813         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
60814         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
60815         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
60816         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
60817         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
60818         Do not use __unbounded.
60819         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
60820         Rename __unboundedrlimits parameter to rlimits in prototype.
60821         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
60822         Do not use __unbounded.
60823         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
60824         not use __ptrvalue.
60825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
60826         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
60827         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
60828         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
60829         __ptrvalue or __unbounded.
60830         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
60831         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
60832         use __unbounded.
60833         (__new_msgctl): Do not use __ptrvalue.
60834         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
60835         __unbounded.
60836         (__libc_msgrcv): Do not use __ptrvalue.
60837         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
60838         startup_info): Do not use __unbounded.
60839         (__libc_start_main): Likewise.  Rename ubp_* variables and
60840         parameters.  Remove argv definitions conditional on
60841         [__BOUNDED_POINTERS__].
60842         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
60843         __ptrvalue.
60844         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
60845         use __unbounded.
60846         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
60847         or __ptrvalue.
60848         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
60849         use __unbounded.
60850         (__new_shmctl): Do not use __ptrvalue.
60851         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
60852         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
60853         Likewise.
60854         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
60855         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
60856         (__libc_sigaction): Likewise.
60857         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
60858         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
60859         Likewise.
60860         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
60862 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
60864         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
60866         * string/mempcpy.c: Implement by calling memcpy.
60868 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
60870         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
60872         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
60873         evaluation.
60875         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
60876         values in the mantissa.
60878         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
60879         minimize writes to Z.
60880         (sub_magnitudes): Simplify code a bit.
60882 2013-02-12  Roland McGrath  <roland@hack.frob.com>
60884         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
60885         from the message.  The linker prefixes all warnings with that already.
60887 2013-02-12  Andreas Schwab  <schwab@suse.de>
60889         [BZ #15078]
60890         * posix/regexec.c (extend_buffers): Add parameter min_len.
60891         (check_matching): Pass minimum needed length.
60892         (clean_state_log_if_needed): Likewise.
60893         (get_subexp): Likewise.
60894         * posix/Makefile (tests): Add bug-regex34.
60895         (bug-regex34-ENV): Define.
60896         * posix/bug-regex34.c: New file.
60898         [BZ #11561]
60899         * posix/regcomp.c (parse_bracket_exp): When looking up collating
60900         elements compare against the byte sequence of it, not its name.
60901         * posix/Makefile (tests): Add bug-regex35.
60902         (bug-regex35-ENV): Define.
60903         * posix/bug-regex35.c: New file.
60905 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60907         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
60908         comment.
60909         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
60910         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
60911         (CHECK_EOL): Add undef.
60913 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
60915         * bits/stdlib-bsearch.h: New file.
60916         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
60917         * stdlib/stdlib.h: Likewise.
60919 2013-02-11  Roland McGrath  <roland@hack.frob.com>
60921         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
60922         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
60923         declaration.
60924         * manual/search.texi (Array Search Function): Add missing const in
60925         lfind prototype.
60926         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
60927         declaration to use rlim_t.
60928         (Basic Scheduling Functions): Remove erroneous const from
60929         sched_getparam prototype.  Remove erroneous * from
60930         sched_get_priority_max and sched_get_priority_min prototypes.
60931         (Resource Usage): Fix summary @comment on vtimes to refer to
60932         sys/vtimes.h rather than vtimes.h.
60933         Add missing *s in vtimes prototype.
60934         (Limits on Resources): Fix ulimit prototype to return long int.
60935         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
60936         prototypes to use long int rather than double.
60937         (BSD Random): Fix initstate and setstate to use char *, not void *.
60938         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
60939         prototype to make second argument 'struct aiocb64 *const[]'.
60940         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
60941         (Status of AIO Operations): Remove erroneous const in aio_return and
60942         aio_return64 prototypes.
60943         (Synchronizing I/O): Fix sync prototype to return void.
60944         * manual/startup.texi (Suboptions): Remove an erroneous const in
60945         getsubopt prototype.
60946         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
60947         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
60948         use size_t rather than int.
60949         (Scanning All Users): Likewise for getpwent_r.
60950         (Setting Groups): Add missing const to setgroups prototype.
60951         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
60952         * manual/socket.texi (Host Names): Fix gethostbyaddr and
60953         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
60954         'const void *' rather than 'const char *'.
60955         (Host Address Functions): Likewise for inet_ntop.
60956         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
60957         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
60958         ssize_t for return value.
60959         (Sending Data): Likewise for send, sendto, sendmsg.
60960         (Socket Option Functions): Add a missing const in setsockopt prototype.
60961         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
60962         use wchar_t for the argument.
60963         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
60964         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
60965         take no arguments.
60966         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
60967         double/float/long double for second argument.
60968         Fix return types of significand, significandf, significandl.
60969         * manual/filesys.texi (Setting Permissions): Use mode_t for second
60970         argument in fchmod prototype.
60971         (File Owner): Use uid_t and gid_t in fchown prototype.
60972         (File Times): Add const to utimes, futimes, and lutimes prototypes.
60973         (Making Special Files): Use mode_t and dev_t in mknod prototype.
60974         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
60975         use 'const struct dirent **' as argument types to CMP function pointer
60976         argument.
60977         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
60978         (File Times): Fix summary magic @comment for struct utimbuf and utime
60979         to refer to utime.h, not time.h.
60980         * manual/string.texi (Argz Functions): Add missing const in
60981         argz_extract and argz_next prototypes.
60982         (Finding Tokens in a String): Likewise for basename.
60983         (String/Array Comparison): Fix typo in wcscasecmp prototype.
60984         (Copying and Concatenation): Fix typo in wmemmove prototype.
60985         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
60986         (Signal Stack): Remove erroneous const in sigstack prototype.
60987         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
60988         prototype.
60989         (Simple Calendar Time): Likewise for stime.
60990         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
60991         prototype.
60992         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
60993         say sys/sysctl.h instead.
60994         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
60995         and vsyslog prototypes.
60997 2013-02-11  Tom de Vries  <tom@codesourcery.com>
60999         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61000         Remove.
61002 2013-02-11  Roland McGrath  <roland@hack.frob.com>
61004         * misc/sys/mman.h: Fix typo in mremap comment.
61006 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61008         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61009         the '\0' terminator.
61011 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61013         [BZ #13550]
61014         * debug/segfault.c: Don't include <bp-checks.h>.
61015         * sysdeps/generic/bp-checks.h: Remove file.
61016         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61017         (__GETDENTS): Don't use CHECK_N.
61018         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61019         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61020         (__getgroups): Don't use CHECK_N.
61021         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61022         (setgroups): Don't use CHECK_N.
61023         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61024         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61025         (__libc_msgrcv): Don't use CHECK_N.
61026         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61027         (__libc_msgsnd): Don't use CHECK_N.
61028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61029         <bp-checks.h>.
61030         (__libc_pread): Don't use CHECK_N.
61031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61032         include <bp-checks.h>.
61033         (__libc_pread64): Don't use CHECK_N.
61034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61035         include <bp-checks.h>.
61036         (__libc_pwrite): Don't use CHECK_N.
61037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61038         include <bp-checks.h>.
61039         (__libc_pwrite64): Don't use CHECK_N.
61040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61041         <bp-checks.h>.
61042         (__libc_pread): Don't use CHECK_N.
61043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61044         include <bp-checks.h>.
61045         (__libc_pread64): Don't use CHECK_N.
61046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61047         include <bp-checks.h>.
61048         (__libc_pwrite): Don't use CHECK_N.
61049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61050         include <bp-checks.h>.
61051         (__libc_pwrite64): Don't use CHECK_N.
61052         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61053         (do_pread): Don't use CHECK_N.
61054         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61055         (do_pread64): Don't use CHECK_N.
61056         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61057         (do_pwrite): Don't use CHECK_N.
61058         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61059         (do_pwrite64): Don't use CHECK_N.
61060         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61061         (__libc_readv): Don't use CHECK_N.
61062         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61063         (semop): Don't use CHECK_N.
61064         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61065         <bp-checks.h>.
61066         (semtimedop): Don't use CHECK_N.
61067         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61068         (__libc_pread): Don't use CHECK_N.
61069         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61070         <bp-checks.h>.
61071         (__libc_pread64): Don't use CHECK_N.
61072         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61073         <bp-checks.h>.
61074         (__libc_pwrite): Don't use CHECK_N.
61075         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61076         <bp-checks.h>.
61077         (__libc_pwrite64): Don't use CHECK_N.
61078         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61079         <bp-checks.h>.
61080         (__libc_msgrcv): Don't use CHECK_N.
61081         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61082         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
61083         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61084         (__libc_writev): Don't use CHECK_N.
61086 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61088         * string/strcpy.c: Removed unused variable.
61090         * Makeconfig (+sysdep-includes): Define with := rather than =.
61091         Use an existing include/ subdir of each sysdeps dir before it.
61093 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61095         * nscd/connection.c (register_traced_file): Comment function.
61096         [HAVE_INOTIFY] (union __inev): Define.
61097         [HAVE_INOTIFY] (inotify_check_files): New function.
61098         [HAVE_INOTIFY] (clear_db_cache): Likewise.
61099         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61100         clear_db_cache.
61101         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61103 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61105         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61106         loaded if not already and that a failure is permanent.
61108 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61110         [BZ #15006]
61111         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61112         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61114 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61116         [BZ #13550]
61117         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61118         (CHECK_1_NULL_OK): Likewise.
61119         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61120         (__fxstat): Do not use CHECK_1.
61121         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61122         <bp-checks.h>.
61123         (___fxstat64): Do not use CHECK_1.
61124         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61125         <bp-checks.h>.
61126         (__fxstatat): Do not use CHECK_1.
61127         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61128         <bp-checks.h>.
61129         (__fxstatat64): Do not use CHECK_1.
61130         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61131         <bp-checks.h>.
61132         (__fxstat): Do not use CHECK_1.
61133         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61134         <bp-checks.h>.
61135         (__fxstatat): Do not use CHECK_1.
61136         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61137         <bp-checks.h>.
61138         (__getresgid): Do not use CHECK_1.
61139         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61140         <bp-checks.h>.
61141         (__getresuid): Do not use CHECK_1.
61142         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61143         <bp-checks.h>.
61144         (__lxstat): Do not use CHECK_1.
61145         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61146         <bp-checks.h>.
61147         (__old_msgctl): Do not use CHECK_1.
61148         (__new_msgctl): Likewise.
61149         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61150         <bp-checks.h>.
61151         (__new_setrlimit): Do not use CHECK_1.
61152         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61153         <bp-checks.h>.
61154         (__old_shmctl): Do not use CHECK_1.
61155         (__new_shmctl): Likewise.
61156         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61157         <bp-checks.h>.
61158         (__xstat): Do not use CHECK_1.
61159         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61160         (__lxstat): Do not use CHECK_1.
61161         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61162         <bp-checks.h>.
61163         (___lxstat64): Do not use CHECK_1.
61164         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61165         (__old_msgctl): Do not use CHECK_1.
61166         (__new_msgctl): Likewise.
61167         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61168         <bp-checks.h>.
61169         (__gettimeofday): Do not use CHECK_1.
61170         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61171         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61172         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61173         <bp-checks.h>.
61174         (__gettimeofday): Do not use CHECK_1.
61175         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61176         (__old_shmctl): Do not use CHECK_1_NULL_OK.
61177         (__new_shmctl): Do not use CHECK_1.
61178         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61179         <bp-checks.h>.
61180         (do_sigtimedwait): Do not use CHECK_1.
61181         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61182         <bp-checks.h>.
61183         (do_sigwaitinfo): Do not use CHECK_1.
61184         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61185         <bp-checks.h>.
61186         (msgctl): Do not use CHECK_1.
61187         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61188         <bp-checks.h>.
61189         (shmctl): Do not use CHECK_1.
61190         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61191         (ustat): Do not use CHECK_1.
61192         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61193         <bp-checks.h>.
61194         (__fxstat): Do not use CHECK_1.
61195         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61196         <bp-checks.h>.
61197         (__fxstatat): Do not use CHECK_1.
61198         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61199         <bp-checks.h>.
61200         (__lxstat): Do not use CHECK_1.
61201         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61202         <bp-checks.h>.
61203         (__xstat): Do not use CHECK_1.
61204         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61205         (__xstat): Do not use CHECK_1.
61206         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61207         (___xstat64): Do not use CHECK_1.
61209         [BZ #13550]
61210         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61211         definitions.
61212         (CHECK_BOUNDS_HIGH): Likewise.
61213         * string/strcpy.c: Do not include <bp-checks.h>.
61214         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61216 2013-02-07  Roland McGrath  <roland@hack.frob.com>
61218         * nscd/nscd-client.h (__nscd_drop_map_ref):
61219         Add __attribute__ ((unused)).
61220         * nis/nss-nisplus.h (niserr2nss): Likewise.
61222         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61223         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61225         * csu/libc-tls.c (init_static_tls, init_slotinfo):
61226         Remove inline keyword.
61227         * include/rounding-mode.h (round_away): Likewise.
61228         * libio/wfileops.c (adjust_wide_data): Likewise.
61229         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61230         (__m128i_strloadu_tolower): Likewise.
61231         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61232         (__m128i_strloadu_tolower): Likewise.
61233         * time/mktime.c (ydhms_diff): Likewise.
61234         * locale/elem-hash.h (elem_hash): Likewise.
61235         * locale/setlocale.c (setdata): Likewise.
61236         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61237         (re_string_wchar_at): Likewise.
61238         (bitset_not, bitset_merge, bitset_mask): Likewise.
61239         [!(__GNUC__ > 3)] (inline): Remove macro.
61240         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61241         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61242         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61243         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61244         * string/memcmp.c (memcmp_bytes): Likewise.
61245         * locale/programs/locarchive.c (compute_hashval): Likewise.
61246         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61247         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61248         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61249         * nss/getent.c (print_rpc, print_protocols): Likewise.
61250         (print_passwd, print_group, print_aliases): Likewise.
61251         * nis/nss-nisplus.h (niserr2nss): Likewise.
61252         * nscd/connections.c (restart_p): Likewise.
61253         Change return type to bool.
61255 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61257         * Makeconfig (all-Depend-files): Add existing
61258         $(sorted-subdirs:=/Depend) files.
61259         (all-subdirs): Remove nss.
61260         * sysdeps/unix/inet/Subdirs: Add it here instead.
61261         * hesiod/Depend: New file.
61263         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61264         instead of calling alloca.
61266         * io/lseek.c (__lseek): Rename to __libc_lseek.
61267         Define __lseek as an alias.
61269         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61271 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61273         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61274         else clause and remove check for non-standard endianness.
61276 2013-02-04  David S. Miller  <davem@davemloft.net>
61278         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61280 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61282         [BZ #13550]
61283         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61284         (__ubp_memchr): Remove prototype.
61285         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61286         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61287         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61288         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61289         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61290         Remove alias.
61291         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61292         (__ubp_memchr): Likewise.
61293         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61294         (__ubp_memchr): Likewise.
61295         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61296         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61297         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61298         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61299         CHECK_STRING.
61300         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61301         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61302         (__getcwd): Do not use CHECK_STRING.
61303         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61304         <bp-checks.h>.
61305         (__real_chown): Do not use CHECK_STRING.
61306         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61307         <bp-checks.h>.
61308         (fchownat): Do not use CHECK_STRING.
61309         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61310         CHECK_STRING.
61311         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61312         <bp-checks.h>.
61313         (__lchown): Do not use CHECK_STRING.
61314         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61315         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61316         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61317         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61319         include <bp-checks.h>.
61320         (truncate64): Do not use CHECK_STRING.
61321         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61322         <bp-checks.h>.
61323         (__real_chown): Do not use CHECK_STRING.
61324         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61325         <bp-checks.h>.
61326         (__lchown): Do not use CHECK_STRING.
61327         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61328         <bp-checks.h>.
61329         (__chown): Do not use CHECK_STRING.
61330         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61331         <bp-checks.h>.
61332         (truncate64): Do not use CHECK_STRING.
61333         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61334         Likewise.
61335         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61336         (__xmknod): Do not use CHECK_STRING.
61337         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61338         <bp-checks.h>.
61339         (__xmknodat): Do not use CHECK_STRING.
61340         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61341         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61343 2013-02-04  Andreas Schwab  <schwab@suse.de>
61345         [BZ #14142]
61346         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61347         * include/netdb.h: Likewise for h_errno.
61348         * elf/tst-stackguard1.c: Include <tls.h>.
61350 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61352         * elf/link.h (struct link_map): Extend the l_addr comment.
61353         * include/link.h (struct link_map): Likewise.
61355 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61357         [BZ #13550]
61358         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61359         (BOUNDED_1): Remove macro.
61360         * debug/backtrace.c: Don't include <bp-checks.h>.
61361         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61362         (__backtrace): Likewise.
61363         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61364         <bp-checks.h>.
61365         (__backtrace): Don't use BOUNDED_1.
61366         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61367         <bp-checks.h>.
61368         (__backtrace): Don't use BOUNDED_1.
61369         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61370         (__backtrace): Don't use BOUNDED_1.
61371         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61372         (shmat): Don't use BOUNDED_N.
61374 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61376         [BZ #13550]
61377         * sysdeps/generic/bp-start.h: Remove file.
61378         * csu/libc-start.c: Don't include <bp-start.h>.
61379         (LIBC_START_MAIN): Set up __environ directly instead of using
61380         INIT_ARGV_and_ENVIRON.
61381         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61382         <bp-start.h>.
61384         [BZ #13550]
61385         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61386         definitions.
61387         (CHECK_FCNTL): Likewise.
61388         (CHECK_N_PAGES): Likewise.
61390         [BZ #13550]
61391         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61392         definitions.
61393         (CHECK_SIGSET_NULL_OK): Likewise.
61394         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61395         <bp-checks.h>.
61396         (sigpending): Don't use CHECK_SIGSET.
61397         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61398         <bp-checks.h>.
61399         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61400         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61401         <bp-checks.h>.
61402         (do_sigsuspend): Don't use CHECK_SIGSET.
61403         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61404         use CHECK_SIGSET.
61405         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61406         (do_sigwait): Don't use CHECK_SIGSET.
61407         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61408         use CHECK_SIGSET.
61409         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61410         include <bp-checks.h>.
61411         (sigpending): Don't use CHECK_SIGSET.
61412         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61413         include <bp-checks.h>.
61414         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61415         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61416         <bp-checks.h>.
61417         (sigpending): Don't use CHECK_SIGSET.
61418         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61419         <bp-checks.h>.
61420         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61422         [BZ #13550]
61423         * sysdeps/generic/bp-semctl.h: Remove file.
61424         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61425         <bp-checks.h> and <bp-semctl.h>.
61426         (__old_semctl): Don't use CHECK_SEMCTL.
61427         (__new_semctl): Likewise.
61428         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61429         and <bp-semctl.h>.
61430         (__old_semctl): Don't use CHECK_SEMCTL.
61431         (__new_semctl): Likewise.
61432         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61433         <bp-checks.h> and <bp-semctl.h>.
61434         (__old_semctl): Don't use CHECK_SEMCTL.
61435         (__new_semctl): Likewise.
61436         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61437         <bp-checks.h> and <bp-semctl.h>.
61438         (semctl): Don't use CHECK_SEMCTL.
61440         [BZ #13550]
61441         * Makerules (elide-bp-thunks): Remove variable.
61442         (elide-routines.oS): Don't use $(elide-bp-thunks).
61443         (elide-routines.os): Likewise.
61444         (elide-routines.o): Likewise.
61445         (elide-routines.op): Likewise.
61446         (elide-routines.og): Likewise.
61447         (objects): Don't use $(bp-thunks).
61448         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61449         include.
61450         (common-generated): Do not add s-proto-bp.d.
61451         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61452         (int): Likewise.
61453         (typ): Likewise.
61454         Do not generate makefile rules for bounded-pointer thunks.
61455         * sysdeps/generic/bp-thunks.h: Remove file.
61456         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61457         * sysdeps/unix/s-proto-bp.S: Likewise.
61459         [BZ #15062]
61460         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61461         parts of result separately when argument is not close to line from
61462         -i to i and one part of argument is small.
61463         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61464         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61465         * math/libm-test.inc (cacos_test): Add more tests.
61466         (casin_test): Likewise.
61467         (casinh_test): Likewise.
61468         * sysdeps/i386/fpu/libm-test-ulps: Update.
61469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61471 2013-01-31  David S. Miller  <davem@davemloft.net>
61473         * po/de.po: Update from translation team.
61475 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61477         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61479 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61481         * configure.in (_AC_PROG_CC_C89): New definition.
61482         * configure: Regenerate.
61484         * configure.in (AC_PROG_CPP): New definition.
61485         * configure: Regenerate.
61487 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61489         * debug/tst-backtrace.h: New file.
61490         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61491         (ret): Remove variable.
61492         (x): Likewise.
61493         (FAIL): Remove macro.
61494         (NO_INLINE): Likewise.
61495         (fn1): Use match function instead of strstr.
61496         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61497         (ret): Remove variable.
61498         (x): Likewise.
61499         (FAIL): Remove macro.
61500         (NO_INLINE): Likewise.
61501         (fn): Use match function instead of strstr.
61502         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61503         (ret): Remove variable.
61504         (x): Likewise.
61505         (FAIL): Remove macro.
61506         (NO_INLINE): Likewise.
61507         (handle_signal): Use match function instead of strstr.
61508         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61509         (ret): Remove variable.
61510         (x): Likewise.
61511         (FAIL): Remove macro.
61512         (NO_INLINE): Likewise.
61513         (handle_signal): Use match function instead of strstr.
61515 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61517         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61519 2013-01-23  David S. Miller  <davem@davemloft.net>
61521         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61522         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61523         argument of CAS if possible.
61524         * sysdeps/sparc/sparc64/bits/atomic.h
61525         (__arch_compare_and_exchange_val_32_acq): Likewise.
61526         (__arch_compare_and_exchange_val_64_acq): Likewise.
61528 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61530         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61531         * sysdeps/posix/ulimit.c: ... this.
61532         Include <limits.h>.
61533         * sysdeps/unix/bsd/ulimit.c: Remove file.
61535 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61537         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61538         (LDFLAGS-tst-array5): Likewise.
61540 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61542         [BZ #15036]
61543         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61544         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61545         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61546         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61548 2013-01-21  David S. Miller  <davem@davemloft.net>
61550         * sysdeps/sparc/backtrace.c: New file.
61551         * sysdeps/sparc/sparc32/backtrace.h: New file.
61552         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61553         * sysdeps/sparc/sparc64/backtrace.h: New file.
61554         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61555         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61556         -funwind-tables.
61558 2013-01-21  Andreas Schwab  <schwab@suse.de>
61560         [BZ #15020]
61561         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61562         closed its stdout.
61564 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61566         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61567         "mpa2.h".
61568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61570 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61571             Mark Mitchell  <mark@codesourcery.com>
61572             Tom de Vries  <tom@codesourcery.com>
61573             Paul Pluzhnikov  <ppluzhnikov@google.com>
61575         * debug/tst-backtrace2.c: New file.
61576         * debug/tst-backtrace3.c: Likewise.
61577         * debug/tst-backtrace4.c: Likewise.
61578         * debug/tst-backtrace5.c: Likewise.
61579         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61580         (CFLAGS-tst-backtrace3.c): Likewise.
61581         (CFLAGS-tst-backtrace4.c): Likewise.
61582         (CFLAGS-tst-backtrace5.c): Likewise.
61583         (LDFLAGS-tst-backtrace2): Likewise.
61584         (LDFLAGS-tst-backtrace3): Likewise.
61585         (LDFLAGS-tst-backtrace4): Likewise.
61586         (LDFLAGS-tst-backtrace5): Likewise.
61587         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61588         tst-backtrace4 and tst-backtrace5.
61590 2013-01-18  Anton Blanchard  <anton@samba.org>
61591             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61593         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61594         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61596         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61598         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61599         "+r" and remove output regs list as redundant.  Add explicit inline
61600         asm to specify register of return val to work around compiler codegen
61601         bug.  Remove (int) cast on return value.  Add return type parameter to
61602         use in macro so that this macro does not truncate return value for
61603         64-bit values.
61604         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61605         pass to INTERNAL_VSYSCALL_NCS.
61606         (INLINE_VSYSCALL): Add 'long int' as return type to
61607         INTERNAL_VSYSCALL_NCS macro invocation.
61608         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61609         INTERNAL_VSYSCALL_NCS macro invocation.
61610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61612 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61614         [BZ #14496]
61615         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61616         Fix application of SIMD FP exception mask.
61618         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61619         mp_no from a power of two.
61620         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61621         __mpexp_twomm1.  Use __pow_mp.
61623         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61624         multiplication.
61626 2013-01-17  David S. Miller  <davem@davemloft.net>
61628         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61630 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61632         [BZ #15023]
61633         * include/complex.h: Condition contents on [!_COMPLEX_H].
61634         (__kernel_casinhf): New prototype.
61635         (__kernel_casinh): Likewise.
61636         (__kernel_casinhl): Likewise.
61637         * math/Makefile (libm_calls): Add k_casinh.
61638         * math/k_casinh.c: New file.
61639         * math/k_casinhf.c: Likewise.
61640         * math/k_casinhl.c: Likewise.
61641         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61642         finite nonzero arguments.
61643         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61644         finite nonzero arguments.
61645         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61646         finite nonzero arguments.
61647         * math/s_casinh.c: Do not include <float.h>.
61648         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61649         * math/s_casinhf.c: Do not include <float.h>.
61650         (__casinhf): Move code for finite nonzero arguments to
61651         k_casinhf.c.
61652         * math/s_casinhl.c: Do not include <float.h>.
61653         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61654         redefine.
61655         (__casinhl): Move code for finite nonzero arguments to
61656         k_casinhl.c.
61657         * math/libm-test.inc (cacos_test): Add more tests.
61658         * sysdeps/i386/fpu/libm-test-ulps: Update.
61659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61661 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61663         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61664         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61665         [!HAVE_MREMAP]: Remove [defined linux] case.
61666         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61668 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61670         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61672 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61674         * elf/elf.h (R_386_SIZE32): New relocation.
61675         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61676         R_386_SIZE32.
61677         (elf_machine_rela): Likewise.
61678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61679         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61681 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61683         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61684         (FP_FAST_FMA): Do not define.
61685         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61686         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61687         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61688         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61689         !_SOFT_FLOAT]: Likewise.
61690         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61691         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61692         value.
61693         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61694         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61695         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61696         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61697         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61698         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61699         file.
61701 2013-01-16  Andreas Schwab  <schwab@suse.de>
61703         [BZ #14327]
61704         * include/stdlib.h (__mktemp): Add declaration.
61705         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61706         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61708 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
61710         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61711         definitions.
61712         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61713         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61714         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61715         definitions here.
61716         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61717         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61718         definitions.
61719         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61720         and ONE.
61721         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61722         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61723         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61724         definitions.
61725         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61726         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61727         definitions.
61728         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61730         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61732 2013-01-15  David S. Miller  <davem@davemloft.net>
61734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61735         trunc{,f} to libm-sysdep_routes.
61736         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61738         file.
61739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61741         file.
61742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61743         file.
61744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61746         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61747         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61748         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61749         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61750         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61751         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61753         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61754         nearbyint{,f} to libm-sysdep_routes.
61755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61757         New file.
61758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61759         file.
61760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61761         New file.
61762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61763         file.
61764         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61765         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61766         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61767         file.
61768         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
61769         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
61770         file.
61771         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
61772         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
61773         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
61775         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
61776         libc_feholdexcept and libc_fesetenv.
61778 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
61780         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
61782 2013-01-14  David S. Miller  <davem@davemloft.net>
61784         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
61785         (SPARC_ASM_VIS2_IFUNC): Likewise.
61786         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
61787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
61788         use of 'siam' instruction.
61789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
61790         Likewise.
61791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
61792         Likewise.
61793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
61794         Likewise.
61795         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
61796         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
61797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
61798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
61799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
61800         file.
61801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
61802         file.
61803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
61804         file.
61805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
61806         file.
61807         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
61808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
61809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
61810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
61811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
61812         new VIS2 routines.
61813         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
61814         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
61815         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
61816         Likewise.
61817         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
61818         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
61819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
61820         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
61821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
61822         routines to libm-sysdep_routines.
61823         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61826         fdim/fdimf to libm-sysdep_routines.
61827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
61828         file.
61829         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
61830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
61831         file.
61832         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
61833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
61834         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
61835         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
61836         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
61837         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
61838         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
61840 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61842         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
61843         to optimize copies.
61845         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
61846         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
61847         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
61850         local variable MPTWO.
61851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
61852         Likewise.
61854 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61856         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
61857         GLOB_NOESCAPE.
61859 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61861         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
61863 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
61865         * manual/pattern.texi (glob_t): Document gl_flags.
61866         (glob64_t): Likewise.
61868 2013-01-11  David S. Miller  <davem@davemloft.net>
61870         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
61871         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
61872         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
61873         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
61874         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
61875         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
61876         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
61877         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
61878         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
61879         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
61880         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
61881         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
61882         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
61884         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
61885         sparc V9 rather than using V8 code.
61886         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
61887         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
61889         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
61890         Move to...
61891         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
61892         Here.
61894 2013-01-11  Roland McGrath  <roland@hack.frob.com>
61896         [BZ #14941]
61897         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
61898         not in the main loop.
61899         * configure: Regenerated.
61901 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
61903         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
61904         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
61905         to just #else.
61906         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
61907         [!__GLIBC_HAVE_LONG_LONG] case.
61908         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
61909         condition to just #else.
61910         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
61911         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
61912         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
61913         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
61914         unconditional.
61915         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
61916         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61917         #elif condition to just #else.
61918         * sysdeps/unix/sysv/linux/sys/sysmacros.h
61919         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
61920         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
61921         #elif condition to just #else.
61923 2013-01-11  Steve Ellcey  <sellcey@mips.com>
61925         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
61926         (EF_MIPS_ARCH_64): Fix value.
61927         (EF_MIPS_ARCH_32R2): New.
61928         (EF_MIPS_ARCH_64R2): New.
61930 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
61932         * Makeconfig (+link-pie-before-libc): New.
61933         (+link-pie-after-libc): Likewise.
61934         (+link-pie-tests): Likewise.
61935         (+link-pie): Rewritten.
61936         (link-before-libc): Remove $(config-LDFLAGS).
61937         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
61938         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
61939         (config-LDFLAGS): Renamed to ...
61940         (rtld-LDFLAGS): This.
61941         (rtld-tests-LDFLAGS): New macro.
61942         (link-libc-rpath-link): Likewise.
61943         (link-libc-tests-rpath-link): Likewise.
61944         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
61945         (link-libc): Prepand $(link-libc-rpath-link).
61946         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
61947         (test-program-prefix): New macro.
61948         (test-via-rtld-prefix): Likewise.
61949         (test-program-cmd): Likewise.
61950         (host-test-program-cmd): Likewise.
61951         * Makefile ($(common-objpfx)testrun.sh): Replace
61952         $(run-program-prefix) with $(test-program-prefix).
61953         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
61954         $(rtld-LDFLAGS).
61955         ($(common-objpfx)shlib.lds): Likewise.
61956         (build-module-helper): Likewise.
61957         ($(common-objpfx)format.lds): Likewise.
61958         * Rules (binaries-pie-tests): New.
61959         (binaries-pie-notests): Likewise.
61960         (binaries-pie): Rewritten.
61961         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
61962         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
61963         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
61964         (make-test-out): Replace $(host-built-program-cmd) with
61965         $(host-test-program-cmd).
61966         * config.make.in (build-hardcoded-path-in-tests): New variable.
61967         * configure.in (--enable-hardcoded-path-in-tests): New configure
61968         option.
61969         (hardcoded_path_in_tests): New AC_SUBST.
61970         * configure: Regenerated.
61971         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
61972         $(built-program-cmd) with $(test-program-cmd).
61973         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
61974         (test_program_cmd): This.
61975         * elf/Makefile ($(objpfx)order.out): Run test with
61976         $(test-program-prefix).
61977         ($(objpfx)order2.out): Likewise.
61978         ($(objpfx)tst-initorder.out): Likewise.
61979         ($(objpfx)tst-initorder2.out): Likewise.
61980         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
61981         $(test-program-cmd).
61982         ($(objpfx)tst-array1-static.out): Likewise.
61983         ($(objpfx)tst-array2.out): Likewise.
61984         ($(objpfx)tst-array3.out): Likewise.
61985         ($(objpfx)tst-array4.out): Likewise.
61986         ($(objpfx)tst-array5.out): Likewise.
61987         ($(objpfx)tst-array5-static.out): Likewise.
61988         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
61989         $(test-program-cmd).
61990         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
61991         $(run-program-prefix) with $(test-program-prefix).
61992         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
61993         (test_program_prefix): This.
61994         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
61995         $(run-program-prefix) with $(test-program-prefix).
61996         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
61997         (test_program_prefix): This.
61998         * iconvdata/tst-tables.sh: Likewise.
61999         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62000         $(run-program-prefix) with $(test-program-prefix).
62001         ($(objpfx)tst-translit.out): Likewise.
62002         ($(objpfx)tst-gettext2.out): Likewise.
62003         ($(objpfx)tst-gettext4.out): Likewise.
62004         ($(objpfx)tst-gettext6.out): Likewise.
62005         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62006         (test_program_prefix): This.
62007         * intl/tst-gettext2.sh: Likewise.
62008         * intl/tst-gettext4.sh  Likewise.
62009         * intl/tst-gettext6.sh: Likewise.
62010         * intl/tst-translit.sh: Likewise.
62011         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62012         with $(test-program-cmd).
62013         * libio/Makefile ($(objpfx)test-freopen.out): Replace
62014         $(run-program-prefix) with $(test-program-prefix).
62015         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62016         (test_program_prefix): This.
62017         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62018         $(run-program-prefix) with $(test-program-prefix).
62019         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62020         (test_program_prefix): This.
62021         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62022         * posix/Makefile ($(objpfx)globtest.out): Replace
62023         $(run-via-rtld-prefix) and $(test-wrapper) with
62024         $(test-program-prefix) and $(test-via-rtld-prefix).
62025         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62026         $(test-program-prefix).
62027         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62028         $(host-test-program-cmd).
62029         (tst-spawn-ARGS): Likewise.
62030         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62031         $(test-program-prefix).
62032         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62033         (test_via_rtld_prefix): This.
62034         (test_wrapper): Renamed to ...
62035         (test_program_prefix): This.
62036         (run_program_prefix): Replaced by test_program_prefix.
62037         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62038         (test_program_prefix): This.
62039         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62040         with $(host-test-program-cmd).
62041         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62042         $(run-program-prefix) with $(test-program-prefix).
62043         ($(objpfx)tst-printf.out): Likewise.
62044         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62045         $(test-program-cmd).
62046         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62047         (test_program_prefix): This.
62048         * stdio-common/tst-unbputc.sh: Likewise.
62049         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62050         $(run-program-prefix) with $(test-program-prefix).
62051         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62052         (test_program_prefix): This.
62053         * string/Makefile ($(objpfx)tst-svc.out):  Replace
62054         $(built-program-cmd) with $(test-program-cmd).
62056 2013-01-11  Andreas Jaeger  <aj@suse.de>
62058         [BZ #15003]
62059         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62060         value. Sync with Linux 3.7.
62062 2013-01-10  David S. Miller  <davem@davemloft.net>
62064         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62065         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62066         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62068 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62070         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62071         never set.
62072         * configure: Regenerated.
62074 2013-01-10  David S. Miller  <davem@davemloft.net>
62076         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62077         sparc V9 rather than using V8 code.
62078         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62079         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62081 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62083         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62084         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62085         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62086         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62087         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62088         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62089         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62090         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62091         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62092         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62093         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62094         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62095         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62096         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62097         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62098         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62099         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62100         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62101         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62102         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62103         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62104         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62105         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62106         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62107         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62108         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62109         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62111 2013-01-10  David S. Miller  <davem@davemloft.net>
62113         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62115 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62117         * posix/Makefile (tests-static): New variable.
62118         (tests): Add $(tests-static).
62119         (tst-exec-static-ARGS): New variable.
62120         (tst-spawn-static-ARGS): Likewise.
62121         * posix/tst-exec-static.c: New file.
62122         * posix/tst-spawn-static.c: Likewise.
62123         * posix/tst-exec.c: Support run directly.
62124         * posix/tst-spawn.c: Likewise.
62126 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
62128         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62129         long.
62130         * math/bits/mathcalls.h (llrint): Likewise.
62131         (llround): Likewise.
62132         * stdlib/stdlib.h (struct drand48_data): Likewise.
62133         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62134         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62135         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62136         Likewise.
62137         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62138         Likewise.
62139         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62140         (elf_greg_t): Likewise.
62141         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62142         (__jmp_buf): Likewise.
62143         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62144         definitions.
62145         (llrint): Likewise, for all definitions.
62146         (llrintl): Likewise.
62148         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62149         Remove [__GNUC__] condition.
62150         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62151         condition to just [__USE_ISOC99].
62152         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62154 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62156         [BZ #14200]
62157         * sysdeps/unix/sysv/linux/x86/bits/environments.h
62158         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62159         defined.
62160         (_POSIX_V6_ILP32_OFF32): Likewise.
62161         (_XBS5_ILP32_OFF32): Likewise.
62162         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62163         (__ILP32_OFFBIG_LDFLAGS): Likewise.
62165 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62167         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62169         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62170         doubles __mpexp_twomm1.  Adjust usage.
62171         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62172         Remove.
62174 2013-01-10  Andreas Schwab  <schwab@suse.de>
62176         [BZ #14964]
62177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62178         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62180 2013-01-09  David S. Miller  <davem@davemloft.net>
62182         [BZ #15003]
62183         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62184         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62185         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62186         (TCP_FASTOPEN): Define.
62187         (tcp_repair_opt): New structure.
62188         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62189         enum values.
62190         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62191         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62192         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62193         (tcp_cookie_transactions): New structure.
62195 2013-01-09  Anton Blanchard  <anton@samba.org>
62197         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62198         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62199         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62200         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62202 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
62204         * include/features.h (__USE_ANSI): Remove.
62206 2013-01-09  Roland McGrath  <roland@hack.frob.com>
62208         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62210         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62212 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
62214         * sysdeps/s390/fpu/libm-test-ulps: Update.
62216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62218         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62219         (__acr): Likewise.
62220         (__cpy): Likewise.
62221         (norm): Likewise.
62222         (denorm): Likewise.
62223         (__mp_dbl): Likewise.
62224         (__dbl_mp): Likewise.
62225         (add_magnitudes): Likewise.
62226         (sub_magnitudes): Likewise.
62227         (__add): Likewise.
62228         (__sub): Likewise.
62229         (__mul): Likewise.
62230         (__inv): Likewise.
62231         (__dvd): Likewise.
62232         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62233         (__acr): Likewise.
62234         (__cpy): Likewise.
62235         (norm): Likewise.
62236         (denorm): Likewise.
62237         (__mp_dbl): Likewise.
62238         (__dbl_mp): Likewise.
62239         (add_magnitudes): Likewise.
62240         (sub_magnitudes): Likewise.
62241         (__add): Likewise.
62242         (__sub): Likewise.
62243         (__mul): Likewise.
62244         (__inv): Likewise.
62245         (__dvd): Likewise.
62246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62247         (__acr): Likewise.
62248         (__cpy): Likewise.
62249         (norm): Likewise.
62250         (denorm): Likewise.
62251         (__mp_dbl): Likewise.
62252         (__dbl_mp): Likewise.
62253         (add_magnitudes): Likewise.
62254         (sub_magnitudes): Likewise.
62255         (__add): Likewise.
62256         (__sub): Likewise.
62257         (__mul): Likewise.
62258         (__inv): Likewise.
62259         (__dvd): Likewise.
62261 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62263         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62264         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62265         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62266         2 && __USE_EXTERN_INLINES]: Likewise.
62268 2013-01-08  Andreas Jaeger  <aj@suse.de>
62270         [BZ# 14985]
62271         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62272         Remove.
62273         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62274         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62276 2013-01-07  Anton Blanchard  <anton@samba.org>
62278         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62279         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62280         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62281         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62282         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62283         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62284         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62285         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62286         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62287         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62288         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62289         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62290         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62291         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62292         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62293         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62294         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62295         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62296         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62297         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62298         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62299         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62300         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62301         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62302         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62303         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62304         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62305         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62306         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62307         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62308         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62309         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62310         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62311         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62312         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62313         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62314         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62315         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62316         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62317         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62318         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62319         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62320         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62322 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62324         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62325         (__MALLOC_PMT): Likewise.
62326         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62327         [__GNUC__], only on [_LIBC].
62328         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62329         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62330         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62331         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62332         forward declaration.
62333         (realloc_hook_ini): Likewise.
62334         (memalign_hook_ini): Likewise.
62335         (__libc_memalign): Do not use __MALLOC_PMT in variable
62336         declaration.
62337         (__libc_valloc): Likewise.
62338         (__libc_pvalloc): Likewise.
62339         (__libc_calloc): Likewise.
62340         (__posix_memalign): Likewise.
62342         [BZ #14996]
62343         * math/s_casinh.c: Include <float.h>.
62344         (__casinh): Do not do computation with squaring and square root
62345         for large arguments.
62346         * math/s_casinhf.c: Include <float.h>.
62347         (__casinhf): Do not do computation with squaring and square root
62348         for large arguments.
62349         * math/s_casinhl.c: Include <float.h>.
62350         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62351         (__casinhl): Do not do computation with squaring and square root
62352         for large arguments.
62353         * math/libm-test.inc (casin_test): Add more tests.
62354         (casinh_test): Likewise.
62355         * sysdeps/i386/fpu/libm-test-ulps: Update.
62356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62358 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62360         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62361         (__x86_64_raw_data_cache_size): Likewise.
62362         (__x86_64_data_cache_size_half): Likewise.
62363         (__x86_64_raw_data_cache_size_half): Likewise.
62364         (__x86_64_shared_cache_size): Likewise.
62365         (__x86_64_raw_shared_cache_size): Likewise.
62366         (__x86_64_shared_cache_size_half): Likewise.
62367         (__x86_64_raw_shared_cache_size_half): Likewise.
62368         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62369         to ...
62370         (__x86_data_cache_size): This.
62371         (__x86_64_raw_data_cache_size): Renamed to ...
62372         (__x86_raw_data_cache_size): This.
62373         (__x86_64_data_cache_size_half): Renamed to ...
62374         (__x86_data_cache_size_half): This.
62375         (__x86_64_raw_data_cache_size_half): Renamed to ...
62376         (__x86_raw_data_cache_size_half): This.
62377         (__x86_64_shared_cache_size): Renamed to ...
62378         (__x86_shared_cache_size): This.
62379         (__x86_64_raw_shared_cache_size): Renamed to ...
62380         (__x86_raw_shared_cache_size): This.
62381         (__x86_64_shared_cache_size_half): Renamed to ...
62382         (__x86_shared_cache_size_half): This.
62383         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62384         (__x86_raw_shared_cache_size_half): This.
62385         * sysdeps/x86_64/memcpy.S: Updated.
62386         * sysdeps/x86_64/memset.S: Likewise.
62387         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62388         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62389         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62391 2013-01-04  David S. Miller  <davem@davemloft.net>
62393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62395 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62397         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62398         1 to avoid redefinition warning.
62399         (__USE_GNU): Don't define.
62400         (init_signaling_nan): Protoize.
62402         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62404 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62406         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62407         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62408         (__cpymn): Likewise.
62409         (norm): Remove commented code.
62410         (denorm): Likewise.
62411         (__mp_dbl): Likewise.
62412         (__inv): Likewise.
62413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62414         (__cpymn): Likewise.
62415         (norm): Remove commented code.
62416         (denorm): Likewise.
62417         (__mp_dbl): Likewise.
62418         (__inv): Likewise.
62420         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62421         mp_no value for 1.0 and 2.0.
62422         (norm): Use RADIXI instead of radixi.d.
62423         (denorm): Likewise.
62424         (__mul): Use 0.0 instead of zero.d.
62425         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62426         mp_no value for 1.0 and 2.0.
62427         (norm): Use RADIXI instead of radixi.d.
62428         (denorm): Likewise.
62429         (__mul): Use 0.0 instead of zero.d.
62431 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62433         [BZ #14994]
62434         * math/s_casinh.c (__casinh): Reduce finite argument to first
62435         quadrant then set signs of results at the end.
62436         * math/s_casinhf.c (__casinhf): Likewise.
62437         * math/s_casinhl.c (__casinhl): Likewise.
62438         * math/libm-test.inc (casin_test): Add more tests.
62439         (casinh_test): Likewise.
62440         * sysdeps/i386/fpu/libm-test-ulps: Update.
62441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62443 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62445         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62447         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62449         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62450         declarations.
62451         (denorm): Likewise.
62452         (__mp_dbl): Likewise.
62453         (__inv): Likewise.
62455         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62456         and adjust the header comment.
62458         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62459         variable name from declaration.
62461 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62463         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62464         Initialize COMMON_CPUID_INDEX_7 element.
62465         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62466         (CPUID_RTM): Likewise.
62467         (HAS_RTM): Likewise.
62468         (COMMON_CPUID_INDEX_7): New enum.
62470 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62472         [BZ #14981]
62473         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62474         size is zero, record memory as freed.
62476 2013-01-03  Andreas Jaeger  <aj@suse.de>
62478         * po/ia.po: Add new Interlingua translation.
62480 2012-01-03  Allan McRae  <allan@archlinux.org>
62482         * locale/programs/localedef.c: Fix description of '--posix' flag.
62484 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62486         * NEWS: Update dates in second copyright notice.
62487         * README: Update copyright dates in example.
62488         * manual/libc.texinfo: Update copyright dates.
62489         * scripts/test-installation.pl: Update copyright date in --version
62490         output.
62492         * hurd/ctty-input.c: Fix copyright notice formatting.
62493         * hurd/ctty-output.c: Likewise.
62494         * hurd/dtable.c: Likewise.
62495         * hurd/hurd-raise.c: Likewise.
62496         * hurd/hurdprio.c: Likewise.
62497         * hurd/msgportdemux.c: Likewise.
62498         * misc/sys/file.h: Likewise.
62499         * misc/sys/ioctl.h: Likewise.
62500         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62501         * sysdeps/mach/hurd/chdir.c: Likewise.
62502         * sysdeps/mach/hurd/fchdir.c: Likewise.
62503         * sysdeps/mach/hurd/rename.c: Likewise.
62504         * sysdeps/mach/hurd/rmdir.c: Likewise.
62505         * sysdeps/mach/hurd/seekdir.c: Likewise.
62506         * sysdeps/mach/hurd/setsid.c: Likewise.
62507         * sysdeps/posix/wait3.c: Likewise.
62509         * All files with FSF copyright notices: Update copyright dates
62510         using scripts/update-copyrights.
62511         * intl/plural.c: Regenerated.
62512         * locale/programs/charmap-kw.h: Likewise.
62513         * locale/programs/locfile-kw.h: Likewise.
62515 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62517         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62518         four values.
62520         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62521         calculation loop and add branch prediction.
62523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62524         check access beyond bounds of m1np.
62526         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62527         MPTWO.
62528         (__inv): Remove local variable MPTWO to use the global
62529         constant.
62530         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62531         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62532         variable MPTWO.
62533         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62534         MP3HALFS static const.
62536 2013-01-01  David S. Miller  <davem@davemloft.net>
62538         * po/ca.po: Update from translation team.
62540 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62542         * scripts/update-copyrights: New file.
62543         * Makeconfig: Reformat copyright notice.
62544         * ctype/ctype.h: Likewise.
62545         * debug/swprintf_chk.c: Likewise.
62546         * elf/dl-cache.c: Likewise.
62547         * elf/dl-debug.c: Likewise.
62548         * elf/dl-object.c: Likewise.
62549         * grp/initgroups.c: Likewise.
62550         * hurd/Makefile: Likewise.
62551         * hurd/hurd/signal.h: Likewise.
62552         * hurd/hurdfault.c: Likewise.
62553         * hurd/hurdioctl.c: Likewise.
62554         * hurd/hurdlookup.c: Likewise.
62555         * hurd/intr-msg.c: Likewise.
62556         * iconv/gconv_open.c: Likewise.
62557         * libio/swprintf.c: Likewise.
62558         * locale/lc-ctype.c: Likewise.
62559         * locale/nl_langinfo.c: Likewise.
62560         * mach/Machrules: Likewise.
62561         * mach/Makefile: Likewise.
62562         * malloc/obstack.h: Likewise.
62563         * manual/Makefile: Likewise.
62564         * manual/tsort.awk: Likewise.
62565         * misc/bits/stab.def: Likewise.
62566         * nis/nis_print_group_entry.c: Likewise.
62567         * nis/nis_table.c: Likewise.
62568         * nis/nss_compat/compat-pwd.c: Likewise.
62569         * nis/nss_compat/compat-spwd.c: Likewise.
62570         * po/Makefile: Likewise.
62571         * posix/fnmatch.c: Likewise.
62572         * posix/regex.h: Likewise.
62573         * resolv/Makefile: Likewise.
62574         * resolv/nss_dns/dns-network.c: Likewise.
62575         * resolv/res_hconf.c: Likewise.
62576         * scripts/gen-sorted.awk: Likewise.
62577         * soft-fp/soft-fp.h: Likewise.
62578         * stdio-common/printf.h: Likewise.
62579         * stdlib/monetary.h: Likewise.
62580         * stdlib/random.c: Likewise.
62581         * stdlib/random_r.c: Likewise.
62582         * sysdeps/generic/Makefile: Likewise.
62583         * sysdeps/gnu/Makefile: Likewise.
62584         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62585         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62586         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62587         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62589         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62590         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62592         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62594         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62595         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62596         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62597         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62598         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62599         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62600         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62601         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62602         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62603         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62604         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62605         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62606         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62607         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62608         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62609         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62610         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62611         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62612         * sysdeps/mach/hurd/errnos.awk: Likewise.
62613         * sysdeps/mach/hurd/fork.c: Likewise.
62614         * sysdeps/mach/hurd/getcwd.c: Likewise.
62615         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62616         * sysdeps/mach/hurd/mmap.c: Likewise.
62617         * sysdeps/mach/hurd/utimes.c: Likewise.
62618         * sysdeps/mach/hurd/xmknod.c: Likewise.
62619         * sysdeps/posix/profil.c: Likewise.
62620         * sysdeps/posix/readdir_r.c: Likewise.
62621         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62622         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62623         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62624         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62626         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62627         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62628         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62630         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62631         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62632         * sysdeps/pthread/lio_listio.c: Likewise.
62633         * sysdeps/sparc/dl-procinfo.h: Likewise.
62634         * sysdeps/unix/i386/sysdep.S: Likewise.
62635         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62636         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62637         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62638         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62640         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62641         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62642         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62643         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62644         * sysdeps/wordsize-32/divdi3.c: Likewise.
62645         * time/sys/time.h: Likewise.
62646         * wcsmbs/Makefile: Likewise.
62648 2013-01-01  David S. Miller  <davem@davemloft.net>
62650         * po/fr.po: Update from translation team.
62652         * catgets/gencat.c: Update copyright year.
62653         * csu/version.c: Likewise.
62654         * debug/catchsegv.sh: Likewise.
62655         * debug/pcprofiledump.c: Likewise.
62656         * debug/xtrace.sh: Likewise.
62657         * elf/ldconfig.c: Likewise.
62658         * elf/ldd.bash.in: Likewise.
62659         * elf/pldd.c: Likewise.
62660         * elf/sotruss.ksh: Likewise.
62661         * elf/sprof.c: Likewise.
62662         * iconv/iconv_prog.c: Likewise.
62663         * iconv/iconvconfig.c: Likewise.
62664         * locale/programs/locale.c: Likewise.
62665         * locale/programs/localedef.c: Likewise.
62666         * login/programs/pt_chown.c: Likewise.
62667         * malloc/memusage.sh: Likewise.
62668         * malloc/memusagestat.c: Likewise.
62669         * malloc/mtrace.pl: Likewise.
62670         * nscd/nscd.c: Likewise.
62671         * nss/getent.c: Likewise.
62672         * nss/makedb.c: Likewise.
62673         * posix/getconf.c: Likewise.
62675 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62677         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62678         numbers.
62680 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62682         * math/bits/mathcalls.h (modf): Use __nonnull.
62684 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62686         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62687         (split): Use macro CN instead of the bare value.
62688         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62689         could be used.
62690         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62691         instead of the bare value.
62692         (power1): Likewise.
62694 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62696         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62697         __ATAN_TWOM.
62698         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62700         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62701         their values.
62702         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62703         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62704         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62705         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62707 2012-12-28  Andreas Jaeger  <aj@suse.de>
62709         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
62710         values are from Linux 3.7.
62712         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62713         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
62715 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62717         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62718         TRUE case.
62720         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62721         (norm): Likewise.
62722         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62723         variables with preprocessor constants.
62724         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62725         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62726         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62728 2012-12-27  Bruno Haible  <bruno@clisp.org>
62730         [BZ #14317]
62731         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62732         only if needed.
62734 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
62736         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62737         and use variable directly.
62738         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62740         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62741         MPONE.
62742         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62743         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62744         variable MPONE.
62745         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62746         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62747         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62748         include directive.  Remove local variable MPONE.
62749         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62750         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62751         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62753 2012-12-25  David S. Miller  <davem@davemloft.net>
62755         * version.h (RELEASE): Set to "development".
62756         (VERSION): Set to "2.17.90".
62757         * NEWS: Add 2.18 section.
62759 2012-12-21  David S. Miller  <davem@davemloft.net>
62761         * po/hr.po: Update from translation team.
62763 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62765         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62767 2012-12-19  Steve Ellcey  <sellcey@mips.com>
62769         * NEWS:  Mention new memcpy for MIPS.
62771 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
62773         * manual/contrib.texi (Contributors): Spelling correction.
62775 2012-12-15  David S. Miller  <davem@davemloft.net>
62777         * po/ru.po: Update from translation team.
62779 2012-12-13  David S. Miller  <davem@davemloft.net>
62781         * NEWS: Mention IFUNC testsuite enhancements.
62783         * po/pl.po: Update from translation team.
62784         * po/bg.po: Likewise.
62786         * manual/contrib.texi (Contributors): Update entries for Hongjiu
62787         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
62789 2012-12-11  David S. Miller  <davem@davemloft.net>
62791         * po/sv.po: Update from translation team.
62793         * po/vi.po: Update from translation team.
62795         * po/cs.po: Update from translation team.
62797         * po/de.po: Update from translation team.
62798         * po/eo.po: Likewise.
62799         * po/nl.po: Likewise.
62801 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62803         [BZ #14246]
62804         * manual/argp.texi (Argp Helper Functions): Move node to follow
62805         Argp Parsing State.
62807         [BZ #14872]
62808         * manual/conf.texi (Limits on File System Capacity): Mention if
62809         terminating null is included in the max size.
62811 2012-12-10  Andreas Jaeger  <aj@suse.de>
62813         * po/cs.po: Update from translation team.
62815 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
62817         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
62818         void pointer and cast to uintptr_t.
62819         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
62820         path.
62821         * sysdeps/s390/s390-64/memcpy.S: Likewise.
62822         * sysdeps/s390/s390-64/memset.S: Likewise.
62824 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
62826         [BZ #14833]
62827         * menual/message.texi (Message Translation): Fix typos.
62828         (Helper programs for gettext): Likewise.
62830 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
62832         [BZ #14898]
62833         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
62834         Change to -1.
62836 2012-12-07  David S. Miller  <davem@davemloft.net>
62838         * po/libc.pot: Update.
62840 2012-12-07  Richard Henderson  <rth@redhat.com>
62842         [BZ #10114]
62843         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
62844         normal/normal case to before the switch.
62845         (_FP_DIV): Likewise.
62847 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
62848             Mike Frysinger  <vapier@gentoo.org>
62850         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
62851         check for __NR_fadvise64_64.
62853 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
62855         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
62856         0, not just to plain "0" as a statement.
62857         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
62858         with cw.
62860 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
62862         * NEWS: Use sourceware.org in Bugzilla URL.
62864 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
62866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
62867         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
62869         * stdio-common/tst-put-error.c (do_test): Add newline to the
62870         padded test to ensure flush.
62872 2012-12-05  Jeff Law  <law@redhat.com>
62874         * sunrpc/etc.rpc (fedfs_admin): Add entry.
62876 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
62878         * README: Don't refer to ports add-on as distributed separately.
62879         Mention AArch64 in list of systems supported in the ports add-on.
62881         * LICENSES: Add more non-FSF copyright and license notices.
62883         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
62884         ((unused)).
62886         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
62888         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
62889         10000 as width of padded output.
62891 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62893         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
62895         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
62896         variable LX with __attribute__ ((unused)).
62897         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62898         Likewise.
62899         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62900         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62901         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
62902         with __attribute__ ((unused)).
62904 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
62906         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
62908 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
62910         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
62911         (CFLAGS-nldbl-acos.c): New variable.
62912         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
62913         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
62914         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
62915         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
62916         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
62917         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
62918         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
62919         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
62920         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
62921         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
62922         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
62923         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
62924         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
62925         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
62926         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
62927         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
62928         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
62929         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
62930         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
62931         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
62932         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
62933         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
62934         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
62935         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
62936         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
62937         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
62938         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
62939         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
62940         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
62941         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
62942         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
62943         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
62944         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
62945         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
62946         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
62947         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
62948         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
62949         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
62950         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
62951         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
62952         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
62953         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
62954         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
62955         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
62956         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
62957         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
62958         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
62959         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
62960         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
62961         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
62962         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
62963         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
62964         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
62965         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
62966         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
62967         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
62968         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
62969         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
62970         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
62971         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
62972         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
62973         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
62974         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
62975         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
62976         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
62977         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
62978         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
62979         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
62980         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
62981         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
62982         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
62983         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
62984         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
62985         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
62986         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
62987         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
62988         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
62989         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
62990         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
62991         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
62992         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
62993         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
62994         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
62995         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
62996         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
62997         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
62998         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
62999         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63000         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63001         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63002         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63003         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63004         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63005         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63006         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63007         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63008         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63011         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63013         [BZ #14914]
63014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63015         whole low double instead of just low 47 bits when splitting values
63016         into two parts.
63018 2012-12-03  Allan McRae  <allan@archlinux.org>
63020         * manual/stdio.texi (Predefined Printf Handlers): Remove
63021         @hsep and @vsep usage.
63023 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
63025         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63026         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63028 2012-12-03  Jeff Law  <law@redhat.com>
63030         * time/sys/time.h (settimeofday): Do not mark TV argument
63031         as __nonnull.
63033 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
63035         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63036         when currently writing and seek to current position when not.
63037         * libio/Makefile (tests): Remove bug-fclose1.
63038         * libio/bug-fclose1.c: Delete.
63040 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
63042         * manual/arith.texi (feenableexcept): Fix typo.
63043         (fedisableexcept): Likewise.
63045 2012-11-30  Roland McGrath  <roland@hack.frob.com>
63047         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63048         second, differently-typed declaration, rather than a cast.
63050 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63052         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63053         * include/rpc/svc.h: ... here.
63055 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
63057         [BZ #13013]
63058         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63059         depending n and resplen2 to catch cases where answer
63060         equals answerp2.
63062 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
63064         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63065         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63067 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
63069         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63071 2012-11-29  Roland McGrath  <roland@hack.frob.com>
63073         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63075 2012-11-28  Jeff Law  <law@redhat.com>
63077         [BZ #13761]
63078         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63079         dataset_temporary.  Track alloca usage into alloca_used.
63080         If dataset is large allocate and release it via malloc/free.
63082 2012-06-04  Florian Weimer  <fweimer@redhat.com>
63084         [BZ #14197]
63085         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63087 2012-11-28  David S. Miller  <davem@davemloft.net>
63089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63091 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63093         [BZ #14803]
63094         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63095         of pi/2 rounded to nearest to 64 bits.
63096         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63097         nearest to 64 bits.
63098         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63099         bits.
63101 2012-11-28  Jeff Law <law@redhat.com>
63102             Martin Osvald <mosvald@redhat.com>
63104         [BZ #14889]
63105         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63106         * sunrpc/svc.c: Include time.h.
63107         (__svc_accept_failed): New function.
63108         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63109         any reason other than EINTR, call __svc_accept_failed.
63110         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63111         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63113 2012-11-28  Andreas Schwab  <schwab@suse.de>
63115         * scripts/abilist.awk: Also handle indirect functions in .opd
63116         section.
63118 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63120         [BZ #13881]
63121         * sysdeps/x86/fpu/powl_helper.c: New file.
63122         * sysdeps/x86/fpu/Makefile: Likewise.
63123         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63124         (p3): New object.
63125         (__ieee754_powl): Use __powl_helper for finite arguments except
63126         integer exponents below 8.
63127         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63128         (p3): New object.
63129         (__ieee754_powl): Use __powl_helper for finite arguments except
63130         integer exponents below 8.
63131         * math/libm-test.inc (pow_test): Add more tests and enable some
63132         previously disabled tests.
63133         * sysdeps/i386/fpu/libm-test-ulps: Update.
63134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63136 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63137             Carlos O'Donell  <carlos_odonell@mentor.com>
63139         * nss/makedb.c (is_prime): Assert that input is odd and greater
63140         than 4.  Note that fact in a comment too.
63141         (next_prime): Add 4 to input.
63143 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63145         [BZ #11741]
63146         * libio/Makefile (tests): Add test case tst-fwrite-error.
63147         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63148         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63149         * libio/tst-fwrite-error.c: New test case.
63151 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
63153         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63154         before casting to void *.
63155         * include/libc-internal.h (__pointer_type): New macro.
63156         (__integer_if_pointer_type_sub): Likewise.
63157         (__integer_if_pointer_type): Likewise.
63158         (cast_to_integer): Likewise.
63159         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63160         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63161         before casting to atomic64_t.
63162         (atomic_exchange_acq): Likewise.
63163         (__arch_exchange_and_add_body): Likewise.
63164         (__arch_add_body): Likewise.
63165         (atomic_add_negative): Likewise.
63166         (atomic_add_zero): Likewise.
63168 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
63170         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63171         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63172         (add_fdes): Likewise.
63173         (linear_search_fdes): Likewise.
63174         (binary_search_unencoded_fdes): Likewise.
63176 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
63178         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63180 2012-11-24  Adam Conrad  <adconrad@0c3.net>
63182         * configure.in: Autodetect C++ header directories.
63183         * configure: Regenerated.
63185 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
63187         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63189 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
63191         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63193 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
63195         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63196         LDBL_MANT_DIG == 106]: Disable some tests.
63197         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63198         Likewise.
63199         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63200         Likewise.
63202         [BZ #14871]
63203         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63204         input for small inputs.  Return +/- pi/2 for large inputs.
63205         * math/libm-test.inc (atan_test): Add more tests.
63207         * sysdeps/generic/unwind-dw2-fde-glibc.c
63208         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63209         __attribute__ ((unused)).
63211         [BZ #14645]
63212         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63213         x * y if x and y are nonzero and z is zero.
63215         [BZ #14811]
63216         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63217         nonzero exponents with absolute value below 0x1p-117 to +/-
63218         0x1p-117.
63220         [BZ #14869]
63221         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63222         up arguments below 2**-450, not just those below 2**-500.
63223         * math/libm-test.inc (hypot_test): Add another test.
63225         [BZ #14868]
63226         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63227         Return a+b for ratio over 2**120, not 2**60.
63228         * math/libm-test.inc (hypot_test): Add another test.
63230         * math/libm-test.inc (clog_test): Use
63231         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63232         (clog10_test): Likewise.
63234         [BZ #6778]
63235         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63237 2012-11-22  Andreas Schwab  <schwab@suse.de>
63239         * sysdeps/i386/fpu/libm-test-ulps: Update.
63241 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63243         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63244         printf output with newline.
63246 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63248         [BZ #14865]
63249         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63250         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63251         -z nodlopen, -z initfirst and -z execstack support.
63252         * configure: Regenerated.
63254         * elf/elf.h (DF_1_NODIRECT): New macro.
63255         (DF_1_IGNMULDEF): Likewise.
63256         (DF_1_NOKSYMS): Likewise.
63257         (DF_1_NOHDR): Likewise.
63258         (DF_1_EDITED): Likewise.
63259         (DF_1_NORELOC): Likewise.
63260         (DF_1_SYMINTPOSE): Likewise.
63261         (DF_1_GLOBAUDIT): Likewise.
63262         (DF_1_SINGLETON): Likewise.
63263         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63264         DT_1_SUPPORTED_MASK bits.
63265         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63267 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63269         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63271 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63273         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63274         macro.
63276         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63277         (sendmmsg): Move declarations...
63278         * socket/sys/socket.h: ... here.
63279         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63280         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63281         include it from...
63282         * socket/recvmmsg.c: ... this new file.
63283         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63284         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63285         definition of __sendmmsg hidden.
63286         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63287         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63288         Move ENOSYS stub into and include it from...
63289         * socket/sendmmsg.c: ... this new file.
63290         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63291         (sysdep_routines): Move recvmmsg and sendmmsg...
63292         * socket/Makefile (routines): ... here.
63293         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63294         (GLIBC_PRIVATE): Add __sendmmsg.
63295         * include/sys/socket.h (__sendmmsg): Add declarations.
63296         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63297         sendmmsg.
63299 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63301         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63302         variable I1 with __attribute__ ((unused)).
63303         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63305 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63307         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63308         DUMMY variables with __attribute__ ((unused)).
63310         * bits/byteswap.h: Include <bits/types.h>.
63311         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63313 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63315         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63316         string_t.  Do not manually set errno.
63317         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63318         length with __strnlen.  Make sure to both set errno and return it on
63319         failure.
63321 2012-11-19  David S. Miller  <davem@davemloft.net>
63323         With help from Joseph Myers.
63324         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63325         very large arguments properly.
63326         * math/libm-test.inc (atan_test): New tests.
63327         (atan2_test): New tests.
63328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63329         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63331 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63333         [BZ #14856]
63334         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63335         Define to 3.
63337         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63338         [POSIX] (EADDRNOTAVAIL): Likewise.
63339         [POSIX] (EAFNOSUPPORT): Likewise.
63340         [POSIX] (EALREADY): Likewise.
63341         [POSIX] (ECONNABORTED): Likewise.
63342         [POSIX] (ECONNREFUSED): Likewise.
63343         [POSIX] (ECONNRESET): Likewise.
63344         [POSIX] (EDESTADDRREQ): Likewise.
63345         [POSIX] (EDQUOT): Likewise.
63346         [POSIX] (EHOSTUNREACH): Likewise.
63347         [POSIX] (EIDRM): Likewise.
63348         [POSIX] (EISCONN): Likewise.
63349         [POSIX] (ELOOP): Likewise.
63350         [POSIX] (EMULTIHOP): Likewise.
63351         [POSIX] (ENETDOWN): Likewise.
63352         [POSIX] (ENETUNREACH): Likewise.
63353         [POSIX] (ENOBUFS): Likewise.
63354         [POSIX] (ENODATA): Likewise.
63355         [POSIX] (ENOLINK): Likewise.
63356         [POSIX] (ENOMSG): Likewise.
63357         [POSIX] (ENOPROTOOPT): Likewise.
63358         [POSIX] (ENOSR): Likewise.
63359         [POSIX] (ENOSTR): Likewise.
63360         [POSIX] (ENOTCONN): Likewise.
63361         [POSIX] (ENOTSOCK): Likewise.
63362         [POSIX] (EOPNOTSUPP): Likewise.
63363         [POSIX] (EOVERFLOW): Likewise.
63364         [POSIX] (EPROTO): Likewise.
63365         [POSIX] (EPROTONOSUPPORT): Likewise.
63366         [POSIX] (EPROTOTYPE): Likewise.
63367         [POSIX] (ESTALE): Likewise.
63368         [POSIX] (ETIME): Likewise.
63369         [POSIX] (ETXTBSY): Likewise.
63370         [POSIX] (EWOULDBLOCK): Likewise.
63371         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63372         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63373         [POSIX] (SEEK_CUR): Likewise.
63374         [POSIX] (SEEK_END): Likewise.
63375         [POSIX || UNIX98] (mode_t): Do not require.
63376         [POSIX] (off_t): Likewise.
63377         [POSIX] (pid_t): Likewise.
63378         [POSIX] (sys/stat.h): Do not allow header.
63379         [POSIX] (unistd.h): Likewise.
63380         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63381         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63382         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63383         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63384         require.
63385         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63386         sigevent): Specify elements.
63387         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63388         entry.
63389         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63390         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63392         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63393         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63394         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63395         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63396         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63397         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63398         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63399         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63400         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63401         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63402         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63403         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63404         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63405         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63406         Likewise.
63407         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63408         Likewise.
63409         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63410         Likewise.
63411         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63412         Likewise.
63413         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63414         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63415         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63416         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63417         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63418         Specify lower bound on value.
63419         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63420         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63421         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63422         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63423         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63424         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63425         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63426         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63427         value.
63428         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63429         as optional.
63430         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63431         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63432         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63433         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63434         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63435         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63436         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63437         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63438         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63439         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63440         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63441         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63442         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63443         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63444         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63445         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63446         entry.
63447         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63448         optional.
63449         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63450         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63451         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63452         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63453         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63454         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63455         Likewise.
63456         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63457         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63458         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63459         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63460         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63461         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63462         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63463         as optional.
63464         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63465         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63466         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63467         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63468         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63469         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63470         specify as optional.
63471         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63472         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63473         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63474         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63475         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63476         [XPG3] (NL_LANGMAX): Likewise.
63477         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63478         [POSIX || XPG3] (NL_NMAX): Likewise.
63479         [POSIX || XPG3] (NL_SETMAX): Likewise.
63480         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63481         [XPG3] (NZERO): Likewise.
63482         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63483         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63484         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63485         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63486         (REG_ERANGE): Expect.
63487         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63488         optional-constant.
63489         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63490         Use (void) in prototype.
63491         [POSIX] (*_t): Allow.
63492         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63493         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63494         (WRDE_BADVAL): Expect.
63496         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63497         expect.
63498         [XPG3 || XPG4] (O_RSYNC): Likewise.
63499         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63500         Likewise.
63501         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63502         [XPG3 || XPG4] (sigqueue): Likewise.
63503         [XPG3 || XPG4] (sigtimedwait): Likewise.
63504         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63505         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63506         [XPG3 || XPG4] (vsnprintf): Likewise.
63507         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63508         Likewise.
63509         [XPG3 || XPG4] (blksize_t): Likewise.
63510         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63511         Likewise.
63512         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63513         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63514         [XPG3 || XPG4] (struct itimerspec): Likewise.
63515         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63516         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63517         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63518         [XPG3 || XPG4] (clockid_t): Likewise.
63519         [XPG3 || XPG4] (timer_t): Likewise.
63520         [XPG3 || XPG4] (clock_getres): Likewise.
63521         [XPG3 || XPG4] (clock_gettime): Likewise.
63522         [XPG3 || XPG4] (clock_settime): Likewise.
63523         [XPG3 || XPG4] (nanosleep): Likewise.
63524         [XPG3 || XPG4] (timer_create): Likewise.
63525         [XPG3 || XPG4] (timer_delete): Likewise.
63526         [XPG3 || XPG4] (timer_gettime): Likewise.
63527         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63528         [XPG3 || XPG4] (timer_settime): Likewise.
63529         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63530         [XPG3 || XPG4] (getlogin_r): Likewise.
63531         [XPG3 || XPG4] (pread): Likewise.
63532         [XPG3 || XPG4] (pthread_atfork): Likewise.
63533         [XPG3 || XPG4] (pwrite): Likewise.
63535         [BZ #14835]
63536         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63537         <bits/siginfo.h>.
63539 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63541         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63542         finalizing MALLSTREAM.
63544         * sysdeps/mach/hurd/syncfs.c: New file.
63546 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63548         [BZ #14719]
63549         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63550         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63551         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63552         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63553         (_nss_dns_gethostbyname4_r): Likewise.
63554         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63555         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63557 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63559         [BZ #13763]
63560         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63562 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63564         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63565         * elf/cache.c (print_entry): Print ",AArch64" for
63566         FLAG_AARCH64_LIB64
63568         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63569         * elf/cache.c (print_entry): Print ",hard-float" for
63570         FLAG_ARM_LIBHF.
63572 2012-11-18  David S. Miller  <davem@davemloft.net>
63574         With help from Joseph Myers.
63575         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63576         cutoff to 2**-13.
63577         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63578         cutoff to 2**-25.
63579         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63580         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63581         small.
63582         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63583         * math/libm-test.inc (y0_test): New tests.
63584         (y1_test): New tests.
63585         * sysdeps/i386/fpu/libm-test-ulps: Update.
63586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63589 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63591         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63592         64-bit targets.
63593         * configure: Regenerated.
63595 2012-11-17  David S. Miller  <davem@davemloft.net>
63597         [BZ #14811]
63598         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63599         nonzero exponents with absolute value below 0x1p-128 to +/-
63600         0x1p-128.
63602 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63604         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63606         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63608         * posix/getconf-speclist.c: New file.
63609         * posix/posix-envs.def: Likewise.
63610         * posix/confstr.c (START_ENV_GROUP): New macro.
63611         (END_ENV_GROUP): Likewise.
63612         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63613         (KNOWN_PRESENT_ENV_STRING): Likewise.
63614         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63615         (UNKNOWN_ENVIRONMENT): Likewise.
63616         (confstr): Include posix-envs.def instead of handling
63617         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63618         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63619         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63620         (END_ENV_GROUP): Likewise.
63621         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63622         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63623         (UNKNOWN_ENVIRONMENT): Likewise.
63624         (__sysconf): Include posix-envs.def instead of handling associated
63625         cases directly here.
63626         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63627         preprocessing getconf-speclist.c rather than running getconf or
63628         generating empty file.
63630 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63632         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63634 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63636         [BZ #14672]
63637         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63639 2012-11-16  David S. Miller  <davem@davemloft.net>
63641         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63642         smaller than LDBL_EPSILON/2.0L, just return xm1.
63644 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63646         * elf/tst-array1.c (init): Set constructor priority to 1000.
63647         (fini): Set destructor priority to 1000.
63648         * elf/tst-array2dep.c: Likewise.
63650 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63652         [BZ #11741]
63653         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63654         (_IO_new_file_xsputn): Also return EOF if none of the input
63655         data was written when overflow failed.
63656         * libio/iopadn.c (_IO_padn): Likewise.
63657         * libio/iowpadn.c (_IO_wpadn): Likewise.
63658         * stdio-common/tst-put-error.c: Add copyright notice.
63659         (do_test): Add case for printing padded string.
63660         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63661         _IO_padn returned error.
63662         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63663         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63664         return EOF.
63666 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63668         * libio/libioP.h: Add comment note that the references to C++
63669         bits are now obsolete.
63671 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63673         * math/libm-test.inc (check_complex): Use asprintf.
63675 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63677         * debug/pcprofiledump.c (print_version): Update copyright year.
63678         * malloc/memusagestat.c (print_version): Likewise.
63680 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63682         [BZ #14831]
63683         * elf/Makefile (tests): Add tst-audit8.
63684         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63685         ($(objpfx)tst-audit8.out): New target.
63686         (tst-audit8-ENV): New variable.
63687         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63688         audit if l_reloc_result is NULL.
63689         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63690         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63691         * elf/tst-audit8.c: New file.
63693 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63695         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63696         * misc/Makefile (CFLAGS-select.c): Define.
63697         * posix/Makefile (CFLAGS-pause.c): Define.
63699 2012-11-13  David S. Miller  <davem@davemloft.net>
63701         * crypt/Makefile: Move test targets after toplevel Rules
63702         inclusion.  Grab any necessary sysdep routines when linking.
63703         * crypt/md5.c (md5_process_block): Remove define, we will always
63704         name it __md5_process_block.
63705         (md5_finish_ctx): Update md5_process_block call.
63706         (md5_stream): Likewise.
63707         (md5_process_bytes): Likewise.
63708         (md5_process_block): Rename to __md5_process_block and move to ...
63709         * crypt/md5-block.c: ... here.
63710         * crypt/sha256.c (sha256_process_block): Move to ...
63711         * crypt/sha256-block.c: ... here.
63712         * crypt/sha512.c (sha512_process_block): Move to ...
63713         * crypt/sha512-block.c: ... here.
63714         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63715         path.
63716         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63717         * sysdeps/sparc/sparc64/multiarch/Makefile
63718         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63719         crypt subdir.
63720         (localedef-aux): Add md5 crypto assembler when in locale subdir.
63721         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63722         multiarch changes.
63723         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63724         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63725         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63726         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63727         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63728         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63729         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63730         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63731         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63732         file.
63733         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63734         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63735         file.
63736         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63738 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
63740         * timezone/tzselect.ksh: Update from tzcode git revision
63741         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63742         * timezone/zdump.c: Likewise.
63743         * timezone/zic.c: Likewise.
63744         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63745         in TZVERSION setting, not $(PKGVERSION).
63746         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
63747         REPORT_BUGS_TO settings.
63749         [BZ #14838]
63750         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63751         macro.
63753 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63755         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63756         detection to immediately after _FP_ROUND().
63757         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63758         bits are 0.
63760 2012-11-11  David S. Miller  <davem@davemloft.net>
63762         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63763         inttypes.h
63764         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63765         __close rather than their public counterparts.
63767 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
63769         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
63770         file.
63771         [UNIX98] (sem_timedwait): Do not expect.
63772         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
63773         [XPG4 || UNIX98] (sockatmark): Do not expect.
63774         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
63775         (clock_getcpuclockid): Do not expect.
63776         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
63777         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
63778         Do not expect.
63779         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
63780         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
63781         [UNIX98] (vwscanf): Likewise.
63782         [UNIX98] (vswscanf): Likewise.
63784 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
63786         * timezone/version.h: Remove file.
63787         * timezone/README: Do not refer to version.h.
63788         * timezone/Makefile ($(objpfx)zic.o): New dependency on
63789         $(objpfx)version.h.
63790         ($(objpfx)zdump.o): Likewise.
63791         ($(objpfx)version.h): New target.
63793         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
63794         2012i.
63795         * timezone/README: Don't mention modification to tzselect.ksh.
63796         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
63797         work on unmodified tzselect.ksh.  Substitute version numbers in
63798         tzselect.ksh.
63800         * Makefile (format-me): Remove.
63801         (INSTALL): Adjust indentation.  Use commands directly instead of
63802         using $(format-me).
63804         * aclocal.m4 (ACX_PKGVERSION): New macro.
63805         (ACX_BUGURL): Likewise.
63806         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
63807         (PKGVERSION): New AC_DEFINE_UNQUOTED.
63808         (REPORT_BUGS_TO): Likewise.
63809         * configure: Regenerated.
63810         * config.h.in (PKGVERSION): New macro.
63811         (REPORT_BUGS_TO): Likewise.
63812         * config.make.in (PKGVERSION): New variable.
63813         (PKGVERSION_TEXI): Likewise.
63814         (REPORT_BUGS_TO): Likewise.
63815         (REPORT_BUGS_TEXI): Likewise.
63816         * Makefile (format-me): Use -I$(common-objpfx)manual.
63817         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
63818         ($(common-objpfx)manual/%): New target.
63819         (manual/%): Remove target.
63820         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
63821         (print_version): Use PKGVERSION.
63822         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
63823         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
63824         and REPORT_BUGS_TO.
63825         ($(objpfx)xtrace): Likewise.
63826         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
63827         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
63828         (print_version): Use PKGVERSION.
63829         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
63830         (do_version): Use PKGVERSION.
63831         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
63832         REPORT_BUGS_TO.
63833         (common-ldd-rewrite): Likewise.
63834         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
63835         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
63836         (print_version): Use PKGVERSION.
63837         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
63838         * elf/pldd.c (argp_program_bug_address): Remove variable.
63839         (more_help): New function.
63840         (argp): Use more_help.
63841         (print_version): Use PKGVERSION.
63842         * elf/sln.c (main): Use PKGVERSION.
63843         (usage): Use REPORT_BUGS_TO.
63844         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
63845         (top level): Use PKGVERSION.
63846         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
63847         (print_version): Use PKGVERSION.
63848         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
63849         (print_version): Use PKGVERSION.
63850         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
63851         (print_version): Use PKGVERSION.
63852         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
63853         (print_version): Use PKGVERSION.
63854         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
63855         (print_version): Use PKGVERSION.
63856         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
63857         (print_version): Use PKGVERSION.
63858         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
63859         and BUGURL.
63860         ($(objpfx)memusage): Likewise.
63861         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
63862         (do_version): Use PKGVERSION.
63863         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
63864         (print_version): Use PKGVERSION.
63865         * malloc/mtrace.pl ($PACKAGE): Remove variable.
63866         ($PKGVERSION): New variable.
63867         ($REPORT_BUGS_TO): Likewise.
63868         (usage): Use $REPORT_BUGS_TO.
63869         (top level): Use $PKGVERSION.
63870         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
63871         ($(objpfx)pkgvers.texi): New rule.
63872         ($(objpfx)stamp-pkgvers): Likewise.
63873         * manual/install.texi: Include pkgvers.texi.
63874         (--with-pkgversion): Document new configure option.
63875         (--with-bugurl): Likewise.
63876         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
63877         than necessarily for this particular distribution.  Use
63878         REPORT_BUGS_TO for where to report bugs.
63879         * INSTALL: Regenerated.
63880         * manual/libc.texinfo: Include pkgvers.texi.
63881         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
63882         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
63883         (print_version): Use PKGVERSION.
63884         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
63885         (print_version): Use PKGVERSION.
63886         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
63887         (print_version): Use PKGVERSION.
63888         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
63889         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
63890         macro.
63891         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
63892         (print_version): Use PKGVERSION.
63893         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
63894         (print_version): Use PKGVERSION.
63895         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
63896         and PKGVERSION.
63898         * timezone/checktab.awk: Update from tzcode 2012i.
63899         * timezone/ialloc.c: Likewise.
63900         * timezone/private.h: Likewise.
63901         * timezone/scheck.c: Likewise.
63902         * timezone/tzfile.h: Likewise.
63903         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
63904         (TZVERSION): Hardcode tzcode version number.
63905         * timezone/zdump.c: Update from tzcode 2012i.
63906         * timezone/zic.c: Likewise.
63907         * timezone/version.h: New file.
63908         * timezone/README: Describe version.h.  Update upstream location.
63910         [BZ #14824]
63911         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
63912         (mktemp): Enable declaration.
63913         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
63914         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
63915         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
63916         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
63917         Likewise.
63918         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
63919         Likewise.
63920         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
63921         Likewise.
63922         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
63923         Likewise.
63924         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
63925         Likewise.
63926         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
63927         Likewise.
63929         [BZ #14821]
63930         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
63931         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
63932         for copies of such integer values.
63933         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
63934         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
63936 2012-11-09  Andreas Jaeger  <aj@suse.de>
63938         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
63939         definitions and declarations that are provided by
63940         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
63942 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63944         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
63945         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
63946         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
63947         definition.
63949 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63951         * elf/elf.h: Update comment before AArch64 relocations.
63953 2012-11-07  David S. Miller  <davem@davemloft.net>
63955         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
63956         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
63957         (__start_context): Declare.
63958         (__makecontext_ret): Delete.
63959         (__makecontext): Hook up __start_context instead of
63960         __makecontext_ret.
63961         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
63962         (sysdep_routines): Add __start_context when in stdlib.
63964 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63966         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
63967         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
63968         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
63969         hardcoded "nm".
63970         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
63971         (READELF): New variable.  Use it instead of hardcoded "readelf".
63973 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
63975         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
63976         * sysdeps/x86/Makefile: Here.
63977         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
63978         * sysdeps/x86/tst-xmmymm.sh: This.
63980 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
63982         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
63983         expectations.
63984         [UNIX98] (pthread_barrier_t): Do not expect.
63985         [UNIX98] (pthread_barrierattr_t): Likewise.
63986         [UNIX98] (pthread_spinlock_t): Likewise.
63987         [UNIX98] (pthread_barrier_destroy): Likewise.
63988         [UNIX98] (pthread_barrier_init): Likewise.
63989         [UNIX98] (pthread_barrier_wait): Likewise.
63990         [UNIX98] (pthread_barrierattr_destroy): Likewise.
63991         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
63992         [UNIX98] (pthread_barrierattr_init): Likewise.
63993         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
63994         [UNIX98] (pthread_getcpuclockid): Likewise.
63995         [UNIX98] (pthread_mutex_timedlock): Likewise.
63996         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
63997         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
63998         [UNIX98] (pthread_sigmask): Likewise.
63999         [UNIX98] (pthread_spin_destroy): Likewise.
64000         [UNIX98] (pthread_spin_init): Likewise.
64001         [UNIX98] (pthread_spin_lock): Likewise.
64002         [UNIX98] (pthread_spin_trylock): Likewise.
64003         [UNIX98] (pthread_spin_unlock): Likewise.
64004         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64005         Do not expect.
64006         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64007         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64008         [XPG3 || XPG4] (pthread_cond_t): Likewise.
64009         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64010         [XPG3 || XPG4] (pthread_key_t): Likewise.
64011         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64012         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64013         [XPG3 || XPG4] (pthread_once_t): Likewise.
64014         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64015         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64016         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64017         [XPG3 || XPG4] (pthread_t): Likewise.
64019         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64020         not expect.
64021         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64023         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64024         Change function return type to int.
64026         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64027         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64028         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64029         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64030         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64031         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64032         [!POSIX] (posix_madvise): Likewise.
64033         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64034         && !UNIX98].
64035         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64036         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64037         (mode_t): Likewise.
64038         (posix_mem_offset): Likewise.
64039         (posix_typed_mem_get_info): Likewise.
64040         (posix_typed_mem_open): Likewise.
64042         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64043         Change condition to [XOPEN2K8].
64045         * conform/conformtest.pl: Preprocess allow-header data with -x c
64046         instead of from stdin.
64047         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64048         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64049         [C99-based standards] (cerfc): Likewise.
64050         [C99-based standards] (cexp2): Likewise.
64051         [C99-based standards] (cexpm1): Likewise.
64052         [C99-based standards] (clog10): Likewise.
64053         [C99-based standards] (clog1p): Likewise.
64054         [C99-based standards] (clog2): Likewise.
64055         [C99-based standards] (clgamma): Likewise.
64056         [C99-based standards] (ctgamma): Likewise.
64057         [C99-based standards] (cerff): Likewise.
64058         [C99-based standards] (cerfcf): Likewise.
64059         [C99-based standards] (cexp2f): Likewise.
64060         [C99-based standards] (cexpm1f): Likewise.
64061         [C99-based standards] (clog10f): Likewise.
64062         [C99-based standards] (clog1pf): Likewise.
64063         [C99-based standards] (clog2f): Likewise.
64064         [C99-based standards] (clgammaf): Likewise.
64065         [C99-based standards] (ctgammaf): Likewise.
64066         [C99-based standards] (cerfl): Likewise.
64067         [C99-based standards] (cerfcl): Likewise.
64068         [C99-based standards] (cexp2l): Likewise.
64069         [C99-based standards] (cexpm1l): Likewise.
64070         [C99-based standards] (clog10l): Likewise.
64071         [C99-based standards] (clog1pl): Likewise.
64072         [C99-based standards] (clog2l): Likewise.
64073         [C99-based standards] (clgammal): Likewise.
64074         [C99-based standards] (ctgammal): Likewise.
64075         * conform/data/inttypes.h-data [C99-based standards]: Include
64076         stdint.h-data.  Remove all expectations for stdint.h contents.
64077         [C99-based standards] (PRI*): Do not allow.
64078         [C99-based standards] (SCN*): Likewise.
64079         [C99-based standards] (*_t): Likewise.
64080         [C99-based-standards] (PRId8): Expect macro.
64081         [C99-based-standards] (PRIi8): Likewise.
64082         [C99-based-standards] (PRIo8): Likewise.
64083         [C99-based-standards] (PRIu8): Likewise.
64084         [C99-based-standards] (PRIx8): Likewise.
64085         [C99-based-standards] (PRIX8): Likewise.
64086         [C99-based-standards] (SCNd8): Likewise.
64087         [C99-based-standards] (SCNi8): Likewise.
64088         [C99-based-standards] (SCNo8): Likewise.
64089         [C99-based-standards] (SCNu8): Likewise.
64090         [C99-based-standards] (SCNx8): Likewise.
64091         [C99-based-standards] (PRIdLEAST8): Likewise.
64092         [C99-based-standards] (PRIiLEAST8): Likewise.
64093         [C99-based-standards] (PRIoLEAST8): Likewise.
64094         [C99-based-standards] (PRIuLEAST8): Likewise.
64095         [C99-based-standards] (PRIxLEAST8): Likewise.
64096         [C99-based-standards] (PRIXLEAST8): Likewise.
64097         [C99-based-standards] (SCNdLEAST8): Likewise.
64098         [C99-based-standards] (SCNiLEAST8): Likewise.
64099         [C99-based-standards] (SCNoLEAST8): Likewise.
64100         [C99-based-standards] (SCNuLEAST8): Likewise.
64101         [C99-based-standards] (SCNxLEAST8): Likewise.
64102         [C99-based-standards] (PRIdFAST8): Likewise.
64103         [C99-based-standards] (PRIiFAST8): Likewise.
64104         [C99-based-standards] (PRIoFAST8): Likewise.
64105         [C99-based-standards] (PRIuFAST8): Likewise.
64106         [C99-based-standards] (PRIxFAST8): Likewise.
64107         [C99-based-standards] (PRIXFAST8): Likewise.
64108         [C99-based-standards] (SCNdFAST8): Likewise.
64109         [C99-based-standards] (SCNiFAST8): Likewise.
64110         [C99-based-standards] (SCNoFAST8): Likewise.
64111         [C99-based-standards] (SCNuFAST8): Likewise.
64112         [C99-based-standards] (SCNxFAST8): Likewise.
64113         [C99-based-standards] (PRId16): Likewise.
64114         [C99-based-standards] (PRIi16): Likewise.
64115         [C99-based-standards] (PRIo16): Likewise.
64116         [C99-based-standards] (PRIu16): Likewise.
64117         [C99-based-standards] (PRIx16): Likewise.
64118         [C99-based-standards] (PRIX16): Likewise.
64119         [C99-based-standards] (SCNd16): Likewise.
64120         [C99-based-standards] (SCNi16): Likewise.
64121         [C99-based-standards] (SCNo16): Likewise.
64122         [C99-based-standards] (SCNu16): Likewise.
64123         [C99-based-standards] (SCNx16): Likewise.
64124         [C99-based-standards] (PRIdLEAST16): Likewise.
64125         [C99-based-standards] (PRIiLEAST16): Likewise.
64126         [C99-based-standards] (PRIoLEAST16): Likewise.
64127         [C99-based-standards] (PRIuLEAST16): Likewise.
64128         [C99-based-standards] (PRIxLEAST16): Likewise.
64129         [C99-based-standards] (PRIXLEAST16): Likewise.
64130         [C99-based-standards] (SCNdLEAST16): Likewise.
64131         [C99-based-standards] (SCNiLEAST16): Likewise.
64132         [C99-based-standards] (SCNoLEAST16): Likewise.
64133         [C99-based-standards] (SCNuLEAST16): Likewise.
64134         [C99-based-standards] (SCNxLEAST16): Likewise.
64135         [C99-based-standards] (PRIdFAST16): Likewise.
64136         [C99-based-standards] (PRIiFAST16): Likewise.
64137         [C99-based-standards] (PRIoFAST16): Likewise.
64138         [C99-based-standards] (PRIuFAST16): Likewise.
64139         [C99-based-standards] (PRIxFAST16): Likewise.
64140         [C99-based-standards] (PRIXFAST16): Likewise.
64141         [C99-based-standards] (SCNdFAST16): Likewise.
64142         [C99-based-standards] (SCNiFAST16): Likewise.
64143         [C99-based-standards] (SCNoFAST16): Likewise.
64144         [C99-based-standards] (SCNuFAST16): Likewise.
64145         [C99-based-standards] (SCNxFAST16): Likewise.
64146         [C99-based-standards] (PRId32): Likewise.
64147         [C99-based-standards] (PRIi32): Likewise.
64148         [C99-based-standards] (PRIo32): Likewise.
64149         [C99-based-standards] (PRIu32): Likewise.
64150         [C99-based-standards] (PRIx32): Likewise.
64151         [C99-based-standards] (PRIX32): Likewise.
64152         [C99-based-standards] (SCNd32): Likewise.
64153         [C99-based-standards] (SCNi32): Likewise.
64154         [C99-based-standards] (SCNo32): Likewise.
64155         [C99-based-standards] (SCNu32): Likewise.
64156         [C99-based-standards] (SCNx32): Likewise.
64157         [C99-based-standards] (PRIdLEAST32): Likewise.
64158         [C99-based-standards] (PRIiLEAST32): Likewise.
64159         [C99-based-standards] (PRIoLEAST32): Likewise.
64160         [C99-based-standards] (PRIuLEAST32): Likewise.
64161         [C99-based-standards] (PRIxLEAST32): Likewise.
64162         [C99-based-standards] (PRIXLEAST32): Likewise.
64163         [C99-based-standards] (SCNdLEAST32): Likewise.
64164         [C99-based-standards] (SCNiLEAST32): Likewise.
64165         [C99-based-standards] (SCNoLEAST32): Likewise.
64166         [C99-based-standards] (SCNuLEAST32): Likewise.
64167         [C99-based-standards] (SCNxLEAST32): Likewise.
64168         [C99-based-standards] (PRIdFAST32): Likewise.
64169         [C99-based-standards] (PRIiFAST32): Likewise.
64170         [C99-based-standards] (PRIoFAST32): Likewise.
64171         [C99-based-standards] (PRIuFAST32): Likewise.
64172         [C99-based-standards] (PRIxFAST32): Likewise.
64173         [C99-based-standards] (PRIXFAST32): Likewise.
64174         [C99-based-standards] (SCNdFAST32): Likewise.
64175         [C99-based-standards] (SCNiFAST32): Likewise.
64176         [C99-based-standards] (SCNoFAST32): Likewise.
64177         [C99-based-standards] (SCNuFAST32): Likewise.
64178         [C99-based-standards] (SCNxFAST32): Likewise.
64179         [C99-based-standards] (PRId64): Likewise.
64180         [C99-based-standards] (PRIi64): Likewise.
64181         [C99-based-standards] (PRIo64): Likewise.
64182         [C99-based-standards] (PRIu64): Likewise.
64183         [C99-based-standards] (PRIx64): Likewise.
64184         [C99-based-standards] (PRIX64): Likewise.
64185         [C99-based-standards] (SCNd64): Likewise.
64186         [C99-based-standards] (SCNi64): Likewise.
64187         [C99-based-standards] (SCNo64): Likewise.
64188         [C99-based-standards] (SCNu64): Likewise.
64189         [C99-based-standards] (SCNx64): Likewise.
64190         [C99-based-standards] (PRIdLEAST64): Likewise.
64191         [C99-based-standards] (PRIiLEAST64): Likewise.
64192         [C99-based-standards] (PRIoLEAST64): Likewise.
64193         [C99-based-standards] (PRIuLEAST64): Likewise.
64194         [C99-based-standards] (PRIxLEAST64): Likewise.
64195         [C99-based-standards] (PRIXLEAST64): Likewise.
64196         [C99-based-standards] (SCNdLEAST64): Likewise.
64197         [C99-based-standards] (SCNiLEAST64): Likewise.
64198         [C99-based-standards] (SCNoLEAST64): Likewise.
64199         [C99-based-standards] (SCNuLEAST64): Likewise.
64200         [C99-based-standards] (SCNxLEAST64): Likewise.
64201         [C99-based-standards] (PRIdFAST64): Likewise.
64202         [C99-based-standards] (PRIiFAST64): Likewise.
64203         [C99-based-standards] (PRIoFAST64): Likewise.
64204         [C99-based-standards] (PRIuFAST64): Likewise.
64205         [C99-based-standards] (PRIxFAST64): Likewise.
64206         [C99-based-standards] (PRIXFAST64): Likewise.
64207         [C99-based-standards] (SCNdFAST64): Likewise.
64208         [C99-based-standards] (SCNiFAST64): Likewise.
64209         [C99-based-standards] (SCNoFAST64): Likewise.
64210         [C99-based-standards] (SCNuFAST64): Likewise.
64211         [C99-based-standards] (SCNxFAST64): Likewise.
64212         [C99-based-standards] (PRIdMAX): Likewise.
64213         [C99-based-standards] (PRIiMAX): Likewise.
64214         [C99-based-standards] (PRIoMAX): Likewise.
64215         [C99-based-standards] (PRIuMAX): Likewise.
64216         [C99-based-standards] (PRIxMAX): Likewise.
64217         [C99-based-standards] (PRIXMAX): Likewise.
64218         [C99-based-standards] (SCNdMAX): Likewise.
64219         [C99-based-standards] (SCNiMAX): Likewise.
64220         [C99-based-standards] (SCNoMAX): Likewise.
64221         [C99-based-standards] (SCNuMAX): Likewise.
64222         [C99-based-standards] (SCNxMAX): Likewise.
64223         [C99-based-standards] (PRIdPTR): Likewise.
64224         [C99-based-standards] (PRIiPTR): Likewise.
64225         [C99-based-standards] (PRIoPTR): Likewise.
64226         [C99-based-standards] (PRIuPTR): Likewise.
64227         [C99-based-standards] (PRIxPTR): Likewise.
64228         [C99-based-standards] (PRIXPTR): Likewise.
64229         [C99-based-standards] (SCNdPTR): Likewise.
64230         [C99-based-standards] (SCNiPTR): Likewise.
64231         [C99-based-standards] (SCNoPTR): Likewise.
64232         [C99-based-standards] (SCNuPTR): Likewise.
64233         [C99-based-standards] (SCNxPTR): Likewise.
64234         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64235         allow.
64236         * conform/data/stdint.h-data: Update comments to clarify
64237         requirements.
64238         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64239         type.
64240         [C99-based standards] (INT8_MAX): Likewise.
64241         [C99-based standards] (INT16_MIN): Likewise.
64242         [C99-based standards] (INT16_MAX): Likewise.
64243         [C99-based standards] (INT32_MIN): Likewise.
64244         [C99-based standards] (INT32_MAX): Likewise.
64245         [C99-based standards] (INT64_MIN): Likewise.
64246         [C99-based standards] (INT64_MAX): Likewise.
64247         [C99-based standards] (UINT8_MAX): Likewise.
64248         [C99-based standards] (UINT16_MAX): Likewise.
64249         [C99-based standards] (UINT32_MAX): Likewise.
64250         [C99-based standards] (UINT64_MAX): Likewise.
64251         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64252         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64253         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64254         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64255         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64256         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64257         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64258         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64259         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64260         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64261         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64262         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64263         [C99-based standards] (INT_FAST8_MIN): Likewise.
64264         [C99-based standards] (INT_FAST8_MAX): Likewise.
64265         [C99-based standards] (INT_FAST16_MIN): Likewise.
64266         [C99-based standards] (INT_FAST16_MAX): Likewise.
64267         [C99-based standards] (INT_FAST32_MIN): Likewise.
64268         [C99-based standards] (INT_FAST32_MAX): Likewise.
64269         [C99-based standards] (INT_FAST64_MIN): Likewise.
64270         [C99-based standards] (INT_FAST64_MAX): Likewise.
64271         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64272         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64273         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64274         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64275         [C99-based standards] (INTPTR_MIN): Likewise.
64276         [C99-based standards] (INTPTR_MAX): Likewise.
64277         [C99-based standards] (UINTPTR_MAX): Likewise.
64278         [C99-based standards] (INTMAX_MIN): Likewise.
64279         [C99-based standards] (INTMAX_MAX): Likewise.
64280         [C99-based standards] (UINTMAX_MAX): Likewise.
64281         [C99-based standards] (PTRDIFF_MIN): Likewise.
64282         [C99-based standards] (PTRDIFF_MAX): Likewise.
64283         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64284         [C99-based standards] (SIZE_MAX): Likewise.
64285         [C99-based standards] (WCHAR_MAX): Likewise.
64286         [C99-based standards] (WINT_MAX): Likewise.
64287         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64288         constraint on value.
64289         [C99-based standards] (WCHAR_MIN): Likewise.
64290         [C99-based standards] (WINT_MIN): Likewise.
64291         [C99-based standards] (*_t): Allow.
64292         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64293         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64294         Include math.h-data and complex.h-data.  Remove all expectations
64295         of math.h and complex.h contents.
64296         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64297         at end of line.
64298         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64299         (struct tm): Expect tag.
64300         [C99-based-standards] (wcstof): Expect function.
64301         [C99-based-standards] (wcstold): Likewise.
64302         [C99-based-standards] (wcstoll): Likewise.
64303         [C99-based-standards] (wcstoull): Likewise.
64304         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64305         macro-int-constant.  Specify type.
64306         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64307         constraint on value.
64308         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64309         Specify type.
64310         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64311         Specify value.
64312         [ISO C standards]: Do not allow headers.
64313         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64314         wcs[abcdefghijklmnopqrstuvwxyz]*.
64315         [ISO C standards] (*_t): Do not allow.
64316         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64317         Expect function.
64318         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64319         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64320         Specify type.
64321         [ISO C standards]: Do not allow headers.
64322         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64323         is[abcdefghijklmnopqrstuvwxyz]*.
64324         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64325         to[abcdefghijklmnopqrstuvwxyz]*.
64326         [ISO C standards] (*_t): Do not allow.
64327         * conform/data/stdalign.h-data: New file.
64328         * conform/data/stdbool.h-data: Likewise.
64329         * conform/data/stdnoreturn.h-data: Likewise.
64331 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64333         [BZ #14815]
64334         * manual/filesys.texi (Directory Entries): Typo fix.
64335         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64337 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64339         * elf/elf.h (EM_AARCH64): New macro.
64340         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64341         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64342         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64343         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64344         (R_AARCH64_TLSDESC): Likewise.
64345         (NT_ARM_TLS): Likewise.
64346         (NT_ARM_HW_BREAK): Likewise.
64347         (NT_ARM_HW_WATCH): Likewise.
64349 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64351         [BZ #14811]
64352         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64353         (__ieee754_powl): Saturate nonzero exponents with absolute value
64354         below 0x1p-79 to +/- 0x1p-79.
64355         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64356         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64357         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64358         nonzero exponents with absolute value below 0x1p-32 to +/-
64359         0x1p-32.
64360         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64361         (__ieee754_powl): Saturate nonzero exponents with absolute value
64362         below 0x1p-79 to +/- 0x1p-79.
64363         * math/libm-test.inc (pow_test): Add more tests.
64365 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64367         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64368         _dl_s390_cap_flags with kernel. Increase string length.
64369         (_dl_s390_platforms): Add z196 and zEC12.
64371 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64373         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64374         Change XOPEN21K to XOPEN2K.
64376 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64378         * string/memmove.c: Use memcpy when possible.
64380 2012-11-06  Andreas Jaeger  <aj@suse.de>
64382         * po/eo.po: Update from translation team.
64384 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64386         [BZ #14793]
64387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64388         exponent and small x and y exponents, scale x or y up.  Increase
64389         by 2 the exponent used in scaling up.
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-05  Joseph Myers  <joseph@codesourcery.com>
64399         [BZ #14805]
64400         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64401         fenv_t *.
64403         [BZ #14801]
64404         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64405         namespace for names of struct fields.
64406         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64407         fenv_t fields.
64408         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64409         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64411 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64413         [BZ #3665]
64414         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64416 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64418         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64419         PTR_DEMANGLE.
64421         [BZ #5246]
64422         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64423         PTR_DEMANGLE.
64425 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64427         [BZ #14797]
64428         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64429         definitely overflow as x * y not x * y + z.
64430         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64431         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64432         * math/libm-test.inc (fma_test): Add more tests.
64433         (fma_test_towardzero): Likewise.
64434         (fma_test_downward): Likewise.
64435         (fma_test_upward): Likewise.
64437 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64439         [BZ #157]
64441         * include/stub-tag.h: Remove file.
64442         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64443         '#include' of it.
64444         * manual/maint.texi (Porting): Don't reference it.
64445         * Makerules ($(objpfx)stubs): Likewise.
64446         * dirent/closedir.c: Don't include <stub-tag.h>.
64447         * dirent/dirfd.c: Likewise.
64448         * dirent/fdopendir.c: Likewise.
64449         * dirent/getdents.c: Likewise.
64450         * dirent/getdents64.c: Likewise.
64451         * dirent/opendir.c: Likewise.
64452         * dirent/readdir.c: Likewise.
64453         * dirent/readdir64.c: Likewise.
64454         * dirent/readdir64_r.c: Likewise.
64455         * dirent/readdir_r.c: Likewise.
64456         * dirent/rewinddir.c: Likewise.
64457         * dirent/seekdir.c: Likewise.
64458         * dirent/telldir.c: Likewise.
64459         * gmon/profil.c: Likewise.
64460         * grp/setgroups.c: Likewise.
64461         * inet/if_index.c: Likewise.
64462         * io/access.c: Likewise.
64463         * io/chdir.c: Likewise.
64464         * io/chmod.c: Likewise.
64465         * io/chown.c: Likewise.
64466         * io/close.c: Likewise.
64467         * io/dup.c: Likewise.
64468         * io/dup2.c: Likewise.
64469         * io/dup3.c: Likewise.
64470         * io/euidaccess.c: Likewise.
64471         * io/faccessat.c: Likewise.
64472         * io/fchdir.c: Likewise.
64473         * io/fchmod.c: Likewise.
64474         * io/fchmodat.c: Likewise.
64475         * io/fchown.c: Likewise.
64476         * io/fchownat.c: Likewise.
64477         * io/fcntl.c: Likewise.
64478         * io/flock.c: Likewise.
64479         * io/fstatfs.c: Likewise.
64480         * io/fstatfs64.c: Likewise.
64481         * io/fstatvfs.c: Likewise.
64482         * io/fstatvfs64.c: Likewise.
64483         * io/futimens.c: Likewise.
64484         * io/fxstat.c: Likewise.
64485         * io/fxstat64.c: Likewise.
64486         * io/fxstatat.c: Likewise.
64487         * io/fxstatat64.c: Likewise.
64488         * io/getcwd.c: Likewise.
64489         * io/isatty.c: Likewise.
64490         * io/lchmod.c: Likewise.
64491         * io/lchown.c: Likewise.
64492         * io/link.c: Likewise.
64493         * io/linkat.c: Likewise.
64494         * io/lseek.c: Likewise.
64495         * io/lseek64.c: Likewise.
64496         * io/lxstat64.c: Likewise.
64497         * io/mkdir.c: Likewise.
64498         * io/mkdirat.c: Likewise.
64499         * io/mkfifo.c: Likewise.
64500         * io/mkfifoat.c: Likewise.
64501         * io/open.c: Likewise.
64502         * io/open64.c: Likewise.
64503         * io/openat.c: Likewise.
64504         * io/openat64.c: Likewise.
64505         * io/pipe.c: Likewise.
64506         * io/pipe2.c: Likewise.
64507         * io/poll.c: Likewise.
64508         * io/posix_fadvise.c: Likewise.
64509         * io/posix_fadvise64.c: Likewise.
64510         * io/posix_fallocate.c: Likewise.
64511         * io/posix_fallocate64.c: Likewise.
64512         * io/read.c: Likewise.
64513         * io/readlink.c: Likewise.
64514         * io/readlinkat.c: Likewise.
64515         * io/rmdir.c: Likewise.
64516         * io/sendfile.c: Likewise.
64517         * io/sendfile64.c: Likewise.
64518         * io/statfs.c: Likewise.
64519         * io/statfs64.c: Likewise.
64520         * io/statvfs.c: Likewise.
64521         * io/statvfs64.c: Likewise.
64522         * io/symlink.c: Likewise.
64523         * io/symlinkat.c: Likewise.
64524         * io/ttyname.c: Likewise.
64525         * io/ttyname_r.c: Likewise.
64526         * io/umask.c: Likewise.
64527         * io/unlink.c: Likewise.
64528         * io/unlinkat.c: Likewise.
64529         * io/utime.c: Likewise.
64530         * io/utimensat.c: Likewise.
64531         * io/write.c: Likewise.
64532         * io/xmknod.c: Likewise.
64533         * io/xmknodat.c: Likewise.
64534         * io/xstat.c: Likewise.
64535         * io/xstat64.c: Likewise.
64536         * login/getpt.c: Likewise.
64537         * login/grantpt.c: Likewise.
64538         * login/unlockpt.c: Likewise.
64539         * math/e_acoshl.c: Likewise.
64540         * math/e_acosl.c: Likewise.
64541         * math/e_asinl.c: Likewise.
64542         * math/e_atan2l.c: Likewise.
64543         * math/e_atanhl.c: Likewise.
64544         * math/e_coshl.c: Likewise.
64545         * math/e_expl.c: Likewise.
64546         * math/e_fmodl.c: Likewise.
64547         * math/e_gammal_r.c: Likewise.
64548         * math/e_hypotl.c: Likewise.
64549         * math/e_j0l.c: Likewise.
64550         * math/e_j1l.c: Likewise.
64551         * math/e_jnl.c: Likewise.
64552         * math/e_lgammal_r.c: Likewise.
64553         * math/e_log10l.c: Likewise.
64554         * math/e_log2l.c: Likewise.
64555         * math/e_logl.c: Likewise.
64556         * math/e_powl.c: Likewise.
64557         * math/e_rem_pio2l.c: Likewise.
64558         * math/e_sinhl.c: Likewise.
64559         * math/e_sqrtl.c: Likewise.
64560         * math/fclrexcpt.c: Likewise.
64561         * math/fedisblxcpt.c: Likewise.
64562         * math/feenablxcpt.c: Likewise.
64563         * math/fegetenv.c: Likewise.
64564         * math/fegetexcept.c: Likewise.
64565         * math/fegetround.c: Likewise.
64566         * math/feholdexcpt.c: Likewise.
64567         * math/fesetenv.c: Likewise.
64568         * math/fesetround.c: Likewise.
64569         * math/feupdateenv.c: Likewise.
64570         * math/fgetexcptflg.c: Likewise.
64571         * math/fraiseexcpt.c: Likewise.
64572         * math/fsetexcptflg.c: Likewise.
64573         * math/ftestexcept.c: Likewise.
64574         * math/k_cosl.c: Likewise.
64575         * math/k_rem_pio2l.c: Likewise.
64576         * math/k_sinl.c: Likewise.
64577         * math/k_tanl.c: Likewise.
64578         * math/s_asinhl.c: Likewise.
64579         * math/s_atanl.c: Likewise.
64580         * math/s_cbrtl.c: Likewise.
64581         * math/s_erfl.c: Likewise.
64582         * math/s_expm1l.c: Likewise.
64583         * math/s_log1pl.c: Likewise.
64584         * math/s_tanhl.c: Likewise.
64585         * misc/acct.c: Likewise.
64586         * misc/brk.c: Likewise.
64587         * misc/chflags.c: Likewise.
64588         * misc/chroot.c: Likewise.
64589         * misc/fchflags.c: Likewise.
64590         * misc/fgetxattr.c: Likewise.
64591         * misc/flistxattr.c: Likewise.
64592         * misc/fremovexattr.c: Likewise.
64593         * misc/fsetxattr.c: Likewise.
64594         * misc/fsync.c: Likewise.
64595         * misc/ftruncate.c: Likewise.
64596         * misc/futimes.c: Likewise.
64597         * misc/futimesat.c: Likewise.
64598         * misc/getdomain.c: Likewise.
64599         * misc/getdtsz.c: Likewise.
64600         * misc/gethostid.c: Likewise.
64601         * misc/gethostname.c: Likewise.
64602         * misc/getloadavg.c: Likewise.
64603         * misc/getpagesize.c: Likewise.
64604         * misc/getsysstats.c: Likewise.
64605         * misc/getxattr.c: Likewise.
64606         * misc/gtty.c: Likewise.
64607         * misc/ioctl.c: Likewise.
64608         * misc/lgetxattr.c: Likewise.
64609         * misc/listxattr.c: Likewise.
64610         * misc/llistxattr.c: Likewise.
64611         * misc/lremovexattr.c: Likewise.
64612         * misc/lsetxattr.c: Likewise.
64613         * misc/lutimes.c: Likewise.
64614         * misc/madvise.c: Likewise.
64615         * misc/mincore.c: Likewise.
64616         * misc/mlock.c: Likewise.
64617         * misc/mlockall.c: Likewise.
64618         * misc/mmap.c: Likewise.
64619         * misc/mprotect.c: Likewise.
64620         * misc/msync.c: Likewise.
64621         * misc/munlock.c: Likewise.
64622         * misc/munlockall.c: Likewise.
64623         * misc/munmap.c: Likewise.
64624         * misc/preadv.c: Likewise.
64625         * misc/preadv64.c: Likewise.
64626         * misc/ptrace.c: Likewise.
64627         * misc/pwritev.c: Likewise.
64628         * misc/pwritev64.c: Likewise.
64629         * misc/readv.c: Likewise.
64630         * misc/reboot.c: Likewise.
64631         * misc/remap_file_pages.c: Likewise.
64632         * misc/removexattr.c: Likewise.
64633         * misc/revoke.c: Likewise.
64634         * misc/select.c: Likewise.
64635         * misc/setdomain.c: Likewise.
64636         * misc/setegid.c: Likewise.
64637         * misc/seteuid.c: Likewise.
64638         * misc/sethostid.c: Likewise.
64639         * misc/sethostname.c: Likewise.
64640         * misc/setregid.c: Likewise.
64641         * misc/setreuid.c: Likewise.
64642         * misc/setxattr.c: Likewise.
64643         * misc/sstk.c: Likewise.
64644         * misc/stty.c: Likewise.
64645         * misc/swapoff.c: Likewise.
64646         * misc/swapon.c: Likewise.
64647         * misc/sync.c: Likewise.
64648         * misc/syncfs.c: Likewise.
64649         * misc/syscall.c: Likewise.
64650         * misc/truncate.c: Likewise.
64651         * misc/ualarm.c: Likewise.
64652         * misc/usleep.c: Likewise.
64653         * misc/ustat.c: Likewise.
64654         * misc/utimes.c: Likewise.
64655         * misc/vhangup.c: Likewise.
64656         * misc/writev.c: Likewise.
64657         * posix/_exit.c: Likewise.
64658         * posix/alarm.c: Likewise.
64659         * posix/execve.c: Likewise.
64660         * posix/fexecve.c: Likewise.
64661         * posix/fork.c: Likewise.
64662         * posix/fpathconf.c: Likewise.
64663         * posix/getaddrinfo.c: Likewise.
64664         * posix/getegid.c: Likewise.
64665         * posix/geteuid.c: Likewise.
64666         * posix/getgid.c: Likewise.
64667         * posix/getgroups.c: Likewise.
64668         * posix/getlogin.c: Likewise.
64669         * posix/getlogin_r.c: Likewise.
64670         * posix/getpgid.c: Likewise.
64671         * posix/getpid.c: Likewise.
64672         * posix/getppid.c: Likewise.
64673         * posix/getresgid.c: Likewise.
64674         * posix/getresuid.c: Likewise.
64675         * posix/getsid.c: Likewise.
64676         * posix/getuid.c: Likewise.
64677         * posix/glob64.c: Likewise.
64678         * posix/nanosleep.c: Likewise.
64679         * posix/pathconf.c: Likewise.
64680         * posix/pause.c: Likewise.
64681         * posix/posix_madvise.c: Likewise.
64682         * posix/pread.c: Likewise.
64683         * posix/pread64.c: Likewise.
64684         * posix/pwrite.c: Likewise.
64685         * posix/pwrite64.c: Likewise.
64686         * posix/sched_getaffinity.c: Likewise.
64687         * posix/sched_getp.c: Likewise.
64688         * posix/sched_gets.c: Likewise.
64689         * posix/sched_primax.c: Likewise.
64690         * posix/sched_primin.c: Likewise.
64691         * posix/sched_rr_gi.c: Likewise.
64692         * posix/sched_setaffinity.c: Likewise.
64693         * posix/sched_setp.c: Likewise.
64694         * posix/sched_sets.c: Likewise.
64695         * posix/sched_yield.c: Likewise.
64696         * posix/setgid.c: Likewise.
64697         * posix/setlogin.c: Likewise.
64698         * posix/setpgid.c: Likewise.
64699         * posix/setresgid.c: Likewise.
64700         * posix/setresuid.c: Likewise.
64701         * posix/setsid.c: Likewise.
64702         * posix/setuid.c: Likewise.
64703         * posix/sleep.c: Likewise.
64704         * posix/spawni.c: Likewise.
64705         * posix/sysconf.c: Likewise.
64706         * posix/times.c: Likewise.
64707         * posix/wait.c: Likewise.
64708         * posix/wait3.c: Likewise.
64709         * posix/wait4.c: Likewise.
64710         * posix/waitpid.c: Likewise.
64711         * resolv/gai_sigqueue.c: Likewise.
64712         * resource/getpriority.c: Likewise.
64713         * resource/getrlimit.c: Likewise.
64714         * resource/getrusage.c: Likewise.
64715         * resource/nice.c: Likewise.
64716         * resource/setpriority.c: Likewise.
64717         * resource/setrlimit.c: Likewise.
64718         * resource/ulimit.c: Likewise.
64719         * rt/aio_cancel.c: Likewise.
64720         * rt/aio_fsync.c: Likewise.
64721         * rt/aio_read.c: Likewise.
64722         * rt/aio_sigqueue.c: Likewise.
64723         * rt/aio_suspend.c: Likewise.
64724         * rt/aio_write.c: Likewise.
64725         * rt/clock_getres.c: Likewise.
64726         * rt/clock_gettime.c: Likewise.
64727         * rt/clock_nanosleep.c: Likewise.
64728         * rt/clock_settime.c: Likewise.
64729         * rt/lio_listio.c: Likewise.
64730         * rt/mq_close.c: Likewise.
64731         * rt/mq_getattr.c: Likewise.
64732         * rt/mq_notify.c: Likewise.
64733         * rt/mq_open.c: Likewise.
64734         * rt/mq_receive.c: Likewise.
64735         * rt/mq_send.c: Likewise.
64736         * rt/mq_setattr.c: Likewise.
64737         * rt/mq_timedreceive.c: Likewise.
64738         * rt/mq_timedsend.c: Likewise.
64739         * rt/mq_unlink.c: Likewise.
64740         * rt/shm_open.c: Likewise.
64741         * rt/shm_unlink.c: Likewise.
64742         * rt/timer_create.c: Likewise.
64743         * rt/timer_delete.c: Likewise.
64744         * rt/timer_getoverr.c: Likewise.
64745         * rt/timer_gettime.c: Likewise.
64746         * rt/timer_settime.c: Likewise.
64747         * setjmp/__longjmp.c: Likewise.
64748         * setjmp/setjmp.c: Likewise.
64749         * signal/kill.c: Likewise.
64750         * signal/killpg.c: Likewise.
64751         * signal/raise.c: Likewise.
64752         * signal/sigaction.c: Likewise.
64753         * signal/sigaltstack.c: Likewise.
64754         * signal/sigblock.c: Likewise.
64755         * signal/sigignore.c: Likewise.
64756         * signal/sigintr.c: Likewise.
64757         * signal/signal.c: Likewise.
64758         * signal/sigpause.c: Likewise.
64759         * signal/sigpending.c: Likewise.
64760         * signal/sigqueue.c: Likewise.
64761         * signal/sigreturn.c: Likewise.
64762         * signal/sigset.c: Likewise.
64763         * signal/sigsetmask.c: Likewise.
64764         * signal/sigstack.c: Likewise.
64765         * signal/sigsuspend.c: Likewise.
64766         * signal/sigtimedwait.c: Likewise.
64767         * signal/sigvec.c: Likewise.
64768         * signal/sigwait.c: Likewise.
64769         * signal/sigwaitinfo.c: Likewise.
64770         * signal/sysv_signal.c: Likewise.
64771         * socket/accept.c: Likewise.
64772         * socket/accept4.c: Likewise.
64773         * socket/bind.c: Likewise.
64774         * socket/connect.c: Likewise.
64775         * socket/getpeername.c: Likewise.
64776         * socket/getsockname.c: Likewise.
64777         * socket/getsockopt.c: Likewise.
64778         * socket/isfdtype.c: Likewise.
64779         * socket/listen.c: Likewise.
64780         * socket/recv.c: Likewise.
64781         * socket/recvfrom.c: Likewise.
64782         * socket/recvmsg.c: Likewise.
64783         * socket/send.c: Likewise.
64784         * socket/sendmsg.c: Likewise.
64785         * socket/sendto.c: Likewise.
64786         * socket/setsockopt.c: Likewise.
64787         * socket/shutdown.c: Likewise.
64788         * socket/sockatmark.c: Likewise.
64789         * socket/socket.c: Likewise.
64790         * socket/socketpair.c: Likewise.
64791         * stdio-common/ctermid.c: Likewise.
64792         * stdio-common/cuserid.c: Likewise.
64793         * stdio-common/remove.c: Likewise.
64794         * stdio-common/rename.c: Likewise.
64795         * stdio-common/renameat.c: Likewise.
64796         * stdio-common/tempname.c: Likewise.
64797         * stdlib/getcontext.c: Likewise.
64798         * stdlib/makecontext.c: Likewise.
64799         * stdlib/setcontext.c: Likewise.
64800         * stdlib/swapcontext.c: Likewise.
64801         * stdlib/system.c: Likewise.
64802         * streams/fattach.c: Likewise.
64803         * streams/fdetach.c: Likewise.
64804         * streams/getmsg.c: Likewise.
64805         * streams/getpmsg.c: Likewise.
64806         * streams/putmsg.c: Likewise.
64807         * streams/putpmsg.c: Likewise.
64808         * sysdeps/unix/bsd/getpt.c: Likewise.
64809         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
64810         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
64811         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
64812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
64813         Likewise.
64814         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
64815         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
64816         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
64817         * sysvipc/msgctl.c: Likewise.
64818         * sysvipc/msgget.c: Likewise.
64819         * sysvipc/msgrcv.c: Likewise.
64820         * sysvipc/msgsnd.c: Likewise.
64821         * sysvipc/semctl.c: Likewise.
64822         * sysvipc/semget.c: Likewise.
64823         * sysvipc/semop.c: Likewise.
64824         * sysvipc/semtimedop.c: Likewise.
64825         * sysvipc/shmat.c: Likewise.
64826         * sysvipc/shmctl.c: Likewise.
64827         * sysvipc/shmdt.c: Likewise.
64828         * sysvipc/shmget.c: Likewise.
64829         * termios/tcdrain.c: Likewise.
64830         * termios/tcflow.c: Likewise.
64831         * termios/tcflush.c: Likewise.
64832         * termios/tcgetattr.c: Likewise.
64833         * termios/tcgetpgrp.c: Likewise.
64834         * termios/tcsendbrk.c: Likewise.
64835         * termios/tcsetattr.c: Likewise.
64836         * termios/tcsetpgrp.c: Likewise.
64837         * time/adjtime.c: Likewise.
64838         * time/clock.c: Likewise.
64839         * time/getitimer.c: Likewise.
64840         * time/gettimeofday.c: Likewise.
64841         * time/setitimer.c: Likewise.
64842         * time/settimeofday.c: Likewise.
64843         * time/stime.c: Likewise.
64844         * time/time.c: Likewise.
64846 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
64848         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
64849         /usr/old/bin.
64851         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
64852         instead of spaces.
64853         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
64855 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
64857         [BZ #14796]
64858         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
64859         FE_TONEAREST before applying Dekker multiplication and Knuth
64860         addition.  Clear inexact exceptions and check for exact zero
64861         results afterwards.
64862         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64863         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
64864         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64865         * math/libm-test.inc (fma_test): Add more tests.
64866         (fma_test_towardzero): Likewise.
64867         (fma_test_downward): Likewise.
64868         (fma_test_upward): Likewise.
64869         * sysdeps/generic/math_private.h (default_libc_fesetround): New
64870         function.
64871         (libc_fesetround): New macro.
64872         (libc_fesetroundf): Likewise.
64873         (libc_fesetroundl): Likewise.
64874         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
64875         function.
64876         (libc_fesetround_387): Likewise.
64877         (libc_fesetroundf): New macro.
64878         (libc_fesetround): Likewise.
64879         (libc_fesetroundl): Likewise.
64880         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
64881         function.
64882         (libc_fesetroundf): New macro.
64883         (libc_fesetround): Likewise.
64884         (libc_fesetroundl): Likewise.
64885         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
64886         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
64887         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
64888         libm_hidden_ver.
64889         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
64890         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
64891         libm_hidden_def.
64892         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
64893         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
64894         libm_hidden_ver.
64895         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
64896         libm_hidden_def.
64898         [BZ #3439]
64899         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
64900         integer constant usable in #if and use that to give value to enum
64901         constant.
64902         (FE_DIVBYZERO): Likewise.
64903         (FE_UNDERFLOW): Likewise.
64904         (FE_OVERFLOW): Likewise.
64905         (FE_INVALID): Likewise.
64906         (FE_INVALID_SNAN): Likewise.
64907         (FE_INVALID_ISI): Likewise.
64908         (FE_INVALID_IDI): Likewise.
64909         (FE_INVALID_ZDZ): Likewise.
64910         (FE_INVALID_IMZ): Likewise.
64911         (FE_INVALID_COMPARE): Likewise.
64912         (FE_INVALID_SOFTWARE): Likewise.
64913         (FE_INVALID_SQRT): Likewise.
64914         (FE_INVALID_INTEGER_CONVERSION): Likewise.
64915         (FE_TONEAREST): Likewise.
64916         (FE_TOWARDZERO): Likewise.
64917         (FE_UPWARD): Likewise.
64918         (FE_DOWNWARD): Likewise.
64919         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
64920         (FE_DIVBYZERO): Likewise.
64921         (FE_OVERFLOW): Likewise.
64922         (FE_UNDERFLOW): Likewise.
64923         (FE_INEXACT): Likewise.
64924         (FE_TONEAREST): Likewise.
64925         (FE_DOWNWARD): Likewise.
64926         (FE_UPWARD): Likewise.
64927         (FE_TOWARDZERO): Likewise.
64928         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
64929         (FE_UNDERFLOW): Likewise.
64930         (FE_OVERFLOW): Likewise.
64931         (FE_DIVBYZERO): Likewise.
64932         (FE_INVALID): Likewise.
64933         (FE_TONEAREST): Likewise.
64934         (FE_TOWARDZERO): Likewise.
64935         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
64936         (FE_OVERFLOW): Likewise.
64937         (FE_UNDERFLOW): Likewise.
64938         (FE_DIVBYZERO): Likewise.
64939         (FE_INEXACT): Likewise.
64940         (FE_TONEAREST): Likewise.
64941         (FE_TOWARDZERO): Likewise.
64942         (FE_UPWARD): Likewise.
64943         (FE_DOWNWARD): Likewise.
64944         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
64945         (FE_DIVBYZERO): Likewise.
64946         (FE_OVERFLOW): Likewise.
64947         (FE_UNDERFLOW): Likewise.
64948         (FE_INEXACT): Likewise.
64949         (FE_TONEAREST): Likewise.
64950         (FE_DOWNWARD): Likewise.
64951         (FE_UPWARD): Likewise.
64952         (FE_TOWARDZERO): Likewise.
64954 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
64956         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
64958 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
64960         * scripts/cross-test-ssh.sh (command): Use newlines to separate
64961         commands.  Quote $PWD.
64962         (blacklist_exports): Don't use remove_newlines.  Replace "declare
64963         -x" by "export".
64964         (remove_newlines): Remove.
64966 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
64968         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
64969         * stdlib/stdlib.h (atof): Moved to ...
64970         * include/bits/stdlib-float.h: Here.  New file.
64971         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
64972         * stdlib/bits/stdlib-float.h: New file.
64973         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
64974         -mno-sse -mno-mmx.
64975         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
64976         <xmmintrin.h>.
64978 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
64980         * conform/conformtest.pl (@headers): Add fenv.h.
64981         * conform/data/fenv.h-data: New file.
64982         * include/fenv.h [_ISOMAC]: Disable all contents of file except
64983         include of <math/fenv.h>.
64985         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
64986         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
64987         && !UNIX98].  Enables tests for XOPEN2K8.
64988         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
64989         POSIX2008]: Likewise.
64991         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
64992         (struct rusage): Do not expect type or its members.
64994         [BZ #3439]
64995         * math/math.h (FP_NAN): Define macro to integer constant usable in
64996         #if and use that to give value to enum constant.
64997         (FP_INFINITE): Likewise.
64998         (FP_ZERO): Likewise.
64999         (FP_SUBNORMAL): Likewise.
65000         (FP_NORMAL): Likewise.
65002 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
65004         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65005         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65006         arguments.
65008 2012-11-02  Roland McGrath  <roland@hack.frob.com>
65010         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65011         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65012         autoconf-time if not.
65013         * configure.in: Remove AC_PREREQ.
65015 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65017         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65018         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65019         of the internal implementation.
65021 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
65023         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65024         except include of <misc/sys/syslog.h>.
65026 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65029         function returns with a NULL context exit with zero.
65031 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65033         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65035 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
65037         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65038         (run_program_cmd): This.
65039         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65040         (tst_langinfo): New variable.  Use it.
65042 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
65044         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65045         floating point opcodes.
65047 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65049         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65050         variable.
65052         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65054         * sysdeps/mach/hurd/powerpc: Remove directory.
65055         * sysdeps/mach/powerpc: Likewise.
65057 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65059         * scripts/check-local-headers.sh: Ignore c++ headers.
65061 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65063         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65064         __libc_cleanup_region_start argument.
65066 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
65068         [BZ #14784]
65069         [BZ #14785]
65070         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65071         x * y using scaling, not as x * y + z.
65072         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65073         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65074         * math/libm-test.inc (fma_test): Add more tests.
65075         (fma_test_towardzero): Likewise.
65076         (fma_test_downward): Likewise.
65077         (fma_test_upward): Likewise.
65079 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65081         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65083 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65085         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65086         New variable.
65088 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
65090         * rt/tst-shm.c (worker): Correct checking for mmap failure.
65092 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65095         Fix sort order.
65096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65097         Likewise.
65099 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65102         Fix the order of the list for glibc 2.17.
65103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65104         Likewise.
65106 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65110 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65112         [BZ #14610]
65113         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65114         for low part of x being zero before using __atanl (y).
65115         * math/libm-test.inc (atan2_test): Add another test.
65117         * manual/install.texi (Configuring and compiling): Document
65118         general use of test-wrapper and test-wrapper-env.
65119         * INSTALL: Regenerated.
65121         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65122         (__fma): Do not extract and scale down low bits on after-rounding
65123         systems when result rounded to normal precision would have normal
65124         exponent.
65125         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65126         (__fmal): Do not extract and scale down low bits on after-rounding
65127         systems when result rounded to normal precision would have normal
65128         exponent.
65129         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65130         (__fmal): Do not extract and scale down low bits on after-rounding
65131         systems when result rounded to normal precision would have normal
65132         exponent.
65133         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65134         macro.
65135         (fma_test): Add more tests.
65136         (fma_test_towardzero): Likewise.
65137         (fma_test_downward): Likewise.
65138         (fma_test_upward): Likewise.
65140 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
65142         * sysdeps/i386/tininess.h: Renamed to ...
65143         * sysdeps/x86/tininess.h: This.
65144         * sysdeps/x86_64/tininess.h: Removed.
65146 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65148         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65149         input.  Use $(build-program-cmd).
65150         ($(objpfx)tst-array1-static.out): Likewise.
65151         ($(objpfx)tst-array2.out): Likewise.
65152         ($(objpfx)tst-array3.out): Likewise.
65153         ($(objpfx)tst-array4.out): Likewise.
65154         ($(objpfx)tst-array5.out): Likewise.
65155         ($(objpfx)tst-array5-static.out): Likewise.
65157 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
65159         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65160         if defined.
65162         * nss/nsswitch.h (nss_interface_function): Provide new
65163         macro for use with NSS functions.
65164         * grp/initgroups.c: Use new macro.
65165         * nss/getXXbyYY.c: Likewise.
65166         * nss/getXXbyYY_r.c: Likewise.
65167         * nss/getXXent.c: Likewise.
65168         * nss/getXXent_r.c: Likewise.
65169         * sysdeps/posix/getaddrinfo.c: Likewise.
65171 2012-10-30  Andreas Jaeger  <aj@suse.de>
65173         * po/ru.po: Update Russion translation from translation project.
65175 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65177         [BZ #14152]
65178         [BZ #14783]
65179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65180         result and shift together with sticky bit instead of replicating
65181         round-to-nearest rounding.
65182         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65183         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65184         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
65185         missing underflow exceptions.
65186         (fma_test_towardzero): Add more tests.
65187         (fma_test_downward): Likewise.
65188         (fma_test_upward): Likewise.
65190         [BZ #14047]
65191         * sysdeps/generic/tininess.h: New file.
65192         * sysdeps/i386/tininess.h: Likewise.
65193         * sysdeps/sh/tininess.h: Likewise.
65194         * sysdeps/x86_64/tininess.h: Likewise.
65195         * stdlib/tst-strtod-underflow.c: Likewise.
65196         * stdlib/tst-tininess.c: Likewise.
65197         * stdlib/strtod_l.c: Include <tininess.h>.
65198         (round_and_return): Do not set errno for exact underflow cases.
65199         Force an underflow exception when setting errno for underflow.
65200         Determine underflow based on rounding to normal precision if
65201         TININESS_AFTER_ROUNDING.
65202         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65203         ERANGE for exact underflow cases.
65204         * stdlib/Makefile (tests): Add tst-tininess and
65205         tst-strtod-underflow.
65206         ($(objpfx)tst-tininess): Use $(link-libm).
65207         ($(objpfx)tst-strtod-underflow): Likewise.
65209 2012-10-30  Andreas Jaeger  <aj@suse.de>
65211         [BZ#14767]
65212         * elf/Makefile (tests): Remove conditional for have-initfini-array
65213         since this is now always required and the variable does not exist
65214         anymore.
65215         (tests-static): Likewise.
65216         (modules-names): Likewise.
65218         * po/eo.po: Add Esperanto translation from translation project.
65220         * elf/tst-array1.c (fini_array): Make writeable so that it can be
65221         merged with constructor/destructor.
65222         (init_array): Likewise.
65223         * elf/tst-array2dep.c (fini_array): Likewise.
65224         (init_array): Likewise.
65226 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65228         * manual/message.texi: Delete @cartouche tags.
65230 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65232         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65233         EOPNOTSUPP.
65234         * sysdeps/mach/hurd/fsync.c: Likewise.
65236         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65237         [_POSIX_REALTIME_SIGNALS]: Change condition to
65238         [_POSIX_REALTIME_SIGNALS > 0].
65240 2012-10-27  Andreas Jaeger  <aj@suse.de>
65242         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65243         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65244         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65245         [__WORDSIZE != 64]: Likewise.
65247 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65249         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65250         *  iconvdata/tst-tables.sh: Likewise.
65252 2012-10-25  David S. Miller  <davem@davemloft.net>
65254         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65255         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65256         of strtoull.
65258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65259         ifunc-impl-list.c
65260         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65261         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65262         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65263         file.
65265 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65267         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65268         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65269         __getdirentries.
65271 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65272             Jim Blandy  <jimb@codesourcery.com>
65274         * scripts/cross-test-ssh.sh: New file.
65275         * manual/install.texi (Configuring and compiling): Document use of
65276         cross-test-ssh.sh.
65277         * INSTALL: Regenerated.
65279 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65281         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65282         EOPNOTSUPP.
65284 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65286         * Makeconfig (run-program-prefix): Fix comment.
65288 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65289             Jim Blandy  <jimb@codesourcery.com>
65291         * Makeconfig (test-wrapper): New variable,
65292         (test-wrapper-env): Likewise.
65293         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65294         (run-built-tests): Define to yes.
65295         (run-program-prefix): Use $(test-wrapper).
65296         (built-program-cmd): Likewise.
65297         * Rules (make-test-out): Use $(test-wrapper-env) and
65298         $(host-built-program-cmd).
65299         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65300         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65301         tst-pathopt.sh.
65302         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65303         $(test-wrapper-env) to tst-rtld-load-self.sh.
65304         ($(objpfx)order2.out): Use $(test-wrapper).
65305         ($(objpfx)tst-initorder.out): Likewise.
65306         ($(objpfx)tst-initorder2.out): Likewise.
65307         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65308         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65309         (test_wrapper_env): New variable.  Use it to run ld.so.
65310         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65311         Use it to run ld.so.
65312         (test_wrapper_env): Likewise.
65313         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65314         $(test-wrapper) to run-iconv-test.sh.
65315         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65316         (ICONV): Use $test_wrapper.
65317         * posix/Makefile ($(objpfx)globtest.out): Pass
65318         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65319         globtest.sh, not $(run-program-prefix).
65320         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65321         (test_wrapper): Likewise.
65322         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65323         set together with run_via_rtld_prefix.
65324         (run_program_prefix): Define in terms of test_wrapper and
65325         run_via_rtld_prefix.
65327 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65329         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65330         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65331         Targets removed.
65333         [BZ #14743]
65334         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65335         Declare __clock_getres, __clock_gettime, __clock_settime,
65336         __clock_nanosleep, and __clock_getcpuclockid.
65337         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65338         Remove librt_hidden_def (clock_gettime).
65339         * sysdeps/unix/clock_gettime.c: Likewise.
65340         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65341         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65342         * rt/clock_getres.c: Define __clock_getres as an alias.
65343         * sysdeps/posix/clock_getres.c: Likewise.
65344         * rt/clock_settime.c: Define __clock_settime as an alias.
65345         * sysdeps/unix/clock_settime.c: Likewise.
65346         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65347         * sysdeps/unix/clock_nanosleep.c: Likewise.
65348         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65349         * rt/clock-compat.c: New file.
65350         * rt/Makefile (librt-routines): Add clock-compat and move
65351         $(clock-routines) to ...
65352         (routines): ... here, new variable.
65353         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65354         Don't add get_clockfreq here.
65355         * rt/Versions (libc: GLIBC_2.17): New version set.
65356         Add clock_* symbols here.
65357         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65358         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65359         (GLIBC_2.17): Add clock_* symbols.
65360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65361         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65362         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65364         Likewise.
65365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65366         Likewise.
65367         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65371         * NEWS: Mention the move.
65373         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65374         Use __open, __read, __close rather than their public counterparts.
65375         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65376         (__get_clockfreq_via_cpuinfo): Likewise.
65377         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65378         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65380         * config.h.in (HAVE_IFUNC): New #undef.
65381         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65382         was successful.
65383         * configure: Regenerated.
65385 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65387         * configure.in: Move READELF check to start of file.
65388         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65389         libc_cv_asm_gnu_indirect_function in the process.
65390         * configure: Regenerated.
65392 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65394         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65395         send the output to /dev/null.
65396         (libc_cv_cc_with_libunwind): Likewise.
65397         (libc_cv_as_noexecstack): Likewise.
65398         * configure: Regenerate.
65400 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65402         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65404         * posix/globtest.sh (TMPDIR): Do not set.
65405         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65406         (testout): Likewise.
65408 2012-10-24  Andreas Jaeger  <aj@suse.de>
65410         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65411         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65412         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65413         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65414         posix_fadvise64, posix_fallocate64.
65416         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65417         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65418         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65419         Likewise.
65420         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65421         Likewise.
65422         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65424         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65425         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65426         <bits/fcntl-linux.h>.
65427         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65429         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65430         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65431         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65432         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65433         [__WORDSIZE != 64]: Likewise.
65435 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65437         * Makeconfig (run-built-tests): New variable.
65438         * Rules [$(cross-compiling) = yes]: Change condition to
65439         [$(run-built-tests) = no].
65440         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65441         to [$(run-built-tests) = yes].
65442         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65443         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65444         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65445         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65446         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65447         * io/Makefile [$(cross-compiling) = no]: Likewise.
65448         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65449         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65450         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65451         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65452         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65453         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65454         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65455         * string/Makefile [$(cross-compiling) = no]: Likewise.
65457         * posix/Makefile ($(objpfx)globtest.out): Pass
65458         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65459         $(rtld-installed-name).
65460         * posix/globtest.sh (elf_objpfx): Remove variable.
65461         (rtld_installed_name): Likewise.
65462         (library_path): Likewise.
65463         (run_program_prefix): New variable.  Use for running globtest
65464         binary.
65466 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65467             Joseph Myers  <joseph@codesourcery.com>
65469         * Makeconfig (host-built-program-cmd): New variable.
65470         * elf/Makefile (tst-stackguard1-ARGS): Use
65471         $(host-built-program-cmd).
65472         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65473         (tst-spawn-ARGS): Likewise.
65474         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65476 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65477             Jim Blandy  <jimb@codesourcery.com>
65479         * Makeconfig (run-via-rtld-prefix): New variable.
65480         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65481         (built-program-cmd): Likewise.
65483 2012-10-22  Andreas Jaeger  <aj@suse.de>
65485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65486         __O_RSYNC if it exists, otherwise to O_SYNC.
65488 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65489             Joseph Myers  <joseph@codesourcery.com>
65491         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65492         /dev/null.
65493         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65494         from /dev/null
65495         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65496         /dev/null.
65498 2012-10-22  Andreas Jaeger  <aj@suse.de>
65500         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65501         Define always.
65502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65504         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65505         bits/fcntl-linux.h.
65507         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65508         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65510         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65511         to __O_LARGEFILE.
65512         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65513         to __O_LARGEFILE.
65515 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65516             Joseph Myers  <joseph@codesourcery.com>
65518         * config.make.in (NM): New variable.
65520 2012-10-21  Andreas Jaeger  <aj@suse.de>
65522         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65523         definitions and declarations that are provided by
65524         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65526 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65528         [BZ #14683]
65529         * elf/Makefile (tests-static): Add tst-leaks1-static.
65530         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65531         ($(objpfx)tst-leaks1-static): New rule.
65532         ($(objpfx)tst-leaks1-static-mem): Likewise.
65533         (tst-leaks1-static-ENV): New macro.
65534         * elf/dl-open.c (dl_open_worker): Check the main application
65535         only if SHARED is defined.
65536         * elf/tst-leaks1-static.c: New file.
65538 2012-10-20  Andreas Jaeger  <aj@suse.de>
65540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65541         generic values for Linux.
65542         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65543         and declarations that are provided by <bits/fcntl-linux.h> and
65544         include <bits/fcntl-linux.h>.
65545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65548 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65550         * io/fcntl.h: Move include of <bits/types.h> to the top and
65551         include it unconditionally.
65553 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65555         * wcsmbs/Makefile (tests-ifunc): New variable.
65556         (tests): Add $(tests-ifunc).
65557         * wcsmbs/test-wcschr-ifunc.c: New file.
65558         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65559         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65560         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65561         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65562         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65564         * string/Makefile (tests-ifunc): New variable.
65565         (tests): Add $(tests-ifunc).
65566         * string/test-memccpy.c (TEST_NAME): New macro.
65567         * string/test-memchr.c (TEST_NAME): Likewise.
65568         * string/test-memcmp.c (TEST_NAME): Likewise.
65569         * string/test-memcpy.c (TEST_NAME): Likewise.
65570         * string/test-memmem.c (TEST_NAME): Likewise.
65571         * string/test-memmove.c (TEST_NAME): Likewise.
65572         * string/test-memset.c (TEST_NAME): Likewise.
65573         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65574         * string/test-stpcpy.c (TEST_NAME): Likewise.
65575         * string/test-stpncpy.c (TEST_NAME): Likewise.
65576         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65577         * string/test-strcasestr.c (TEST_NAME): Likewise.
65578         * string/test-strcat.c (TEST_NAME): Likewise.
65579         * string/test-strchr.c (TEST_NAME): Likewise.
65580         * string/test-strcmp.c(TEST_NAME): Likewise.
65581         * string/test-strcpy.c (TEST_NAME): Likewise.
65582         * string/test-strcspn.c (TEST_NAME): Likewise.
65583         * string/test-strlen.c (TEST_NAME): Likewise.
65584         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65585         * string/test-strncmp.c (TEST_NAME): Likewise.
65586         * string/test-strncpy.c (TEST_NAME): Likewise.
65587         * string/test-strnlen.c (TEST_NAME): Likewise.
65588         * string/test-strpbrk.c (TEST_NAME): Likewise.
65589         * string/test-strrchr.c (TEST_NAME): Likewise.
65590         * string/test-strspn.c (TEST_NAME): Likewise.
65591         * string/test-strstr.c (TEST_NAME): Likewise.
65592         * string/test-bcopy-ifunc.c: New file.
65593         * string/test-bzero-ifunc.c: Likewise.
65594         * string/test-memccpy-ifunc.c: Likewise.
65595         * string/test-memchr-ifunc.c: Likewise.
65596         * string/test-memcmp-ifunc.c: Likewise.
65597         * string/test-memcpy-ifunc.c: Likewise.
65598         * string/test-memmem-ifunc.c: Likewise.
65599         * string/test-memmove-ifunc.c: Likewise.
65600         * string/test-mempcpy-ifunc.c: Likewise.
65601         * string/test-memset-ifunc.c: Likewise.
65602         * string/test-rawmemchr-ifunc.c: Likewise.
65603         * string/test-stpcpy-ifunc.c: Likewise.
65604         * string/test-stpncpy-ifunc.c: Likewise.
65605         * string/test-strcasecmp-ifunc.c: Likewise.
65606         * string/test-strcasestr-ifunc.c: Likewise.
65607         * string/test-strcat-ifunc.c: Likewise.
65608         * string/test-strchr-ifunc.c: Likewise.
65609         * string/test-strchrnul-ifunc.c: Likewise.
65610         * string/test-strcmp-ifunc.c: Likewise.
65611         * string/test-strcpy-ifunc.c: Likewise.
65612         * string/test-strcspn-ifunc.c: Likewise.
65613         * string/test-strlen-ifunc.c: Likewise.
65614         * string/test-strncasecmp-ifunc.c: Likewise.
65615         * string/test-strncat-ifunc.c: Likewise.
65616         * string/test-strncmp-ifunc.c: Likewise.
65617         * string/test-strncpy-ifunc.c: Likewise.
65618         * string/test-strnlen-ifunc.c: Likewise.
65619         * string/test-strpbrk-ifunc.c: Likewise.
65620         * string/test-strrchr-ifunc.c: Likewise.
65621         * string/test-strspn-ifunc.c: Likewise.
65622         * string/test-strstr-ifunc.c: Likewise.
65624         * debug/Makefile (tests-ifunc): New variable.
65625         (tests): Add $(tests-ifunc).
65626         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65627         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65628         * debug/test-stpcpy_chk-ifunc.c: New file.
65629         * debug/test-strcpy_chk-ifunc.c: Likewise.
65631 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65633         [BZ #13601]
65634         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65635         header is not read in.
65637 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65639         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65640         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65641         directly.  Pass built executable to script as
65642         $(built-program-cmd).
65643         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65644         $testprogram without using LD_LIBRARY_PATH and $ldso.
65646         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65647         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65648         $(rtld-installed-name).
65649         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65650         (rtld_installed_name): Likewise.
65651         (library_path): Likewise.
65652         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65653         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65654         $(run-program-prefix) to tst-tables.sh.
65655         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65656         it to run tst-table-from and tst-table-to.
65657         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65658         Pass it to tst-table.sh.
65659         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65660         $(run-program-prefix) to tst-gettext.sh.
65661         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65662         tst-translit.sh.
65663         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65664         tst-gettext2.sh.
65665         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65666         to run tst-gettext.
65667         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65668         to run tst-gettext2.
65669         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65670         to run tst-translit.
65671         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65672         $(run-program-prefix) to tst-mtrace.sh.
65673         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65674         to run tst-mtrace.
65675         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65676         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65677         $(rtld-installed-name).
65678         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65679         (rtld_installed_name): Likewise.
65680         (run_program_prefix): New variable.  Use it to run wordexp-test.
65682         * Makeconfig (ARCH): Remove all definitions.
65683         (machine): Likewise.
65684         [ARCH]: Remove conditional code.
65685         [!objdir]: Give error.
65686         [!objdir] (objpfx): Remove.
65687         [!objdir] (common-objpfx): Likewise.
65688         [!objdir] (common-objdir): Likewise.
65689         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65690         AC_CONFIG_FILES call.
65691         * configure: Regenerated.
65693         [BZ #13888]
65694         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65695         or TMPDIR.
65696         (testout): Likewise.
65698         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65699         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65700         $(rtld-installed-name).
65701         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65702         (rtld_installed_name): Likewise.
65703         (runit): Remove function.
65704         (run_getconf): New variable,  Use it for running getconf binary.
65706 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
65708         [BZ #14716]
65709         * string/test-memmem.c (check_result): New function.
65710         (do_one_test): Use it.
65711         (check1): New function.
65712         (test_main): Use it.
65714 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
65716         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65718 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
65720         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65721         (_G_LSEEK64): Likewise.
65722         (_G_MMAP64): Likewise.
65723         (_G_FSTAT64): Likewise.
65724         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65725         (_G_LSEEK64): Likewise.
65726         (_G_MMAP64): Likewise.
65727         (_G_FSTAT64): Likewise.
65728         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65729         unconditional.  Call __mmap64 directly.
65730         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65731         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
65732         __lseek64 directly.
65733         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65734         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
65735         __mmap64 directly.
65736         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65737         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65738         __lseek64 directly.
65739         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65740         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
65741         __lseek64 directly.
65742         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65743         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
65744         __lseek64 directly.
65745         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65746         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
65747         __fxstat64 directly.
65748         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65749         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65750         unconditional.
65751         (freopen64) [!_G_OPEN64]: Remove conditional code.
65752         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65753         unconditional.
65754         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65755         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65756         unconditional.
65757         (ftello64) [!_G_LSEEK64]: Remove conditional code.
65758         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65759         unconditional.
65760         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65761         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65762         unconditional.
65763         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65764         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65765         unconditional.
65766         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65767         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65768         unconditional.
65769         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65770         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
65771         unconditional.
65772         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65774 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
65776         [BZ #12140]
65777         * manual/memory.texi (Malloc Tunable Parameters): Add note
65778         about free list pointers overwriting some perturb bytes.
65779         Wording suggested by Roland McGrath.
65781 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
65783         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
65784         (lgamma_test): Likewise.
65785         (tgamma_test): Likewise.
65787 2012-10-16  Florian Weimer  <fweimer@redhat.com>
65789         [BZ #14700]
65790         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
65791         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
65793 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
65795         * NEWS: Mention BZ #14716.
65796         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
65797         when removing AVAILABLE1_USES_J macro.
65799 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
65801         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
65802         (__bswap_64): __uint64_t for unsigned 64-bit int.
65804 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
65806         * include/string.h (memmem): Declare libc hidden alias.
65807         * string/memmem.c (memmem): Define libc hidden alias.
65808         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
65809         __read, __close instead of open, read, close.
65811 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
65813         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
65814         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
65815         global and hidden.
65816         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
65817         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
65818         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
65819         Likewise.
65820         (__rawmemchr_sse2): Likewise.
65821         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
65822         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
65823         (__strchr_sse2): Likewise.
65824         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
65825         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
65826         (__strcasecmp_sse2): Likewise.
65827         (__strncasecmp_sse2): Likewise.
65828         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
65829         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
65830         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
65831         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
65832         (__strrchr_sse2): Likewise.
65833         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
65834         ifunc-impl-list.c.
65835         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
65836         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
65837         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
65838         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
65839         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
65840         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
65841         * sysdeps/x86_64/multiarch/memset.S: Likewise.
65842         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
65843         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
65844         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
65845         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
65846         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
65847         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
65848         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
65849         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
65850         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
65851         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
65852         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
65853         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
65854         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
65855         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
65856         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
65857         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
65858         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
65859         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
65860         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
65861         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
65862         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
65863         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
65864         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
65866         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
65867         global and hidden.
65868         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
65869         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
65870         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
65871         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
65872         Likewise.
65873         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
65874         Likewise.
65875         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
65876         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
65877         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
65878         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
65879         ifunc-impl-list.c.
65880         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
65881         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
65882         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
65883         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
65884         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
65885         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
65886         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
65887         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
65888         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
65889         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
65890         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
65891         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
65892         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
65893         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
65894         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
65895         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
65896         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
65897         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
65898         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
65899         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
65900         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
65901         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
65902         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
65903         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
65904         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
65905         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
65906         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
65907         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
65908         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
65909         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
65910         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
65911         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
65912         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
65913         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
65914         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
65915         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
65916         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
65917         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
65918         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
65919         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
65920         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
65922         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
65923         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
65924         * include/ifunc-impl-list.h: New file.
65925         * misc/ifunc-impl-list.c: Likewise.
65926         * misc/Makefile (routines): Add ifunc-impl-list.
65927         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
65928         * string/test-string.h: Include <ifunc-impl-list.h>.
65929         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
65930         TEST_NAME]: New variables.
65931         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
65932         are defined.
65933         (test_init): Call __libc_ifunc_impl_list to initialize
65934         func_list if TEST_IFUNC and TEST_NAME are defined.
65936         * string/Makefile (strop-tests): Add bcopy and bzero.
65937         * string/test-bcopy.c: New file.
65938         * string/test-bzero.c: Likewise.
65939         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
65940         defined.
65941         * string/test-memset.c: Support bzero test if TEST_BZERO is
65942         defined.
65943         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
65944         __libc_memmove.
65945         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
65946         __libc_memset.
65947         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
65948         of memset.
65950 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
65952         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
65953         * configure: Regenerated.
65955         * Makeconfig (+link-static-before-libc): Don't include
65956         $(link-static-libc).
65958         * libio/libio.h (_IO_pos_t): Remove.
65960 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65962         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
65963         McGrath.
65965 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65967         * crypt/crypt-entry.c: Include fips-private.h.
65968         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
65969         * crypt/md5c-test.c (main): Tolerate disabled MD5.
65970         * sysdeps/unix/sysv/linux/fips-private.h: New file.
65971         * sysdeps/generic/fips-private.h: New file, dummy fallback.
65973 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
65975         * crypt/crypt-private.h: Include stdbool.h.
65976         (_ufc_setup_salt_r): Return bool.
65977         * crypt/crypt-entry.c: Include errno.h.
65978         (__crypt_r): Return NULL with EINVAL for bad salt.
65979         * crypt/crypt_util.c (bad_for_salt): New.
65980         (_ufc_setup_salt_r): Check that salt is long enough and within
65981         the specified alphabet.
65982         * crypt/badsalttest.c: New file.
65983         * crypt/Makefile (tests): Add it.
65984         ($(objpfx)badsalttest): New.
65986 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
65988         * NEWS: Add entry for BZ #14602.
65990 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
65992         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
65993         type-generic.
65994         * math/libm-test.inc: Update comment listing what functions and
65995         macros are tested.
65996         (isgreater_test): New function.
65997         (isgreaterequal_test): Likewise.
65998         (isless_test): Likewise.
65999         (islessequal_test): Likewise.
66000         (islessgreater_test): Likewise.
66001         (isunordered_test): Likewise.
66002         (main): Call the new functions.
66004 2012-10-09  Roland McGrath  <roland@hack.frob.com>
66006         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66007         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66008         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66009         * sysdeps/i386/configure: Regenerated.
66010         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66011         * sysdeps/mach/configure: Regenerated.
66012         * sysdeps/mach/hurd/configure: Regenerated.
66013         * sysdeps/powerpc/configure: Regenerated.
66014         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66015         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66016         * sysdeps/s390/s390-32/configure: Regenerated.
66017         * sysdeps/s390/s390-64/configure: Regenerated.
66018         * sysdeps/sh/configure: Regenerated.
66019         * sysdeps/sparc/configure: Regenerated.
66020         * sysdeps/unix/sysv/linux/configure: Regenerated.
66021         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66022         * sysdeps/x86_64/configure: Regenerated.
66024         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66025         defined.  Don't check if MAP is NULL.
66027 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
66029         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66030         (_G_stat64): Likewise.
66031         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66032         (_G_stat64): Likewise.
66033         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66034         instead of struct _G_stat64.
66035         * libio/fileops.c (mmap_remap_check): Likewise.
66036         (decide_maybe_mmap): Likewise.
66037         (_IO_new_file_seekoff): Likewise.
66038         (_IO_file_stat): Likewise.
66039         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66040         _G_off64_t.
66041         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66042         instead of struct _G_stat64.
66043         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66045 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
66047         [BZ #14602]
66048         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66049         Replace with ...
66050         (CHECK_EOL): New macro.
66051         (two_way_short_needle): Check beginning of haystack for EOL.  Use
66052         CHECK_EOL.
66053         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66054         Replace with CHECK_EOL.
66055         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66056         Replace with CHECK_EOL.
66058 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
66060         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66061         type-generic.
66062         * math/libm-test.inc: Update comment listing what functions and
66063         macros are tested.
66064         (finite_test): New function.
66065         (isinf_test): Likewise.
66066         (isnan_test): Likewise.
66067         (fpclassify_test): Test subnormal input.
66068         (isfinite_test): Likewise.
66069         (isnormal_test): Likewise.
66070         (main): Call the new functions.
66072 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
66074         [BZ #14660]
66075         * Makerules (%.dynsym): Force C locale when running
66076         $(OBJDUMP) --dynamic-syms.
66078 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
66080         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66081         <stdint.h>.
66083 2012-10-06  David S. Miller  <davem@davemloft.net>
66085         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66086         upper 32-bits of the length value in %o2 since we use branch-on-register
66087         tests which consider the entire 64-bit register.
66089 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
66091         * string/test-strstr.c (check2): Add a test for page boundary.
66093 2012-10-05  David S. Miller  <davem@davemloft.net>
66095         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66096         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66097         file.
66098         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66099         sysdep_routines.
66100         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66101         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66102         and bzero when HWCAP_SPARC_CRYPTO is present.
66104 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
66106         [BZ #14602]
66107         * string/test-strstr.c (check2): New function.
66108         (test_main): Call check2.
66110         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66111         and bug-strchr1.
66112         * string/bug-strcasestr1.c (do_test): Moved to ...
66113         * string/test-strcasestr.c (check1): Here.  New function.
66114         (do_one_test): Break out result checking code into ...
66115         (check_result): This.  New function.
66116         (do_one_test): Call check_result.
66117         (test_main): Call check1.
66118         * string/bug-strchr1.c (do_test): Moved to ...
66119         * string/test-strchr.c (check1): Here.  New function.
66120         (do_one_test): Break out result checking code into ...
66121         (check_result): This.  New function.
66122         (do_one_test): Call check_result.
66123         (test_main): Call check1.
66124         * string/bug-strstr1.c (main): Moved to ...
66125         * string/test-strstr.c (check1): Here.  New function.
66126         (do_one_test): Break out result checking code into ...
66127         (check_result): This.  New function.
66128         (do_one_test): Call check_result.
66129         (test_main): Call check1.
66130         * string/bug-strcasestr1.c: Removed.
66131         * string/bug-strchr1.c: Likewise.
66132         * string/bug-strstr1.c: Likewise.
66134         * elf/Makefile (dl-routines): Add hwcaps.
66135         * elf/dl-support.c (_dl_important_hwcaps): Removed.
66136         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66137         (_dl_important_hwcaps): Moved to ...
66138         * elf/dl-hwcaps.c: Here.  New file.
66139         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66141         [BZ #14557]
66142         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66143         if IS_IN_rtld isn't defined.
66145         * elf/dl-support.c (_dl_sysinfo_map): New.
66146         Include "get-dynamic-info.h" and "setup-vdso.h".
66147         (_dl_non_dynamic_init): Call setup_vdso.
66148         * elf/dynamic-link.h: Don't include <assert.h>.
66149         (elf_get_dynamic_info): Moved to ...
66150         * elf/get-dynamic-info.h: Here.  New file.
66151         * elf/dynamic-link.h: Include "get-dynamic-info.h".
66152         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66153         * elf/setup-vdso.h: Here.  New file.
66154         * elf/rtld.c: Include "setup-vdso.h".
66155         (dl_main): Call setup_vdso.
66157 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
66159         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66160         creal in comment listing functions tested.  List finite, isinf,
66161         isnan, isless, islessequal, isgreater, isgreaterequal,
66162         islessgreater, isunordered, lgamma_r and pow10 as functions and
66163         macros not tested.  Mention which functions not tested are aliases
66164         for other functions.  Fix typo.  Note that signs of NaNs are not
66165         tested.
66167         * scripts/config.guess: Update from config.git.
66168         * scripts/config.sub: Likewise.
66170 2012-10-04  Roland McGrath  <roland@hack.frob.com>
66172         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66173         * misc/madvise.c (madvise): Renamed to __madvise.
66174         Make madvise a weak alias.
66175         * include/sys/mman.h: Declare __madvise.
66176         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66177         * sysdeps/unix/syscalls.list
66178         (madvise): Make __madvise the strong name, and madvise a weak alias.
66179         * sysdeps/unix/sysv/linux/syscalls.list
66180         (madvise, mmap): Remove redundant entries.
66181         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66182         * malloc/malloc.c (mtrim): Likewise.
66183         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66185 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66187         * sysdeps/mach/hurd/dl-cache.c: File removed.
66188         * config.h.in (USE_LDCONFIG): New #undef.
66189         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66190         * configure: Regenerated.
66191         * elf/Makefile (dl-routines): Add dl-cache only under
66192         [$(use-ldconfig) = yes].
66193         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66194         cache on [USE_LDCONFIG].
66195         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66196         [USE_LDCONFIG].
66197         * elf/rtld.c (dl_main): Likewise.
66199 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
66201         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66202         _SC_LEVEL4_CACHE_LINESIZE.
66204 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66206         * sysdeps/unix/bsd/confstr.h: File removed.
66208 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
66210         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66211         sys/sdt-config.h.
66213 2012-10-02  Roland McGrath  <roland@hack.frob.com>
66215         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66216         Make 'mapoff' field ElfW(Off) rather than off_t.
66218 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
66220         * nscd/Makefile: Remove nscd-cflags and all its users.
66221         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66222         (CFLAGS-nonlib): Add compiler flags for nscd modules.
66224         [BZ #10631]
66225         * malloc.c (malloc_printerr): Clarify error message.
66227 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66229         [BZ #14648]
66230         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66231         Set bit_FMA_Usable if FMA is supported.
66232         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66233         macro.
66234         (bit_FMA4_Usable): Updated.
66235         (index_FMA_Usable): New macro.
66236         (CPUID_FMA): Likewise.
66237         (HAS_FMA): Defined with bit_FMA_Usable.
66239 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66241         * bits/types.h (__swblk_t): Type removed.
66242         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66243         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66244         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66245         (__SWBLK_T_TYPE): Likewise.
66246         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66247         (__SWBLK_T_TYPE): Likewise.
66248         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66249         (__SWBLK_T_TYPE): Likewise.
66250         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66251         (__SWBLK_T_TYPE): Likewise.
66253 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66254             Honza Horak <hhorak@redhat.com>
66256         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66257         (xdr_mapname): Use YPMAXMAP as maxsize.
66258         (xdr_peername): Use YPMAXPEER as maxsize.
66259         (xdr_keydat): Use YPAXRECORD as maxsize.
66260         (xdr_valdat): Use YPMAXRECORD as maxsize.
66262 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66264         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66266         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66267         * csu/init-first.c: ... here.
66268         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66269         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66270         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66271         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66272         * sysdeps/i386/init-first.c: File removed.
66273         * sysdeps/sh/init-first.c: File removed.
66275 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66277         [BZ #14645]
66278         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66279         if x * y might underflow to zero and z is zero.
66280         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66281         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66282         * math/libm-test.inc (min_subnorm_value): New variable.
66283         (fma_test): Add more tests.
66284         (fma_test_towardzero): Likewise.
66285         (fma_test_downward): Likewise.
66286         (fma_test_upward): Likewise.
66287         (initialize): Set min_subnorm_value.
66289 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66291         [BZ #14638]
66292         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66293         0 + 0.
66294         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66295         mode for addition resulting in exact zero.
66296         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66297         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66298         exact 0 + 0.
66299         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66300         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66301         * math/libm-test.inc (fma_test): Add more tests.
66302         (fma_test_towardzero): New function.
66303         (fma_test_downward): Likewise.
66304         (fma_test_upward): Likewise.
66305         (main): Call the new functions.
66307 2012-09-28  David S. Miller  <davem@davemloft.net>
66309         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66311 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66313         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66314         instead of SIGALRM.
66316         * sysdeps/gnu/_G_config.h: Moved to ...
66317         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66318         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66319         * sysdeps/generic/_G_config.h: ... here.
66321         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66323         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66325         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66326         Conditionalize target on [libnss_test1.so-version].
66328         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66330         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66331         (elfobjdir): Move out of conditionals.
66333         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66334         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66335         (__nss_lookup_function): Conditionalize label remove_from_tree on
66336         [!DO_STATIC_NSS || SHARED], matching its only use.
66338 2012-09-28  David S. Miller  <davem@davemloft.net>
66340         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66341         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66342         file.
66343         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66344         sysdep_routines.
66345         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66347         when HWCAP_SPARC_CRYPTO is present.
66349 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66351         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66353 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66355         [BZ #6530]
66356         * stdio-common/vfprintf.c (process_string_arg): Revert
66357         2000-07-22 change.
66359 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66361         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66362         for testcase.
66363         * stdio-common/tst-sprintf.c: Include <locale.h>
66364         (main): Test sprintf's handling of incomplete multibyte
66365         characters.
66367 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66369         * elf/dl-runtime.c (VERSYMIDX): Removed.
66370         * elf/dl-version.c (VERSYMIDX): Likewise.
66371         * elf/do-rel.h (VERSYMIDX): Likewise.
66372         (VALIDX): Likewise.
66373         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66374         * elf/rtld.c (VALIDX): Likewise.
66375         (ADDRIDX): Likewise.
66376         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66377         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66378         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66379         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66380         (VALIDX): Likewise.
66381         (ADDRIDX): Likewise.
66383 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66385         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66387 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66389         [BZ #11438]
66390         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66391         to global scope.
66392         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66393         addresses are in the same scope as 192.0.2/24.
66394         * posix/gai.conf: Document new scope table defaults.
66396 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66398         [BZ #5298]
66399         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66400         for ftell.  Compute offsets from write pointers instead.
66401         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66403 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66405         [BZ #14543]
66406         * libio/Makefile (tests): New test case tst-fseek.
66407         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66408         combination works in wide mode.
66409         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66410         state when the external buffer state changes.
66412 2012-09-27  David S. Miller  <davem@davemloft.net>
66414         [BZ #14376]
66415         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66416         pass reloc->r_addend in as the 'high' argument to
66417         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66419         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66421 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66423         * rt/tst-aio2.c: Include <pthread.h>.
66424         * rt/tst-aio3.c: Likewise.
66426 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66428         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66430 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66432         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66433         contents on [SHARED].
66435 2012-09-26  Marek Polacek  <polacek@redhat.com>
66437         [BZ #14530]
66438         [BZ #13741]
66439         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66440         for C++ and GCC <4.3 as well as for non GCC compilers.
66442 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66444         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66446 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66448         * Makefile.in (all, install): Declare with .PHONY.
66449         Reported by Michael Hope <michael.hope@linaro.org>.
66451 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66453         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66454         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66455         system header.
66456         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66457         Likewise.
66458         (sydep_routines): Add the new and the internal functions.
66459         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66460         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66462         (GLIBC_2.17): Add the new function.
66463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66464         (GLIBC_2.17): Likewise.
66465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66466         (GLIBC_2.17): Likewise.
66467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66468         (GLIBC_2.17): Likewise.
66469         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66471 2012-09-25  Alan Modra  <amodra@gmail.com>
66473         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66474         Add release barrier before setting once_control to say
66475         initialisation is done.  Add hints on lwarx.  Use macro in
66476         place of isync.
66477         (clear_once_control): Add release barrier.
66479 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66481         [BZ #13629]
66482         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66483         specially.
66484         * math/s_clog10.c (__clog10): Likewise.
66485         * math/s_clog10f.c (__clog10f): Likewise.
66486         * math/s_clog10l.c (__clog10l): Likewise.
66487         * math/s_clogf.c (__clogf): Likewise.
66488         * math/s_clogl.c (__clogl): Likewise.
66489         * math/Makefile (libm-calls): Add x2y2m1.
66490         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66491         (__x2y2m1): Likewise.
66492         (__x2y2m1l): Likewise.
66493         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66494         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66495         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66496         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66497         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66498         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66499         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66500         * sysdeps/i386/fpu/libm-test-ulps: Update.
66501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66503         [BZ #14621]
66504         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66505         int as type of variable DEPTH.
66506         (glob): Use size_t instead of int as type of variables NEWCOUNT
66507         and OLD_PATHC.
66509 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66511         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66512         Add s_sincosf-sse2.
66513         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66514         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66515         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66516         macros for using routine as __sincosf_ia32.
66517         Use macro for function declaration and weak_alias.
66518         * sysdeps/i386/fpu/libm-test-ulps: Update.
66520         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66523         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66524         subnormal argument.
66525         * math/s_cexpf.c (__cexpf): Likewise.
66526         * math/s_csinf.c (__csinf): Likewise.
66527         * math/s_csinhf.c (__csinhf): Likewise.
66528         * math/s_ctanf.c (__ctanf): Likewise.
66529         * math/s_ctanhf.c (__ctanhf): Likewise.
66530         * math/s_ccosh.c (__ccoshf): Likewise.
66531         * math/s_cexp.c (__cexpl): Likewise.
66532         * math/s_csin.c (__csin): Likewise.
66533         * math/s_csinh.c (__csinh): Likewise.
66534         * math/s_ctan.c (__ctan): Likewise.
66535         * math/s_ctanh.c (ctanh): Likewise.
66536         * math/s_ccoshl.c (__ccoshl): Likewise.
66537         * math/s_cexpl.c (__cexpl): Likewise.
66538         * math/s_csinl.c (__csinl): Likewise.
66539         * math/s_csinhl.c (__csinhl): Likewise.
66540         * math/s_ctanl.c (__ctanl): Likewise.
66541         * math/s_ctanhl.c (__ctanhl): Likewise.
66543 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66545         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66546         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66547         (_IO_off_t): Define to __off_t, not _G_off_t.
66548         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66549         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66550         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66551         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66552         type of __dummy and __dummy2 fields.
66553         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66554         (_G_ssize_t): Likewise.
66555         (_G_off_t): Likewise.
66556         (_G_pid_t): Likewise.
66557         (_G_uid_t): Likewise.
66558         (_G_wchar_t): Likewise.
66559         (_G_wint_t): Likewise.
66560         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66561         (_G_ssize_t): Likewise.
66562         (_G_off_t): Likewise.
66563         (_G_pid_t): Likewise.
66564         (_G_uid_t): Likewise.
66565         (_G_wchar_t): Likewise.
66566         (_G_wint_t): Likewise.
66567         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66568         (_G_ssize_t): Likewise.
66569         (_G_off_t): Likewise.
66570         (_G_pid_t): Likewise.
66571         (_G_uid_t): Likewise.
66572         (_G_wchar_t): Likewise.
66573         (_G_wint_t): Likewise.
66575 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66577         * malloc/arena.c: Include malloc-sysdep.h.
66578         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66579         is sufficient to shrink the heap or an unmap is needed.
66580         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66581         new function check_may_shrink_heap.
66582         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66583         new function check_may_shrink_heap.
66585 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66587         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66588         comments.
66590 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66592         * catgets/test-gencat.sh: Add "set -e".
66593         * elf/tst-pathopt.sh: Likewise.
66594         * grp/tst_fgetgrent.sh: Likewise.
66595         * iconvdata/run-iconv-test.sh: Likewise.
66596         * intl/tst-gettext.sh: Likewise.
66597         * intl/tst-gettext2.sh: Likewise.
66598         * intl/tst-gettext4.sh: Likewise.
66599         * intl/tst-gettext6.sh: Likewise.
66600         * intl/tst-translit.sh: Likewise.
66601         * io/ftwtest-sh: Likewise.
66602         * libio/test-freopen.sh: Likewise.
66603         * malloc/tst-mtrace.sh: Likewise.
66604         * posix/globtest.sh: Likewise.
66605         * posix/tst-getconf.sh: Likewise.
66606         * posix/wordexp-tst.sh: Likewise.
66607         * stdio-common/tst-printf.sh: Likewise.
66608         * stdio-common/tst-unbputc.sh: Likewise.
66609         * stdlib/tst-fmtmsg.sh: Likewise.
66610         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66611         * catgets/Makefile: Do not specify -e option when running
66612         testsuite shell scripts.
66613         * elf/Makefile: Likewise.
66614         * grp/Makefile: Likewise.
66615         * iconvdata/Makefile: Likewise.
66616         * intl/Makefile: Likewise.
66617         * io/Makefile: Likewise.
66618         * libio/Makefile: Likewise.
66619         * malloc/Makefile: Likewise.
66620         * posix/Makefile: Likewise.
66621         * stdio-common/Makefile: Likewise.
66622         * stdlib/Makefile: Likewise.
66623         * sysdeps/x86_64/Makefile: Likewise.
66625         * io/ftwtest-sh: Add copyright header.
66626         * posix/globtest.sh: Likewise.
66627         * posix/tst-getconf.sh: Likewise.
66628         * posix/wordexp-tst.sh: Likewise.
66629         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66631 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66633         [BZ #13679]
66634         * Makeconfig (+link): Defined as $(+link-static) if
66635         $(build-shared) isn't yes.
66636         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66637         isn't yes.
66638         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66640         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66642         [BZ #14562]
66643         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66644         new chunk size with MALLOC_ALIGN_MASK.
66646 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66648         [BZ #5044]
66649         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66650         <rounding-mode.h>.
66651         (__printf_fphex): Determine rounding using get_rounding_mode and
66652         round_away.
66653         * stdio-common/tst-printf-round.c (struct hex_test): New
66654         structure.
66655         (hex_tests): New variable.
66656         (test_hex_in_one_mode): New function.
66657         (do_test): Also run tests for hex float output.
66659 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66661         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66662         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66663         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66664         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66665         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66666         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66667         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66668         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66670 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66672         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66673         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66674         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66675         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66677 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66679         [BZ #14579]
66680         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66681         mode only.
66682         * elf/tst-rtld-load-self.sh: New test.
66683         * elf/Makefile: Run it.
66685 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66687         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66688         (tst-writev-ENV): Remove.
66689         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66691 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
66693         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66695 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
66697         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66698         unconditional.
66699         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66700         Likewise.
66701         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66702         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66703         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66704         Likewise.
66706 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
66708         [BZ #14587]
66709         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66710         * config.make.in (have-cpp-asm-debuginfo): Removed.
66711         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66712         * configure: Regenerated.
66714 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
66716         [BZ #5044]
66717         * stdio-common/printf_fp.c: Include <stdbool.h> and
66718         <rounding-mode.h>.
66719         (___printf_fp): Determine rounding using get_rounding_mode and
66720         round_away.
66721         * stdio-common/tst-printf-round.c: New file.
66722         * stdio-common/Makefile (tests): Add tst-printf-round.
66723         (link-libm): New variable.
66724         ($(objpfx)tst-printf-round): Depend in $(link-libm).
66726 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
66728         [BZ #14576]
66729         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66730         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66731         Likewise.
66732         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66733         Likewise.
66735 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
66737         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66738         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66739         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66740         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66742 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
66744         [BZ #14518]
66745         * include/rounding-mode.h: New file.
66746         * sysdeps/generic/get-rounding-mode.h: Likewise.
66747         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66748         * stdlib/strtod_l.c: Include <rounding-mode.h>.
66749         (MAX_VALUE): New macro.
66750         (MIN_VALUE): Likewise.
66751         (overflow_value): New function.
66752         (underflow_value): Likewise.
66753         (round_and_return): Use overflow_value and underflow_value to
66754         determine return values in overflow and underflow cases.  Use
66755         round_away to determine rounding depending on rounding mode.
66756         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66757         determine return values in overflow and underflow cases.
66758         * stdlib/tst-strtod-round.c: Include <fenv.h>.
66759         (struct test_results): New structure.
66760         (struct test): Use struct test_results to store expected results
66761         for all rounding modes.
66762         (TEST): Include expected results for all rounding modes.
66763         (test_in_one_mode): New function.
66764         (do_test): Use test_in_one_mode to compute and check results.
66765         Check results for all rounding modes.
66766         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66767         $(link-libm).
66769 2012-12-09  Allan McRae  <allan@archlinux.org>
66771         * sysdeps/i386/fpu/libm-test-ulps: Update
66773 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
66775         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
66776         (_G_int32_t): Likewise.
66777         (_G_uint16_t): Likewise.
66778         (_G_uint32_t): Likewise.
66779         (_G_HAVE_BOOL): Likewise.
66780         (_G_HAVE_ATEXIT): Likewise.
66781         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66782         (_G_HAVE_IO_FILE_OPEN): Likewise.
66783         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
66784         (_G_int32_t): Likewise.
66785         (_G_uint16_t): Likewise.
66786         (_G_uint32_t): Likewise.
66787         (_G_HAVE_BOOL): Likewise.
66788         (_G_HAVE_ATEXIT): Likewise.
66789         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66790         (_G_HAVE_IO_FILE_OPEN): Likewise.
66791         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
66792         (_G_int32_t): Likewise.
66793         (_G_uint16_t): Likewise.
66794         (_G_uint32_t): Likewise.
66795         (_G_HAVE_BOOL): Likewise.
66796         (_G_HAVE_ATEXIT): Likewise.
66797         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
66798         (_G_HAVE_IO_FILE_OPEN): Likewise.
66800 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
66802         * csu/libc-tls.c: Update copyright years.
66804 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
66806         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
66807         [!_G_USING_THUNKS]: Remove conditional code.
66808         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
66809         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
66811         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
66812         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
66813         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66814         (_G_VTABLE_LABEL_PREFIX): Likewise.
66815         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66816         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66817         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66818         (_G_VTABLE_LABEL_PREFIX): Likewise.
66819         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66820         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
66821         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
66822         (_G_VTABLE_LABEL_PREFIX): Likewise.
66823         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
66825 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
66827         * libio/Makefile: Include ../Makeconfig before tests.
66828         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
66829         only if $(build-shared) is yes.
66831         * iconv/gconv_db.c: Update copyright years.
66833 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66835         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
66836         unwind info if defined PIC. Fix special cases description.
66837         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
66839         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
66840         DP_HI_MASK entry.
66841         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
66843 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
66845         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
66847         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
66848         is NULL.
66850         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
66851         (LDLIBS-tst-chk4): This.
66852         (LDFLAGS-tst-chk5): Renamed to ...
66853         (LDLIBS-tst-chk5): This.
66854         (LDFLAGS-tst-chk6): Renamed to ...
66855         (LDLIBS-tst-chk6): This.
66856         (LDFLAGS-tst-lfschk4): Renamed to ...
66857         (LDLIBS-tst-lfschk4): This.
66858         (LDFLAGS-tst-lfschk5): Renamed to ...
66859         (LDLIBS-tst-lfschk5): This.
66860         (LDFLAGS-tst-lfschk6): Renamed to ...
66861         (LDLIBS-tst-lfschk6): This.
66863         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
66864         on $(common-objpfx)soversions.mk.
66866 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
66868         [BZ #10014]
66869         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
66870         example host name.
66872 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66874         * malloc/arena.c (arena_get_retry): New function that gets
66875         another arena for the caller to try its request on.
66876         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
66877         current arena cannot fulfill the request.
66878         (__libc_memalign): Likewise.
66879         (__libc_memalign): Likewise.
66880         (__libc_pvalloc): Likewise.
66881         (__libc_calloc): Likewise.
66883 2012-09-05  John Tobey  <john.tobey@gmail.com>
66885         [BZ #13542]
66886         * manual/arith.texi (Operations on Complex): Fix description
66887         of carg branch cut.
66889 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66891         [BZ #10014]
66892         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
66893         host name.
66895         [BZ #10038]
66896         * manual/memory.texi (Memory): Make order of menu items match
66897         order of sections.
66899 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66901         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
66902         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
66903         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
66905 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66907         * csu/libc-tls.c (static_dtv): Renamed to ...
66908         (_dl_static_dtv): This.  Make it global.
66909         (_dl_initial_dtv): Removed.
66910         (__libc_setup_tls): Updated.
66911         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
66912         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
66913         DL_INITIAL_DTV.
66915 2012-09-06  Petr Machata  <pmachata@redhat.com>
66917         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
66918         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
66919         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
66920         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
66922 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66924         [BZ #14545]
66925         * csu/libc-tls.c (_dl_initial_dtv): New variable.
66926         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
66927         freeing dtv[-1].
66929 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
66931         [BZ #14544]
66932         * Makeconfig (link-static-before-libc): Replace $(+prector)
66933         with $(+prectorT).
66934         (link-static-after-libc): Replace $(+postctor) with
66935         $(+postctorT).
66936         (link-bounded): Replace $(+prector)/$(+postctor) with
66937         $(+prectorT)/$(+postctorT).
66938         (+prectorT): New macro.
66939         (+postctorT): Likewise.
66941 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
66943         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
66944         (round_str): Handle values above the maximum for IBM long double
66945         as inexact.
66946         * stdlib/tst-strtod-round.c (tests): Regenerated.
66948 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66950         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
66951         assembler flag.
66952         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
66953         zarch_nohighgprs around the zarch optimized routines.
66954         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
66955         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
66956         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
66957         for zarch.
66959 2012-09-05  David S. Miller  <davem@davemloft.net>
66961         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66963         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
66964         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
66965         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
66966         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
66967         entries.
66969 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66971         * malloc/arena.c: Fold copyright years.
66972         * malloc/mcheck.c, malloc/memusage.c: Likewise.
66974 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66976         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
66978 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66980         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
66982 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66984         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
66985         change internal state upon failure.
66987 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
66989         * malloc/mcheck.c (mcheck_check_all): Fix typo.
66990         * malloc/memusage.c (mmap): Likewise.
66991         (mmap64, mremap): Likewise.  Adjust name in comment.
66993 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
66995         * libio/fileops.c: Fix typos in comments.
66996         * libio/oldfileops.c: Likewise.
66997         * libio/wfileops.c: Likewise.
66999 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
67001         [BZ #1349]
67002         * malloc/Makefile (tests): Add tst-malloc-usable test case.
67003         (tst-malloc-usable-ENV): Set environment for test case.
67004         * malloc/hooks.c (malloc_check_get_size): New function to get
67005         requested size.
67006         * malloc/malloc.c (musable): Use malloc_check_get_size.
67007         * malloc/tst-malloc-usable.c: New test case.
67009 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67011         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67013 2012-09-05  Allan McRae  <allan@archlinux.org>
67015         [BZ #13966]
67016         * configure.in (CXX_SYSINCLUDES): Use compiler output to
67017         determine header location.
67018         * configure: Regenerated.
67020 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67022         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67023         float format.
67024         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67025         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67026         format.
67027         (test): Regenerate.
67029 2012-09-04  David S. Miller  <davem@davemloft.net>
67031         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67032         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67033         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67035 2012-09-04  Florian Weimer  <fweimer@redhat.com>
67037         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67038         failures.
67040         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67042 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
67044         [BZ #9914]
67045         * libio/iogetdelim.c: Include <limits.h>.
67046         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67047         + len + 1 would overflow.
67049 2012-09-03  Andreas Jaeger  <aj@suse.de>
67051         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67052         * sysdeps/i386/fpu/libm-test-ulps: Update.
67054 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67056         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67057         Add s_sinf-sse2, s_conf-sse2.
67059         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67060         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67061         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67062         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67064         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67065         for using routine as __sinf_ia32.
67066         Use macro for function declaration and weak_alias.
67067         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67068         for using routine as __cosf_ia32.
67069         Use macro for function declaration and weak_alias.
67071         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67072         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67074         * sysdeps/x86_64/fpu/s_sinf.S: New file.
67075         * sysdeps/x86_64/fpu/s_cosf.S: New file.
67076         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67078         * math/libm-test.inc (cos_test): Add more test cases.
67079         (sin_test): Likewise.
67080         (sincos_test): Likewise.
67082 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67084         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67085         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67086         hidden.
67087         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67089 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
67091         [BZ #14538]
67092         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67093         first element of the GOT.
67094         (elf_machine_load_address): Return the difference between
67095         the runtime address of _DYNAMIC and elf_machine_dynamic ().
67097 2012-09-01  Allan McRae  <allan@archlinux.org>
67099         [BZ #13412]
67100         * configure.in (AWK): Require gawk version 3.0 or later.
67101         * configure: Regenerated.
67103 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
67105         * sysdeps/unix/sysv/linux/kernel-features.h
67106         (__ASSUME_POSIX_CPU_TIMERS): Remove.
67107         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67108         [__NR_clock_getres]: Make code unconditional.
67109         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67110         (clock_getcpuclockid): Remove code left unreachable by removal of
67111         conditionals.
67112         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67113         code unconditional.
67114         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67115         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67116         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67117         Make code unconditional.
67118         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67119         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67120         * sysdeps/unix/sysv/linux/clock_settime.c
67121         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67122         conditional code.
67123         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67124         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67126 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
67128         [BZ #14476]
67129         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67130         scripts/test-installation.pl.
67132         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67133         and $ld_so_version if it is set.
67135 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67137         [BZ #14516]
67138         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67139         failure if reading from procfs failed.
67140         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67142 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67144         * sysdeps/unix/sysv/linux/kernel-features.h
67145         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67146         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67147         Remove conditional code.
67148         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67149         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67150         Remove conditional code.
67151         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67152         * sysdeps/unix/sysv/linux/i386/fxstat.c
67153         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67154         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67155         * sysdeps/unix/sysv/linux/i386/fxstatat.c
67156         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67157         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67158         * sysdeps/unix/sysv/linux/i386/lxstat.c
67159         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67160         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67161         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67162         Remove conditional code.
67163         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67164         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67165         Remove conditional code.
67166         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67167         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67168         <kernel-features.h>.
67169         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67170         Remove.
67171         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67172         Remove conditional code.
67173         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67174         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67175         Remove conditional.
67177 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
67179         [BZ #5400]
67180         * NEWS: Add fixed bug number.
67182 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67184         [BZ #14519]
67185         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67186         underflowing exponent in case of negative sign.
67187         * stdlib/tst-strtod-round-data: Add more tests.
67188         * stdlib/tst-strtod-round.c (tests): Regenerated.
67190         [BZ #3479]
67191         * stdlib/strtod_l.c (NDIG): Remove.
67192         (HEXNDIG): Likewise.
67193         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67194         smallest representable value.
67195         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67196         lie within an exact representation of 1/2 ulp of the result.
67197         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67198         unconditionally.
67199         (TENS_P9_IDX): Define unconditionally.
67200         (TENS_P9_SIZE): Likewise.
67201         (TENS_P10_IDX): Likewise.
67202         (TENS_P10_SIZE): Likewise.
67203         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67204         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67205         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67206         entries for 10^2^13 and 10^2^14.
67207         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67208         (TENS_P13_IDX): Define.
67209         (TENS_P13_SIZE): Likewise.
67210         (TENS_P14_IDX): Likewise.
67211         (TENS_P14_SIZE): Likewise.
67212         (_fpioconst_pow10): Change array size to
67213         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
67214         unconditional.
67215         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67216         1024]: Add entries for 10^2^13 and 10^2^14.
67217         [LAST_POW10 > _LAST_POW10]: Remove #error.
67218         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67219         (_fpioconst_pow10): Change array size to
67220         FPIOCONST_POW10_ARRAY_SIZE.
67221         * stdlib/gen-fpioconst.c: New file.
67222         * stdlib/gen-tst-strtod-round.c: Likewise.
67223         * stdlib/tst-strtod-round-data: Likewise.
67224         * stdlib/tst-strtod-round.c: Likewise.
67225         * stdlib/Makefile (tests): Add tst-strtod-round.
67227         [BZ #14459]
67228         * stdlib/strtod_l.c: Include <stdint.h>.
67229         (NDEBUG): Do not define.
67230         (round_and_return): Change EXPONENT parameter to type intmax_t.
67231         Rearrange calculations to avoid internal overflow possibilities.
67232         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67233         Rearrange calculations to avoid internal overflow possibilities.
67234         Assert that number fits inside MPNSIZE limbs.
67235         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67236         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67237         calculations and add assertions to avoid internal overflow
67238         possibilities.  Add casts to avoid signed/unsigned operations.
67239         * stdlib/tst-strtod-overflow.c: New file.
67240         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67242 2012-08-25  Marek Polacek  <polacek@redhat.com>
67244         * time/time.h: Fix some typos in comments.
67246 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67248         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67249         * posix/tst-rfc3484-2.c: Likewise.
67250         * posix/tst-rfc3484-3.c: Likewise.
67252 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67254         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67255         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67257 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67259         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67260         #include of fxstatat64.c.
67262 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67264         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67265         * shadow/getspent_r.c: Likewise.
67266         * shadow/getspnam.c: Likewise.
67267         * shadow/getspnam_r.c: Likewise.
67268         * gshadow/getsgent.c: Likewise.
67269         * gshadow/getsgent_r.c: Likewise.
67270         * gshadow/getsgnam.c: Likewise.
67271         * gshadow/getsgnam_r.c: Likewise.
67272         * inet/getnetbyad.c: Likewise.
67273         * inet/getnetbyad_r.c: Likewise.
67274         * inet/getnetbynm.c: Likewise.
67275         * inet/getnetbynm_r.c: Likewise.
67276         * inet/getnetent.c: Likewise.
67277         * inet/getnetent_r.c: Likewise.
67278         * inet/getproto.c: Likewise.
67279         * inet/getproto_r.c: Likewise.
67280         * inet/getprtent.c: Likewise.
67281         * inet/getprtent_r.c: Likewise.
67282         * inet/getprtname.c: Likewise.
67283         * inet/getprtname_r.c: Likewise.
67284         * inet/getrpcbyname.c: Likewise.
67285         * inet/getrpcbyname_r.c: Likewise.
67286         * inet/getrpcbynumber.c: Likewise.
67287         * inet/getrpcbynumber_r.c: Likewise.
67288         * inet/getrpcent.c: Likewise.
67289         * inet/getrpcent_r.c: Likewise.
67290         * inet/getaliasent.c: Likewise.
67291         * inet/getaliasent_r.c: Likewise.
67292         * inet/getaliasname.c: Likewise.
67293         * inet/getaliasname_r.c: Likewise.
67294         * nscd/getgrgid_r.c: Likewise.
67295         * nscd/getgrnam_r.c: Likewise.
67296         * nscd/gethstbyad_r.c: Likewise.
67297         * nscd/gethstbynm3_r.c: Likewise.
67298         * nscd/getpwnam_r.c: Likewise.
67299         * nscd/getpwuid_r.c: Likewise.
67300         * nscd/getsrvbynm_r.c: Likewise.
67301         * nscd/getsrvbypt_r.c: Likewise.
67302         * nscd/gai.c: Likewise.
67304         * configure.in (build_nscd): New substituted variable, set
67305         by --disable-build-nscd and defaults to $use_nscd.
67306         * configure: Regenerated.
67307         * config.make.in (build-nscd): New substituted variable.
67308         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67309         Change conditional to require [$(build-nscd) = yes] as well.
67310         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67312         [BZ# 13696]
67313         * configure.in (use_nscd): New substituted variable, set by
67314         --disable-nscd.  If enabled, define USE_NSCD.
67315         * configure: Regenerated.
67316         * config.h.in: Add USE_NSCD.
67317         * config.make.in (use-nscd): New substituted variable.
67318         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67319         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67320         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67321         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67322         (CFLAGS-getgrnam_r.c): Likewise.
67323         (CFLAGS-initgroups.c): Likewise.
67324         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67325         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67326         Variables removed.
67327         * inet/getnetgrent_r.c
67328         (nscd_setnetgrent): New function, broken out of ...
67329         (setnetgrent): ... here.  Call it.
67330         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67331         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67332         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67333         * nscd/Makefile (routines, aux): Move definitions after include of
67334         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67335         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67336         Conditionalize on [USE_NSCD].
67337         (is_nscd, nscd_init_cb): Likewise.
67338         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67339         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67340         * nss/nss_db/db-init.c: Likewise.
67341         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67342         [USE_NSCD].
67343         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67344         (make_request): Use it.
67345         (cache_valid_p): New function.
67346         (__check_pf): Use it.
67347         * NEWS: Add item for --disable-nscd.
67349 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67351         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67352         to support sed >= 4.2.1-20-ga9bf076.
67353         * configure: Regenerated.
67355 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67357         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67358         Conditionalize whole body on [IREL].
67360 2012-08-22  Jeff Law <law@redhat.com>
67362         [BZ #14505]
67363         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67364         if the family is PF_UNSPEC.
67366 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67368         * Makerules (lib-version): Rename from V.
67369         (install-lib-nosubdir): Change V to lib-version.
67371 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67373         [BZ #14252]
67374         * powerpc32/power6/wcschr.c: New file.
67375         * powerpc32/power6/wcscpy.c: New file.
67376         * powerpc32/power6/wcsrchr.c: New file.
67377         * powerpc64/power6/wcschr.c: New file.
67378         * powerpc64/power6/wcscpy.c: New file.
67379         * powerpc64/power6/wcsrchr.c: New file.
67381 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67383         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67384         (two_way_short_needle): Use it.
67385         * string/strstr.c (AVAILABLE1_USES_J): Define.
67386         * string/strcasestr.c: Likewise.
67388         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67389         array references.
67390         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67392         [BZ #11607]
67393         * NEWS: Add an entry.
67394         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67395         define their defaults.
67396         (two_way_short_needle): Detect end-of-string on-the-fly.
67397         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67398         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67399         * string/bug-strcasestr1.c: New test.
67400         * string/Makefile: Run it.
67402 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67404         [BZ #11607]
67405         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67406         the first character.
67408 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67410         * csu/elf-init.c (__libc_csu_irel): Function removed.
67411         * csu/libc-start.c (apply_irel): New function.
67412         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67414 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67416         * sysdeps/unix/sysv/linux/kernel-features.h
67417         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67418         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67419         <kernel-features.h>.
67420         [__NR_fadvise64_64]: Make code unconditional.
67421         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67422         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67423         !__NR_fadvise64_64)]: Likewise.
67424         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67425         !__NR_fadvise64_64))]: Likewise.
67426         [__NR_fadvise64]: Make code unconditional.
67427         [!__NR_fadvise64]: Remove conditional code.
67428         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67429         <kernel-features.h>.
67430         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67431         unconditional.
67432         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67433         conditional code.
67434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67435         not include <kernel-features.h>.
67436         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67437         unconditional.
67438         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67439         conditional code.
67440         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67441         include <kernel-features.h>.
67442         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67443         unconditional.
67444         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67445         conditional code.
67447 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67449         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67450         slight instruction rearrangements per scrollpipe analysis.
67451         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67453 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67455         * manual/syslog.texi (syslog; vsyslog, closelog):
67456         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67457         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67459         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67460         DSOCAPS to match condition on defining it.
67462 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67464         * sysdeps/unix/sysv/linux/kernel-features.h
67465         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67467         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67468         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67470         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67471         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67473         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67474         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67476         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67477         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67479         * sysdeps/unix/sysv/linux/kernel-features.h
67480         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67481         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67482         unconditional.
67483         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67484         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67485         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67486         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67487         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67488         Make code unconditional.
67489         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67490         (__mmap64) [!__NR_mmap2]: Likewise.
67491         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67492         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67493         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67494         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67495         [__NR_mmap2]: Make code unconditional.
67496         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67497         (__mmap64) [!__NR_mmap2]: Likewise.
67499 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67501         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67503 2012-08-18  Andreas Jaeger  <aj@suse.de>
67505         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67507 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67509         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67510         * include/unistd.h (__have_sock_cloexec): Likewise.
67511         (__have_pipe2): Likewise.
67512         (__have_dup3): Likewise.
67514 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67516         [BZ #9685]
67517         * include/unistd.h (__have_pipe2): Change define into an extern int.
67518         (__have_dup3): Likewise.
67519         * socket/have_sock_cloexec.c: Include fcntl.h.
67520         (__have_pipe2): New variable.
67521         (__have_dup3): Likewise.
67523 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67525         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67527 2012-08-17  Marek Polacek  <polacek@redhat.com>
67529         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67530         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67532 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67534         * configure.in: Add AC_SUBST for sysheaders.
67535         * configure: Regenerated.
67536         * config.make.in (sysheaders): New substituted variable.
67538         * sysdeps/unix/mkfifo.c: Moved ...
67539         * sysdeps/posix/mkfifo.c: ... here.
67540         * sysdeps/unix/mkfifoat.c: Moved ...
67541         * sysdeps/posix/mkfifoat.c: ... here.
67543         * sysdeps/unix/utime.c: Moved ...
67544         * sysdeps/posix/utime.c: ... here.
67546         * sysdeps/unix/time.c: Moved ...
67547         * sysdeps/posix/time.c: ... here.
67548         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67549         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67551         * sysdeps/unix/nice.c: Moved ...
67552         * sysdeps/posix/nice.c: ... here.
67554         * sysdeps/unix/alarm.c: Moved ...
67555         * sysdeps/posix/alarm.c: ... here.
67557         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67559 2012-08-17  Jeff Law <law@redhat.com>
67561         * intl/Makefile (codeset_mo): New variable.
67562         ($(codeset_mo)): New target.
67563         (tst-codeset.out): Depend on that.  Remove explicit rule.
67564         (tst-gettext3.out, tst-gettext5.out): Likewise.
67565         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67566         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67567         * intl/tst-codeset.sh: Remove.
67568         * intl/tst-gettext3.sh: Likewise.
67569         * intl/tst-gettext5.sh: Likewise.
67571 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67573         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67574         * sysdeps/unix/syscalls.list: ... here.
67576         * sysdeps/posix/getaddrinfo.c
67577         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67578         (gaiconf_init, gaiconf_reload): Use them.
67579         [!_STATBUF_ST_NSEC]
67580         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67581         Define using time_t rather than struct timespec.
67583         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67584         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67585         Macros removed.
67586         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67587         [!NO_THREADS].
67588         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67589         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67590         Likewise.
67592         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67593         __libc_cleanup_push argument.
67595         * bits/param.h: New file.
67596         * misc/sys/param.h: New file.
67597         * include/sys/param.h: New file.
67598         * misc/Makefile (headers): Add bits/param.h.
67599         * sysdeps/generic/sys/param.h: File removed.
67600         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67601         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67602         * sysdeps/mach/hurd/bits/param.h: New file.
67603         * sysdeps/mach/hurd/sys/param.h: File removed.
67605         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67606         last change.
67608         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67609         [_IO_MTSAFE_IO].
67610         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67611         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67612         New macros.
67614         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67615         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67616         rather than -D_IO_MTSAFE_IO conditionally.
67617         * stdio-common/Makefile (CPPFLAGS): Likewise.
67618         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67619         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67620         Use $(libio-mtsafe).
67621         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67622         of -D_IO_MTSAFE_IO.
67623         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67624         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67625         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67626         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67627         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67628         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67629         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67630         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67631         (CFLAGS-fread_u_chk.c): Likewise.
67632         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67633         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67634         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67635         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67636         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67637         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67638         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67639         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67640         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67642         * libio/Makefile: Test [$(libc-reentrant) = yes]
67643         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67645         * Makeconfig
67646         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67647         * sysdeps/pthread/configure: File removed.
67648         * sysdeps/pthread/Makeconfig: New file.
67649         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67650         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67652 2012-08-16  Gary Benson  <gbenson@redhat.com>
67654         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67655         unmapping the first object in a namespace.
67657 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67659         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67660         (__internal_setnetgrent): ... this.  Add internal_function to
67661         definition.  Add libc_hidden_def.
67662         (setnetgrent): Update caller.
67663         (internal_endnetgrent): Renamed to ...
67664         (__internal_endnetgrent): ... this.  Add internal_function to
67665         definition.  Add libc_hidden_def.
67666         (endnetgrent): Update caller.
67667         (internal_getnetgrent_r): Renamed to ...
67668         (__internal_getnetgrent_r): ... this.  Add internal_function to
67669         definition.  Add libc_hidden_def.
67670         (__getnetgrent_r): Update caller.
67671         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67673 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67675         * stdlib/longlong.h: Update from GCC.
67677 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67679         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67680         on _QL, which is set by umul_ppmm but never used.
67681         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67682         variables, which are set by GMP macros but never used.
67683         * stdio-common/_itowa.c (_itowa): Likewise.
67684         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67685         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67687 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67689         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67690         struct La_sh_regs is not constant.
67691         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67692         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67693         and struct La_sparc64_regs are not constant.
67695 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67697         * sysdeps/unix/sysv/linux/kernel-features.h
67698         (__ASSUME_POSIX_TIMERS): Remove.
67699         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67700         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67701         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67702         Make code unconditional.
67703         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67704         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67705         Make code unconditional.
67706         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67707         * sysdeps/unix/sysv/linux/clock_nanosleep.c
67708         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67709         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67710         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67711         Make code unconditional.
67712         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67713         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67714         (__libc_missing_posix_timers): Remove.
67716 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67718         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67719         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67721         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67723         * elf/dl-sym.c: Include <stdlib.h>.
67725         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67726         constants, which avoids warnings in 32-bit builds.
67728         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67729         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67731         * misc/lseek.c: File moved to ...
67732         * io/lseek.c: ... here.
67734         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67736         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67737         shifting LEN more than 31 bits at once.
67739 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67741         [BZ #14195]
67742         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67743         segmentation fault for a case of two empty input strings.
67744         * string/test-strncasecmp.c (check1): Renamed to...
67745         (bz12205): ...this.
67746         (bz14195): Add new testcase for two empty input strings and N > 0.
67747         (test_main): Call new testcase, adapt for renamed function.
67749 2012-08-15  Andreas Jaeger  <aj@suse.de>
67751         [BZ #14090]
67752         * crypt/md5test2.c: New test, based on test supplied by Serge
67753         Belyshev <belyshev@depni.sinp.msu.ru>.
67754         * crypt/Makefile (xtests): Add md5test-giant..
67755         * crypt/Makefile ($(objpfx)md5test-giant): Add.
67757 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
67759         [BZ #14090]
67760         * crypt/md5.c (md5_process_block): Don't assume the buffer
67761         length is less than 2**32.
67762         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67763         length is less than 2**64.
67765 2012-08-15  Roland McGrath  <roland@hack.frob.com>
67767         * string/str-two-way.h: Include <sys/param.h>.
67768         (MAX): Macro removed.
67770         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
67771         Move #define and #undef of memmove to just before and after
67772         including <string.h>.
67774         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
67775         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
67776         and after including <string.h>.  Move declarations of
67777         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
67778         to before #include "string/memmove.c".
67780         * include/dirent.h: Declare __getdirentries.
67782         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
67783         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
67785 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
67787         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
67788         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
67789         * sysdeps/i386/configure: Regenerated.
67790         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
67791         STABS_CURRENT_FILE, and STABS_FUN.
67792         (END): Remove call to STABS_FUN_END.
67793         (STABS_CURRENT_FILE1): Delete.
67794         (STABS_CURRENT_FILE): Likewise.
67795         (STABS_FUN): Likewise.
67796         (STABS_FUN_END): Likewise.
67797         (STABS_FUN2): Likewise.
67798         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
67799         * sysdeps/x86_64/configure: Regenerated.
67801 2012-08-14  Roland McGrath  <roland@hack.frob.com>
67803         * elf/dl-open.c: Include <atomic.h>.
67804         * elf/dl-lookup.c: Likewise.
67806 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
67808         * sysdeps/unix/sysv/linux/kernel-features.h
67809         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
67810         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
67811         unconditionally.
67812         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
67813         unconditionally.
67814         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
67815         condition on __ASSUME_CLONE_THREAD_FLAGS.
67817 2012-08-14  Andreas Jaeger  <aj@suse.de>
67819         * sysdeps/i386/fpu/libm-test-ulps: Update.
67821 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
67823         * include/atomic.h (atomic_exchange_and_add): Split into ...
67824         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
67825         New atomic macros.
67827 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
67829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67831 2012-08-13  Jeff Law <law@redhat.com>
67833         * manual/stdio.texi (snprintf): Clarify handling of the trailing
67834         null byte in the output string.
67836 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
67838         * sysdeps/unix/sysv/linux/kernel-features.h
67839         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
67840         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
67841         (__ASSUME_ARG_MAX_STACK_BASED): Define.
67842         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
67843         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
67844         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
67845         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
67847 2012-08-09  Jeff Law <law@redhat.com>
67849         [BZ #13939]
67850         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
67851         When avoid_arena is set, don't retry in the that arena.  Pick the
67852         next one, whatever it might be.
67853         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
67854         (arena_lock): Pass in new parameter to arena_get2.
67855         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
67856         arena_get2.
67857         (__libc_malloc): Unify retrying after main arena failure with
67858         __libc_memalign version.
67859         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
67861 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
67863         [BZ #14166]
67864         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
67865         to __redirect_strstr.
67866         (__strstr_sse42): Use typeof __redirect_strstr.
67867         (__strstr_ia32): Likewise.
67868         (__libc_strstr): New prototype.
67869         (strstr): Renamed to ...
67870         (__libc_strstr): This.
67871         (strstr): New strong alias of __libc_strstr.
67872         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
67873         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
67874         __redirect_time.
67875         Include <time.h>.
67876         (__libc_time): New prototype.
67877         (time_ifunc): Replace time with __libc_time.
67878         (time): New strong alias and hidden definition of __libc_time.
67879         (__GI_time): Remove strong alias.
67880         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
67881         Include <stddef.h>.
67882         (memmove): Redefined to __redirect_memmove.
67883         (__memmove_sse2): Use typeof __redirect_memmove.
67884         (__memmove_ssse3): Likewise.
67885         (__memmove_ssse3_back): Likewise.
67886         (__libc_memmove): New prototype.
67887         (memmove): Renamed to ...
67888         (__libc_memmove): This.
67889         (memmove): New strong alias of __libc_memmove.
67891 2012-08-08  Mark Salter  <msalter@redhat.com>
67893         * elf/elf.h
67894         (R_MN10300_TLS_GD): Define.
67895         (R_MN10300_TLS_LD): Likewise.
67896         (R_MN10300_TLS_LDO): Likewise.
67897         (R_MN10300_TLS_GOTIE): Likewise.
67898         (R_MN10300_TLS_IE): Likewise.
67899         (R_MN10300_TLS_LE): Likewise.
67900         (R_MN10300_TLS_DTPMOD): Likewise.
67901         (R_MN10300_TLS_DTPOFF): Likewise.
67902         (R_MN10300_TLS_TPOFF): Likewise.
67903         (R_MN10300_SYM_DIFF): Likewise.
67904         (R_MN10300_ALIGN): Likewise.
67905         (R_MN10300_NUM): Update.
67907 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
67909         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
67910         Remove.
67912 2012-08-08  Roland McGrath  <roland@hack.frob.com>
67914         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
67916         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
67917         sysdeps/unix -> sysdeps/posix move.
67918         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
67920 2012-08-07      Allan McRae     <allan@archlinux.org>
67922         [BZ #14303]
67923         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
67924         (SUNOS_CPP): Likewise.
67925         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
67926         not found.
67927         (open_input): Call CPP using execvp.
67929 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
67931         * sysdeps/unix/sysv/linux/kernel-features.h
67932         (__ASSUME_PROT_GROWSUPDOWN): Remove.
67933         (__ASSUME_NO_CLONE_DETACHED): Likewise.
67934         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
67935         (__ASSUME_WAITID_SYSCALL): Likewise.
67936         * sysdeps/unix/sysv/linux/dl-execstack.c
67937         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
67938         code unconditional.
67939         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
67940         conditional code.
67941         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
67942         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
67943         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
67944         code.
67945         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
67946         unconditional.
67947         [__ASSUME_WAITID_SYSCALL]: Likewise.
67948         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
67950 2012-08-07  Roland McGrath  <roland@hack.frob.com>
67952         * sysdeps/unix/closedir.c: Renamed to ...
67953         * sysdeps/posix/closedir.c: ... here.
67954         * sysdeps/unix/dirfd.c: Renamed to ...
67955         * sysdeps/posix/dirfd.c: ... here.
67956         * sysdeps/unix/dirstream.h: Renamed to ...
67957         * sysdeps/posix/dirstream.h: ... here.
67958         * sysdeps/unix/fdopendir.c: Renamed to ...
67959         * sysdeps/posix/fdopendir.c: ... here.
67960         * sysdeps/unix/opendir.c: Renamed to ...
67961         * sysdeps/posix/opendir.c: ... here.
67962         * sysdeps/unix/readdir.c: Renamed to ...
67963         * sysdeps/posix/readdir.c: ... here.
67964         * sysdeps/unix/readdir_r.c: Renamed to ...
67965         * sysdeps/posix/readdir_r.c: ... here.
67966         * sysdeps/unix/rewinddir.c: Renamed to ...
67967         * sysdeps/posix/rewinddir.c: ... here.
67968         * sysdeps/unix/seekdir.c: Renamed to ...
67969         * sysdeps/posix/seekdir.c: ... here.
67970         * sysdeps/unix/telldir.c: Renamed to ...
67971         * sysdeps/posix/telldir.c: ... here.
67972         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
67973         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
67974         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
67975         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
67977         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
67978         * bits/fcntl.h: ... here.
67980         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
67981         not 0.
67982         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
67983         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
67984         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
67985         (struct flock): Move l_start, l_len to the beginning.
67986         Use __pid_t for l_pid.
67987         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
67988         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
67989         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
67990         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
67991         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
67992         [__USE_LARGEFILE64] (struct flock64): New type.
67993         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
67995         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
67996         * bits/dirent.h: ... here.
67998         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
67999         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68001 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
68003         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68004         Change from 2.6.0 to 2.6.16.
68005         * sysdeps/unix/sysv/linux/configure: Regenerated.
68006         * sysdeps/unix/sysv/linux/kernel-features.h
68007         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68008         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68009         version.
68010         (__ASSUME_UTIMES): Likewise.
68011         (__ASSUME_CLONE_STOPPED): Remove.
68012         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68013         architectures, not kernel version.
68014         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68015         (__ASSUME_NO_CLONE_DETACHED): Likewise.
68016         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68017         (__ASSUME_WAITID_SYSCALL): Likewise.
68018         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68019         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68020         * README: State 2.6.16 as minimum Linux kernel version.  Do not
68021         refer to older versions.
68023 2012-08-06  Roland McGrath  <roland@hack.frob.com>
68025         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68026         Define alphasort64 as an alias.
68027         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68028         Define versionsort64 as an alias.
68029         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68030         Define scandir64 as an alias.
68031         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68032         Define scandirat64 as an alias.
68033         * dirent/alphasort64.c (alphasort64):
68034         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68035         * dirent/versionsort64.c: Likewise.
68036         * dirent/scandir64.c: Likewise.
68037         * dirent/scandirat64.c: Likewise.
68038         * sysdeps/wordsize-64/alphasort.c: File removed.
68039         * sysdeps/wordsize-64/alphasort64.c: File removed.
68040         * sysdeps/wordsize-64/scandir.c: File removed.
68041         * sysdeps/wordsize-64/scandir64.c: File removed.
68042         * sysdeps/wordsize-64/scandirat.c: File removed.
68043         * sysdeps/wordsize-64/scandirat64.c: File removed.
68044         * sysdeps/wordsize-64/versionsort.c: File removed.
68045         * sysdeps/wordsize-64/versionsort64.c: File removed.
68046         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68047         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68049         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68051         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68052         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68053         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68055         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68056         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68057         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68058         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68059         [defined __arch64__ || defined __sparcv9]
68060         (__INO_T_MATCHES_INO64_T): New macro.
68061         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68062         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68063         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68064         * sysdeps/unix/sysv/linux/bits/dirent.h
68065         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68066         (_DIRENT_MATCHES_DIRENT64): New macro.
68068         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68069         Define lockf64 as an alias.
68070         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68071         Define fseeko64 as an alias.
68072         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68073         Define ftello64 as an alias.
68074         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68075         Define _IO_fgetpos64 and fgetpos64 as aliases.
68076         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68077         Define _IO_fsetpos64 and fsetpos64 as aliases.
68078         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68079         Conditionalize body on this.
68080         * libio/fseeko64.c: Likewise.
68081         * libio/ftello64.c: Likewise.
68082         * libio/iofgetpos64.c: Likewise.
68083         * libio/iofsetpos64.c: Likewise.
68084         * sysdeps/wordsize-64/lockf.c: File removed.
68085         * sysdeps/wordsize-64/lockf64.c: File removed.
68086         * sysdeps/wordsize-64/fseeko.c: File removed.
68087         * sysdeps/wordsize-64/fseeko64.c: File removed.
68088         * sysdeps/wordsize-64/ftello.c: File removed.
68089         * sysdeps/wordsize-64/ftello64.c: File removed.
68090         * sysdeps/wordsize-64/iofgetpos.c: File removed.
68091         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68092         * sysdeps/wordsize-64/iofsetpos.c: File removed.
68093         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68094         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68095         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68096         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68097         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68098         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68099         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68100         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68101         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68102         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68103         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68105         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68106         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68107         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68108         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68109         [defined __arch64__ || defined __sparcv9]
68110         (__OFF_T_MATCHES_OFF64_T): New macro.
68111         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68112         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68114         (__OFF_T_MATCHES_OFF64_T): New macro.
68116 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68118         * stdlib/secure-getenv.c (__secure_getenv): Replace
68119         GLIBC_2_16 with GLIBC_2_17.
68121 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68123         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68124         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68126 2012-08-03  David S. Miller  <davem@davemloft.net>
68128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68130 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68132         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68133         Remove.
68134         (__ASSUME_CORRECT_SI_PID): Likewise.
68135         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68136         (__ASSUME_TMPFS_NAME): Likewise.
68137         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68138         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68139         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68140         (HAVE_AUX_SECURE): Make definition unconditional.
68141         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68142         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68144 2012-08-03  Roland McGrath  <roland@hack.frob.com>
68146         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68147         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68148         * sysdeps/mach/hurd/eloop-threshold.h: New file.
68149         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68150         __eloop_threshold instead of SYMLOOP_MAX.
68152         * sysdeps/generic/eloop-threshold.h: New file.
68153         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68154         of MAXSYMLINKS.
68155         * elf/chroot_canon.c (chroot_canon): Likewise.
68157 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68159         [BZ #13717]
68160         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68161         Change to 2.6.0 everywhere.
68162         * sysdeps/unix/sysv/linux/configure: Regenerated.
68163         * sysdeps/unix/sysv/linux/kernel-features.h
68164         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68165         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68166         kernel versions.
68167         (__ASSUME_POSIX_TIMERS): Define unconditionally.
68168         (__ASSUME_FUTEX_REQUEUE): Remove.
68169         (__ASSUME_STATFS64): Define unconditionally.
68170         (__ASSUME_AT_SECURE): Likewise.
68171         (__ASSUME_CORRECT_SI_PID): Likewise.
68172         (__ASSUME_TGKILL): Define without depending on kernel version for
68173         i386.
68174         (__ASSUME_UTIMES): Likewise.
68175         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68176         kernel version.
68177         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68178         (__ASSUME_TMPFS_NAME): Likewise.
68179         * README: Update reference to Linux kernel versions.
68181 2012-08-02  Marek Polacek  <polacek@redhat.com>
68183         [BZ# 14150]
68184         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
68185         libc_cv_asm_type_prefix with %.
68186         * configure: Regenerated.
68187         * include/libc-symbols.h: Remove comment about
68188         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68189         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68190         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68191         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68192         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68193         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68194         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68195         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68196         * elf/tst-unique2mod1.c: Likewise.
68197         * elf/tst-unique1mod2.c: Likewise.
68198         * elf/tst-unique1mod1.c: Likewise.
68199         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68200         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68201         Replace ASM_TYPE_DIRECTIVE with .type.
68202         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68203         * sysdeps/i386/sysdep.h: Likewise.
68204         * sysdeps/x86_64/sysdep.h: Likewise.
68205         * sysdeps/sh/sysdep.h: Likewise.
68206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68207         Do not define ASM_TYPE_DIRECTIVE.
68208         * sysdeps/powerpc/sysdep.h: Likewise.
68209         * sysdeps/powerpc/powerpc32/sysdep.h:
68210         Replace ASM_TYPE_DIRECTIVE with .type.
68211         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68212         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68213         * sysdeps/i386/fpu/e_powf.S: Likewise.
68214         * sysdeps/i386/fpu/e_expl.S: Likewise.
68215         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68216         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68217         * sysdeps/i386/fpu/e_pow.S: Likewise.
68218         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68219         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68220         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68221         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68222         * sysdeps/i386/fpu/e_log2.S: Likewise.
68223         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68224         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68225         * sysdeps/i386/fpu/e_powl.S: Likewise.
68226         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68227         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68228         * sysdeps/i386/fpu/e_logl.S: Likewise.
68229         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68230         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68231         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68232         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68233         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68234         * sysdeps/i386/fpu/e_log.S: Likewise.
68235         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68236         * sysdeps/i386/fpu/e_logf.S: Likewise.
68237         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68238         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68239         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68240         * sysdeps/i386/fpu/e_log10.S: Likewise.
68241         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68242         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68243         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68244         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68245         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68246         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68247         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68248         * sysdeps/i386/i686/strtok.S: Likewise.
68249         * sysdeps/i386/i386-mcount.S: Likewise.
68250         * sysdeps/i386/strtok.S: Likewise.
68251         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68252         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68253         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68254         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68255         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68256         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68257         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68258         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68259         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68260         * sysdeps/x86_64/_mcount.S: Likewise.
68261         * sysdeps/x86_64/strtok.S: Likewise.
68262         * sysdeps/sh/_mcount.S: Likewise.
68264 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68266         * libio/iofopen.c: Include <fcntl.h>.
68267         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68268         (_IO_fopen64, fopen64): Define as aliases.
68269         * libio/iofopen64.c: Include <fcntl.h>.
68270         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68271         Conditionalize body on this.
68272         * sysdeps/wordsize-64/iofopen.c: File removed.
68273         * sysdeps/wordsize-64/iofopen64.c: File removed.
68275 2012-08-01  Marek Polacek  <polacek@redhat.com>
68277         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68278         Use dlfcn directly instead of a variable.
68279         (binfmt-subdir): Do not define.
68280         (dlfcn): Likewise.
68282 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68285         Remove all definitions.
68286         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68287         <kernel-features.h>.
68288         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68289         (miss_F_GETOWN_EX): Remove all definitions.
68290         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68291         macro definition.
68292         [!__ASSUME_FCNTL64]: Remove conditional code.
68293         [__ASSUME_FCNTL64]: Make code unconditional.
68294         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68295         <kernel-features.h>.
68296         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68297         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68298         (lockf64) [__NR_fcntl64]: Make code unconditional.
68299         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68301         * sysdeps/unix/sysv/linux/kernel-features.h
68302         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68303         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68304         Make code unconditional.
68305         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68306         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68308         [__NR_vfork]: Make code unconditional.
68309         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68310         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68312         [__NR_vfork]: Make code unconditional.
68313         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68314         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68316 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68318         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68319         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68321         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68322         Define mkstemp64 as an alias.
68323         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68324         Define mkstemps64 as an alias.
68325         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68326         Define mkostemp64 as an alias.
68327         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68328         Define mkostemps64 as an alias.
68329         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68330         Conditionalize body on this.
68331         * misc/mkostemp64.c: Likewise.
68332         * misc/mkostemps64.c: Likewise.
68333         * misc/mkstemps64.c: Likewise.
68334         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68335         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68336         * sysdeps/wordsize-64/mkostemp.c: File removed.
68337         * sysdeps/wordsize-64/mkstemp.c: File removed.
68338         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68339         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68340         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68341         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68343         [BZ #14138]
68344         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68345         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68346         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68347         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68349         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68350         compat_symbol macros from <shlib-compat.h> rather than the underlying
68351         default_symbol_version and symbol_version macros, so that DEFAULT
68352         lines in shlib-versions are respected.
68353         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68355 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68357         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68358         Declare with warn_unused_result.
68359         (setgid, setregid, setegid, setresgid): Likewise.
68360         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68361         Likewise.
68362         * WUR-REPORT: Remove set*id functions.
68364 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68366         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68368 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68370         [BZ #10191]
68371         * include/sys/socket.h (__libc_accept, __libc_accept4):
68372         Add attribute_hidden.
68373         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68375         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68376         use of PTR_MANGLE.
68377         * inet/getnetgrent_r.c (setup): Likewise.
68379         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68381 2012-07-31  David S. Miller  <davem@davemloft.net>
68383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68385 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68387         [BZ #13629]
68388         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68389         value between 1.0 and 2.0 and smaller part has absolute value less
68390         than 1.0.
68391         * math/s_clog10.c (__clog10): Likewise.
68392         * math/s_clog10f.c (__clog10f): Likewise.
68393         * math/s_clog10l.c (__clog10l): Likewise.
68394         * math/s_clogf.c (__clogf): Likewise.
68395         * math/s_clogl.c (__clogl): Likewise.
68396         * math/libm-test.inc (clog_test): Add more tests.
68397         (clog10_test): Likewise.
68398         * sysdeps/i386/fpu/libm-test-ulps: Update.
68399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68401 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68403         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68404         Exit with zero in case no suitable GID is found, and write a
68405         message to standard error.
68407 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68409         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68410         rather than to 1.
68411         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68412         (MAXPATHLEN): Removed.
68413         (NOGROUP, NODEV): New macros.
68414         (setbit, clrbit, isset, isclr): New macros.
68415         (howmany, roundup, powerof2): New macros.
68416         (DEV_BSIZE): New macro.
68418         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68419         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68421         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68422         definition on [!__NO_LONG_DOUBLE_MATH].
68424         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68425         PTR_MANGLE and PTR_DEMANGLE.
68427         * socket/accept4.c (accept4): Rename to __libc_accept4.
68428         Define accept4 as a weak alias.
68430         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68431         on [_DIRENT_HAVE_D_TYPE].
68432         * io/ftw.c (ftw_dir): Likewise.
68434         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68436         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68438         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68439         Use the BSD numbers rather than the arbitrary ones we had.
68440         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68441         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68442         (SIGXCPU, SIGXFSZ): New macros.
68443         (_NSIG): Now 32.
68445         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68446         initializer on [_LIBC_REENTRANT].
68448         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68449         definitions inside [_POSIX_MAPPED_FILES].
68451         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68453         * dirent/opendir.c: Include <fcntl.h>.
68455         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68456         (__libc_getspecific): Likewise.
68457         (__libc_key_create): Likewise.
68459         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68460         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68461         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68462         (tmpfile64): Define as alias.
68463         * sysdeps/wordsize-64/tmpfile.c: File removed.
68464         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68465         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68466         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68468         * stdio-common/vfscanf.c: Include <stdbool.h>.
68469         * nss/makedb.c: Likewise.
68470         * stdio-common/_i18n_number.h: Likewise.
68471         * argp/argp-help.c: Likewise.
68472         * posix/wordexp.c: Likewise.
68473         * sysdeps/posix/spawni.c: Likewise.
68474         * nss/nss_files/files-initgroups.c: Likewise.
68475         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68476         * nss/nss_files/files-initgroups.c: Likewise.
68477         * nss/nss_db/db-netgrp.c: Likewise.
68478         * nss/nss_db/db-initgroups.c: Likewise.
68479         * io/fchmodat.c: Include <sys/stat.h>.
68481         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68482         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68484         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68485         [HAVE_MMAP].
68487         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68488         Add multiple inclusion protection.
68490 2012-07-27  David S. Miller  <davem@davemloft.net>
68492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68494 2012-07-27  Gary Benson  <gbenson@redhat.com>
68496         [BZ #14298]
68497         * elf/rtld.c: Include <stap-probe.h>.
68498         (dl_main): Added static probes "init_start" and "init_complete".
68499         * elf/dl-load.c: Include <stap-probe.h>.
68500         (lose): Take new parameter "nsid".
68501         Added static probe "map_failed".
68502         (_dl_map_object_from_fd): Pass namespace id to lose.
68503         Added static probe "map_start".
68504         (open_verify): Pass namespace id to lose.
68505         * elf/dl-open.c: Include <stap-probe.h>.
68506         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68507         and "reloc_complete".
68508         * elf/dl-close.c: Include <stap-probe.h>.
68509         (_dl_close_worker): Added static probes "unmap_start" and
68510         "unmap_complete".
68511         * elf/rtld-debugger-interface.txt: New file documenting the above.
68513 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68515         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68516         rather than a string variable.
68517         * sunrpc/rpc_main.c (h_output): Likewise.
68518         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68520 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68522         * inet/check_native.c: New file.
68524 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68526         [BZ #13629]
68527         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68528         if larger part has absolute value 1.0.
68529         * math/s_clog10.c (__clog10): Likewise.
68530         * math/s_clog10f.c (__clog10f): Likewise.
68531         * math/s_clog10l.c (__clog10l): Likewise.
68532         * math/s_clogf.c (__clogf): Likewise.
68533         * math/s_clogl.c (__clogl): Likewise.
68534         * math/libm-test.inc (clog_test): Add more tests.
68535         (clog10_test): Likewise.
68536         * sysdeps/i386/fpu/libm-test-ulps: Update.
68537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68539         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68540         (pltexit): Likewise.
68541         (La_regs): Likewise.
68542         (La_retval): Likewise.
68543         (int_retval): Likewise.
68544         Update #error for removed macros to refer only to definitions in
68545         tst-audit.h.
68546         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68547         macro.
68548         (pltexit): Likewise.
68549         (La_regs): Likewise.
68550         (La_retval): Likewise.
68551         (int_retval): Likewise.
68552         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68553         macro.
68554         (pltexit): Likewise.
68555         (La_regs): Likewise.
68556         (La_retval): Likewise.
68557         (int_retval): Likewise.
68558         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68559         macro.
68560         (pltexit): Likewise.
68561         (La_regs): Likewise.
68562         (La_retval): Likewise.
68563         (int_retval): Likewise.
68564         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68565         macro.
68566         (pltexit): Likewise.
68567         (La_regs): Likewise.
68568         (La_retval): Likewise.
68569         (int_retval): Likewise.
68570         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68571         macro.
68572         (pltexit): Likewise.
68573         (La_regs): Likewise.
68574         (La_retval): Likewise.
68575         (int_retval): Likewise.
68576         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68577         macro.
68578         (pltexit): Likewise.
68579         (La_regs): Likewise.
68580         (La_retval): Likewise.
68581         (int_retval): Likewise.
68582         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68583         macro definitions in tst-audit.h.
68584         * sysdeps/i386/tst-audit.h: New file.
68585         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68586         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68587         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68588         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68589         * sysdeps/sh/tst-audit.h: Likewise.
68590         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68591         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68592         * sysdeps/x86_64/tst-audit.h: Likewise.
68594 2012-07-26  Andreas Jaeger  <aj@suse.de>
68596         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68597         ptrace.
68599         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68600         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68601         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68602         PTRACE_O_MASK.
68603         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68604         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68605         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68607         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68608         value.
68610         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68611         _sigsys.
68612         (si_call_addr, si_syscall, si_arch): Define new macro.
68613         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68614         _sigsys.
68615         (si_call_addr, si_syscall, si_arch): Define new marcro.
68616         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68617         _sigsys.
68618         (si_call_addr, si_syscall, si_arch): Define new macro.
68619         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68620         _sigsys.
68621         (si_call_addr, si_syscall, si_arch): Define new macro.
68623 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68625         [BZ #13717]
68626         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68627         Change to 2.4.21 where previously 2.4.1.
68628         * sysdeps/unix/sysv/linux/configure: Regenerated.
68629         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68630         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68631         Linux kernel version.
68632         (__ASSUME_STD_AUXV): Remove.
68633         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68634         kernel version.
68635         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68636         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68637         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68638         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68639         (__ASSUME_NETLINK_SUPPORT): Likewise.
68640         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68641         (__no_netlink_support): Remove conditional definition.
68642         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68643         Remove.
68644         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68645         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68646         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68647         (if_nameindex_ioctl): Remove.
68648         (if_nameindex_netlink): Do not handle __no_netlink_support.
68649         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68650         code.
68651         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68652         Remove conditional code.
68653         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68654         code.
68655         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68656         unconditional.
68657         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68658         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68659         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68660         Remove.
68661         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68662         [!__ASSUME_STD_AUXV]: Remove conditional code.
68663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68664         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68665         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68667         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68668         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68669         code.
68670         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68672         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68673         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68674         conditional code.
68675         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68677         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68678         code.
68679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68680         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68681         conditional code.
68682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68683         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68684         code unconditional.
68685         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68686         conditional code.
68687         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68688         unconditional.
68689         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68690         conditional code.
68691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68692         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68693         unconditional.
68694         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68695         conditional code.
68696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68697         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68698         code unconditional.
68699         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68700         conditional code.
68701         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68702         unconditional.
68703         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68704         conditional code.
68705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68706         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68707         code unconditional.
68708         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68709         conditional code.
68710         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68711         unconditional.
68712         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68713         conditional code.
68715 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
68717         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68718         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68719         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68720         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68721         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68722         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68723         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68724         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68725         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68726         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68727         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68728         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68729         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68730         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68731         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68732         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68733         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68734         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68735         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68736         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68737         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68738         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68739         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68741 2012-07-25  Florian Weimer  <fweimer@redhat.com>
68743         * Versions.def: Add GLIBC_2.17.
68744         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68745         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68746         Introduce __libc_secure_getenv.
68747         * stdlib/Versions (2.17): Add secure_getenv
68748         (GLIBC_PRIVATE): Add __libc_secure_getenv.
68749         * stdlib/secure-getenv.c: Rename __secure_getenv to
68750         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
68751         symbol __secure_getenv for GLIBC_2.0.
68752         * stdlib/tst-secure-getenv.c: New.
68753         * stdlib/Makefile (tests): Add testcase.
68754         * manual/startup.texi (Environment Access): Document
68755         secure_getenv.
68756         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68757         __libc_secure_getenv.
68758         * inet/ruserpass.c (ruserpass): Likewise.
68759         * malloc/mtrace.c (mtrace): Likewise.
68760         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68761         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68762         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68763         * sysdeps/posix/tempname.c: Likewise.  Evaluate
68764         HAVE_SECURE_GETENV.
68765         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68766         __secure_getenv to __libc_secure_getenv.
68767         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
68769         Likewise.
68770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
68771         Likewise.
68772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
68773         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
68774         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
68775         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
68776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
68777         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
68778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
68780 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68782         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
68783         (struct La_i86_retval): Likewise.
68784         (struct La_x86_64_regs): Likewise.
68785         (struct La_x86_64_retval): Likewise.
68786         (struct La_x32_regs): Likewise.
68787         (struct La_x32_retval): Likewise.
68788         (struct La_ppc32_regs): Likewise.
68789         (struct La_ppc32_retval): Likewise.
68790         (struct La_ppc64_regs): Likewise.
68791         (struct La_ppc64_retval): Likewise.
68792         (struct La_sh_regs): Likewise.
68793         (struct La_sh_retval): Likewise.
68794         (struct La_s390_32_regs): Likewise.
68795         (struct La_s390_32_retval): Likewise.
68796         (struct La_s390_64_regs): Likewise.
68797         (struct La_s390_64_retval): Likewise.
68798         (struct La_sparc32_regs): Likewise.
68799         (struct La_sparc32_retval): Likewise.
68800         (struct La_sparc64_regs): Likewise.
68801         (struct La_sparc64_retval): Likewise.
68802         (struct audit_ifaces): Remove architecture-specific pltenter and
68803         pltexit members.
68804         * sysdeps/i386/ldsodefs.h: New file.
68805         * sysdeps/powerpc/ldsodefs.h: Likewise.
68806         * sysdeps/s390/ldsodefs.h: Likewise.
68807         * sysdeps/sh/ldsodefs.h: Likewise.
68808         * sysdeps/sparc/ldsodefs.h: Likewise.
68809         * sysdeps/x86_64/ldsodefs.h: Likewise.
68811 2012-07-25  Marek Polacek  <polacek@redhat.com>
68813         [BZ #6808]
68814         * math/libm-test.inc (yn_test): Add another test.
68815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
68816         to ERANGE when the result is +-Inf.
68817         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
68818         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
68819         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
68820         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
68822 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
68824         * conform/data/time.h-data (NULL): Use macro-constant.  Require
68825         equal to 0.
68826         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
68827         clock_t.
68828         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
68830 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
68832         * configure.in <sysdeps resolving>: Correct printing
68833         Implies_before.
68834         * configure: Regenerate.
68836 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
68838         * math/w_ilogb.c: Include <limits.h>.
68839         * math/w_ilogbl.c: Likewise.
68841 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68843         * manual/lang.texi (__va_copy): Document primarily as ISO C99
68844         va_copy.  Document allowing for unavailable va_copy only as
68845         pre-C99 compatibility.
68846         * manual/string.texi (Copying and Concatenation): Use va_copy
68847         instead of __va_copy in concat example.
68849 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
68851         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
68852         (__sendto): Use create_address_port.  Initialize APORT and deallocate
68853         it if not null.
68855         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
68856         with O_NOLINK passed to __file_name_lookup.
68858         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
68859         with O_NOLINK passed to __file_name_lookup.
68861         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
68862         negative N or less than NGIDS.
68864         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
68865         type to string_t.  Set ERANGE as errno and return it if NAME is not big
68866         enough.  Use memcpy instead of strncpy.
68868 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
68870         * elf/Makefile (check-data): Remove.
68871         (localplt.data): New vpath directive.
68872         ($(objpfx)check-localplt.out): Use localplt.data from vpath
68873         instead of $(check-data).
68874         * scripts/data/localplt-generic.data: Move to ...
68875         * sysdeps/generic/localplt.data: ... here.
68876         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
68877         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
68878         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
68879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
68880         ... here.
68881         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
68882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
68883         ... here.
68884         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
68885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
68886         ... here.
68887         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
68888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
68889         ... here.
68890         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
68891         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
68892         ... here.
68893         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
68894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
68895         ... here.
68897 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68899         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
68900         PPC32 and PPC64 files.
68901         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
68902         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
68904 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68906         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
68907         __makecontext_ret to ...
68908         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
68909         ... here and call exit if uc_link is NULL.  New file.
68910         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
68911         __makecontext_ret.S.
68912         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
68913         __makecontext_ret to ...
68914         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
68915         ... here and call exit if uc_link is NULL.  New file.
68916         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
68917         __makecontext_ret.S.
68919 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68921         * elf/elf.h (R_390_IRELATIVE): New definition.
68922         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
68923         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
68924         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
68925         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
68926         (elf_machine_lazy_rel): Likewise.
68927         * sysdeps/s390/dl-irel.h: New file.
68928         * sysdeps/s390/s390-64/memcpy.S: New asm code.
68929         * sysdeps/s390/s390-64/memset.S: New asm code.
68930         * sysdeps/s390/s390-64/memcmp.S: New asm code.
68931         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
68932         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
68933         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
68934         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
68935         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
68936         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
68937         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
68938         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
68939         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
68940         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
68941         * sysdeps/s390/s390-32/memcpy.S: New asm code.
68942         * sysdeps/s390/s390-32/memset.S: New asm code.
68943         * sysdeps/s390/s390-32/memcmp.S: New asm code.
68945 2012-07-17  Marek Polacek  <polacek@redhat.com>
68947         [BZ #14349]
68948         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
68949         * sysdeps/s390/s390-64/configure.in: Likewise.
68950         * sysdeps/sparc/configure.in: Likewise.
68951         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
68952         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
68953         * sysdeps/i386/configure.in: Likewise.
68954         * sysdeps/x86_64/configure.in: Likewise.
68955         * sysdeps/sh/configure.in: Likewise.
68956         * sysdeps/s390/s390-32/configure: Regenerated.
68957         * sysdeps/s390/s390-64/configure: Likewise.
68958         * sysdeps/x86_64/configure: Likewise.
68959         * sysdeps/sh/configure: Likewise.
68960         * sysdeps/powerpc/powerpc64/configure: Likewise.
68961         * sysdeps/powerpc/powerpc32/configure: Likewise.
68962         * sysdeps/sparc/configure: Likewise.
68963         * sysdeps/i386/configure: Likewise.
68965         * elf/dl-open.c: Comment fixes.
68967 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
68969         * Makefile [CXX] (check-data): Remove.
68970         [CXX] (c++-types.data): New vpath directive.
68971         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
68972         vpath.  Do not allow for C++ type data being missing.
68973         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
68974         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
68975         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
68976         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
68977         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
68978         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
68979         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
68980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
68981         ... here.
68982         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
68983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
68984         ... here.
68985         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
68986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
68987         ... here.
68988         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
68989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
68990         ... here.
68991         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
68992         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
68993         ... here.
68994         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
68995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
68996         ... here.
68997         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
68998         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
68999         ... here.
69000         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69001         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69003         * elf/tls-macros.h (TLS_LE): Move architecture-specific
69004         definitions to architecture-specific files.
69005         (TLS_IE): Likewise.
69006         (TLS_LD): Likewise.
69007         (TLS_GD): Likewise.
69008         * sysdeps/i386/tls-macros.h: New file.
69009         * sysdeps/powerpc/tls-macros.h: Likewise.
69010         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69011         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69012         * sysdeps/sh/tls-macros.h: Likewise.
69013         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69014         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69015         * sysdeps/x86_64/tls-macros.h: Likewise.
69017 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69019         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69020         zero value for regular exit case.
69022         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69023         (__start_context): Preserve zero value for regular exit case.
69025 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69026             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69028         * manual/setjmp.texi (setcontext): Clarify normal process
69029         termination when uc_link is the null pointer.
69030         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69031         exit call.
69033 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
69035         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69036         preprocessor.  Test for each exception mask separately.
69038 2012-07-16  Andreas Jaeger  <aj@suse.de>
69040         * po/ru.po: Update from translation team.
69042 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
69044         * conform/data/string.h-data (NULL): Use macro-constant.  Require
69045         equal to 0.
69046         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69047         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69048         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69049         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69050         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69052 2012-07-13  Andreas Jaeger  <aj@suse.de>
69054         * po/fr.po: Update from translation team.
69056 2012-07-12  Marek Polacek  <polacek@redhat.com>
69058         [BZ #14173]
69059         * math/libm-test.inc (yn_test): Add test for BZ #14173.
69060         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69061         loop condition.
69063 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
69065         [BZ #13717]
69066         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69067         Change to 2.4.1 where previously 2.4.0.
69068         * sysdeps/unix/sysv/linux/configure: Regenerated.
69069         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69070         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69071         version.
69072         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69073         (__ASSUME_AT_CLKTCK): Remove.
69074         (__ASSUME_AT_PAGESIZE): Likewise.
69075         (__ASSUME_AT_XID): Likewise.
69076         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69077         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69078         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69079         unconditionally.
69080         (HAVE_AUX_PAGESIZE): Likewise.
69081         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69082         [__ASSUME_AT_CLKTCK]: Make code unconditional.
69083         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69085 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
69087         [BZ #14307]
69088         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69089         the temporary buffer used to invoke __gethostbyname2_r,
69090         __gethostbyaddr_r and gethostbyname4_r to make room for struct
69091         host_data / struct gaih_addrtuple.
69092         * resolv/nss_dns/dns-host.c (global scope): Move definition of
69093         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69094         header file nss/nsswitch.h.
69095         * nss/nsswitch.h (global scope): Add definition of implementation
69096         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69097         resolv/nss_dns/dns-host.c).
69099 2012-07-11  Andreas Jaeger  <aj@suse.de>
69101         * po/fr.po: Update from translation team.
69103         * po/sv.po: Update from translation team
69104         * po/fr.po: Another update from translation team.
69106 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69109         for subnormals or multiply small sinh result by itself.
69110         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69111         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69113 2012-07-11  David S. Miller  <davem@davemloft.net>
69115         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69117 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
69119         [BZ #14347]
69120         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69121         (INTERNAL_MARK): Shift it here.
69123 2012-07-10  Marek Polacek  <polacek@redhat.com>
69125         [BZ #14151]
69126         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
69127         libc_cv_asm_global_directive with .globl.
69128         * configure: Regenerated.
69129         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69130         with .globl.
69131         * sysdeps/i386/configure: Regenerated.
69132         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69133         with .globl.
69134         * sysdeps/x86_64/configure: Regenerated.
69135         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69136         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69137         * elf/tst-unique2mod2.c: Likewise.
69138         * elf/tst-unique2mod1.c: Likewise.
69139         * elf/tst-unique1mod2.c: Likewise.
69140         * elf/tst-unique1mod1.c: Likewise.
69141         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69142         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69143         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69144         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69145         * sysdeps/mach/sysdep.h: Likewise.
69146         * sysdeps/i386/sysdep.h: Likewise.
69147         * sysdeps/i386/i386-mcount.S: Likewise.
69148         * sysdeps/x86_64/_mcount.S: Likewise.
69149         * sysdeps/x86_64/sysdep.h: Likewise.
69150         * sysdeps/sh/_mcount.S: Likewise.
69151         * sysdeps/sh/sysdep.h: Likewise.
69152         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69153         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69154         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69155         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69156         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69157         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69158         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69159         * locale/localeinfo.h: Likewise.
69160         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69161         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69163 2012-07-09  Roland McGrath  <roland@hack.frob.com>
69165         [BZ #14336]
69166         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69167         system".
69168         * manual/message.texi (The Uniforum approach): Likewise.
69169         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69170         (glibc iconv Implementation): Likewise.
69172 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
69174         [BZ #14337]
69175         * math/s_clog.c (__clog): Avoid scaling a value down where that
69176         could result in underflow.
69177         * math/s_clog10.c (__clog10): Likewise.
69178         * math/s_clog10f.c (__clog10f): Likewise.
69179         * math/s_clog10l.c (__clog10l): Likewise.
69180         * math/s_clogf.c (__clogf): Likewise.
69181         * math/s_clogl.c (__clogl): Likewise.
69182         * math/libm-test.inc (clog_test): Add more tests.
69183         (clog10_test): Likewise.
69184         * sysdeps/i386/fpu/libm-test-ulps: Update.
69185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69187 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
69189         [BZ #14283]
69190         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69191         by 7 not 8 to examine high bit of fractional part.
69193         [BZ #14042]
69194         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69195         for call to __mcount_internal.
69196         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69197         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69198         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69200 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
69202         [BZ #14154]
69203         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69204         approximation for values within 0x1p-13f of an odd multiple of
69205         pi/4.
69206         * math/libm-test.inc (tan_test): Do not allow spurious underflow
69207         exception.  Add more tests.
69208         * sysdeps/i386/fpu/libm-test-ulps: Update.
69210         [BZ #6778]
69211         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69212         inputs and return -1 for them.  Do not check for +Inf in case not
69213         reachable for +Inf.
69214         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69215         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69216         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69217         and return -1 for them.  Do not check for +Inf in case not
69218         reachable for +Inf.
69219         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69220         define.
69221         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69222         and return -1 for them.  Do not check for +Inf in case not
69223         reachable for +Inf.
69224         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
69225         spurious underflow.
69226         * sysdeps/i386/fpu/libm-test-ulps: Update.
69227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69229 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69231         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69233 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69235         [BZ #14157]
69236         [BZ #14331]
69237         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69238         could result in spurious underflow.  Scale down values above
69239         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69240         * math/s_csqrtf.c (__csqrtf): Likewise.
69241         * math/s_csqrtl.c (__csqrtl): Likewise.
69242         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69243         spurious underflow.
69244         * sysdeps/i386/fpu/libm-test-ulps: Update.
69245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69247 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69249         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69250         xopen-msg.sed.
69251         * catgets/xopen-msg.awk: New file.
69252         * catgets/xopen-msg.sed: Removed.
69254         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69255         po2text.sed.
69256         * intl/po2test.awk: New file.
69257         * intl/po2test.sed: Removed.
69259 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69261         [BZ #14328]
69262         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69263         or multiply small sinh result by itself.
69264         * math/s_ctanf.c (__ctanf): Likewise.
69265         * math/s_ctanh.c (__ctanh): Likewise.
69266         * math/s_ctanhf.c (__ctanhf): Likewise.
69267         * math/s_ctanhl.c (__ctanhl): Likewise.
69268         * math/s_ctanl.c (__ctanl): Likewise.
69269         * math/libm-test.inc (ctan_test_tonearest): New function.
69270         (ctan_test_towardzero): Likewise.
69271         (ctan_test_downward): Likewise.
69272         (ctan_test_upward): Likewise.
69273         (ctanh_test_tonearest): Likewise.
69274         (ctanh_test_towardzero): Likewise.
69275         (ctanh_test_downward): Likewise.
69276         (ctanh_test_upward): Likewise.
69277         (main): Call these new functions.
69278         * sysdeps/i386/fpu/libm-test-ulps: Update.
69279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69281 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69283         * .gitignore: Delete /ports entry.
69285 2012-07-03  Andreas Jaeger  <aj@suse.de>
69287         * po/bg.po: Update from translation team.
69288         * po/cs.po: Likewise.
69289         * po/de.po: Likewise.
69290         * po/hr.po: Likewise.
69291         * po/nl.pl: Likewise.
69292         * po/pl.po: Likewise.
69293         * po/vi.po: Likewise.
69295 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69297         * Makeconfig [!+link] (+link-before-libc): New variable.
69298         [!+link] (+link-after-libc): Likewise.
69299         [!+link] (+link-tests): Likewise.
69300         [!+link] (+link): Define in terms of $(+link-before-libc) and
69301         $(+link-after-libc).
69302         [!+link-static] (+link-static-before-libc): New variable.
69303         [!+link-static] (+link-static-after-libc): Likewise.
69304         [!+link-static] (+link-static-tests): Likewise.
69305         [!+link-static] (+link-static): Define in terms of
69306         $(+link-static-before-libc) and $(+link-static-after-libc).
69307         [build-shared] (link-libc-before-gnulib): New variable.
69308         [build-shared] (link-libc-tests): Likewise.
69309         [build-shared] (link-libc): Define in terms of
69310         $(link-libc-before-gnulib).
69311         [!build-shared] (link-libc-tests): New variable.
69312         (link-libc-static-tests): New variable.
69313         [!gnulib] (gnulib-arch): New variable.
69314         [!gnulib] (gnulib-tests): Likewise.
69315         [!gnulib] (static-gnulib-arch): Likewise.
69316         [!gnulib] (static-gnulib-tests): Likewise.
69317         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69318         Define with "=" instead of ":=".
69319         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69320         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69321         * Rules (binaries-all-notests): New variable.
69322         (binaries-all-tests): Likewise.
69323         (binaries-static-notests): Likewise.
69324         (binaries-static-tests): Likewise.
69325         (binaries-all): Define using $(binaries-all-notests) and
69326         $(binaries-all-tests).
69327         (binaries-static): Define using $(binaries-static-notests) and
69328         $(binaries-static-tests).
69329         (binaries-shared-tests): New variable.
69330         (binaries-shared-notests): Likewise.
69331         (binaries-shared): Remove variable.
69332         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69333         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69334         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69335         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69336         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69337         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69338         * elf/Makefile (sln-modules): New variable.
69339         (extra-objs): Add $(sln-modules:=.o).
69340         (ldconfig-modules): Add static-stubs.
69341         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69342         * elf/static-stubs.c: New file.
69344         [BZ #14283]
69345         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69346         by 7 not 8 to examine high bit of fractional part.  Use volatile
69347         variables when splitting into final array of floats if
69348         __FLT_EVAL_METHOD__ != 0.
69349         * math/libm-test.inc (cos_test): Add another test.
69350         (sin_test): Likewise.
69351         * sysdeps/i386/fpu/libm-test-ulps: Update.
69353         [BZ #14273]
69354         * math/libm-test.inc (cosh_test): Add more tests.
69356         * version.h (RELEASE): Set to "development".
69357         (VERSION): Set to "2.16.90".
69359 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69361         * NEWS: Update copyright. Remove last-updated date.
69362         Mention math library bug fixes and timezone data changes.
69363         * README: Mention GNU/Hurd, x32, and HPPA support status.
69365 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69367         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69369 2012-06-27  Andreas Jaeger  <aj@suse.de>
69371         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69373 2012-06-25  Andreas Jaeger  <aj@suse.de>
69375         * sysdeps/s390/fpu/libm-test-ulps: Update.
69377 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69378             Thomas Schwinge  <thomas@codesourcery.com>
69380         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69381         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69382         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69383         fanotify_mark.
69385 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69387         * sysdeps/mach/start.c: Remove file.
69388         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69389         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69390         * sysdeps/sh/init-first.c: Likewise.
69392         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69393         registers for frame unwinding purposes, add CFI directives.
69394         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69395         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69396         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69397         Likewise.
69399         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69400         __fortify_fail returning.
69401         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69403         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69404         sysdeps/sh/____longjmp_chk.S.
69405         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69406         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69407         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69408         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69410         * sysdeps/sh/abort-instr.h: New file.
69411         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69412         process in case exit returns.
69414         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69415         initialize the GOT register before use.
69417         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69418         calculation of ARGC > 4.
69420         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69421         meaningful names to some local labels.
69423 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69424             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69426         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69427         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69428         (__arch_compare_and_exchange_val_16_acq): Likewise.
69429         (__arch_compare_and_exchange_val_32_acq): Likewise.
69430         (atomic_exchange_and_add): Fix gUSA sequence.
69431         (atomic_add): Likewise.
69432         (atomic_add_negative): Likewise.
69433         (atomic_add_zero): Likewise.
69434         (atomic_bit_test_set): Likewise.
69436 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69438         [BZ #13579]
69439         * include/link.h (struct link_map): Add l_free_initfini.
69440         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69441         l_initfini.
69442         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69443         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69444         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69445         set.
69447 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69449         * configure.in: Use AC_LANG_SOURCE.
69450         * configure: Regenerate.
69452 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69454         * configure.in (libc_cv_localstatedir): New substituted variable.
69455         * configure: Regenerated.
69456         * config.make.in (localstatedir): New variable, substituted from
69457         libc_cv_localstatedir.
69458         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69459         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69460         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69461         * sysdeps/gnu/configure: Regenerated.
69463 2012-06-21  Jeff Law  <law@redhat.com>
69465         [BZ #14277]
69466         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69467         free.  Simplify list management for _LIBC case.
69469 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69471         [BZ #14273]
69472         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69473         Clear sign bit of 64-bit integer value before comparing against
69474         overflow value.
69476         * sysdeps/mach/configure: Regenerated.
69478 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69480         [BZ #14278]
69481         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69483 2012-06-21  Jeff Law  <law@redhat.com>
69485         [BZ #13882]
69486         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69487         uint16_t for elements in the "seen" array to avoid char overflows.
69488         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69489         * elf/dl-open.c (dl_open_worker): Likewise.
69491 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69493         * scripts/list-sources.sh: Scan PORTS for translations.
69494         * po/libc.pot: Regenerated.
69496 2012-06-21  Andreas Jaeger  <aj@suse.de>
69498         [BZ #12194]
69499         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69500         warning.
69501         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69502         * bits/byteswap-16.h (__bswap_16): Likewise.
69503         * bits/byteswap.h (__bswap_constant_16): Likewise.
69505 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69507         [BZ #14117]
69508         * sysdeps/i386/fpu_control.h: Removed.
69509         * sysdeps/x86_64/fpu_control.h: Moved to ...
69510         * sysdeps/x86/fpu_control.h: Here.
69512         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69513         (_FPU_SETCW): Likewise.
69515 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69517         [BZ #14117]
69518         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69519         * sysdeps/x86/fpu/bits/mathinline.h: This.
69520         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69522         [BZ #14050]
69523         [BZ #14117]
69524         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69525         functions if __x86_64__ is defined.
69527 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69529         * string/endian.h: Add !__ASSEMBLER__ condition for including
69530         conversion interfaces.
69532 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69534         [BZ #14241]
69535         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69536         of ABS(x) in calculating zero to negative powers other than odd
69537         integers.
69538         * math/libm-test.inc (pow_test): Add more tests.
69540 2012-06-15  Andreas Jaeger  <aj@suse.de>
69542         * manual/contrib.texi (Contributors): Update entry of Liubov
69543         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69544         Machado Filho.
69546 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69548         * string/string.h: Add __wur to GNU version of strerror_r.
69550 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69552         [BZ #14229]
69553         * string/Makefile (tests): Add tst-strtok_r.
69554         * string/tst-strtok_r.c: New file.
69555         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69556         RAX_LP/RDX_LP on SAVE_PTR.
69558 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69560         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69562 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69564         * libm_test.inc (csqrt_test): Allow more spurious underflow
69565         exceptions.
69566         (j0_test): Likewise.
69567         (j1_test): Likewise.
69568         (y0_test): Likewise.
69569         (y1_test): Likewise.
69571 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69573         * po/Makefile (libc.pot): Use UTF-8 charset.
69575 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69577         [BZ #14210]
69578         Suppress sign-conversion warning from FD_SET.
69579         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69580         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69581         not unsigned long int.
69582         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69584 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69586         [BZ #14050]
69587         [BZ #14117]
69588         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69589         __extern_always_inline instead of __extern_inline.
69590         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69591         (__signbit): Likewise.
69592         (__signbitl): Support C++ namespace.
69593         (lrintf): New inline function.
69594         (lrint): Likewise.
69595         (llrintf): Likewise.
69596         (llrint): Likewise.
69597         (fmaxf): Likewise.
69598         (fmax): Likewise.
69599         (fminf): Likewise.
69600         (fmin): Likewise.
69601         (rint): Likewise.
69602         (rintf): Likewise.
69603         (ceil): Likewise.
69604         (ceilf): Likewise.
69605         (floor): Likewise.
69606         (floorf): Likewise.
69607         (nearbyint): Likewise.
69608         (nearbyintf): Likewise.
69610 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69613         non-default versions.
69615 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69617         [BZ #14218]
69618         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69620 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69622         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69623         (FE_UPWARD, FE_DOWNWARD): Don't define.
69624         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69625         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69627         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69628         reading it.
69629         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69630         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69632 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69634         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69635         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69636         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69637         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69639 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69641         [BZ #14117]
69642         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69643         * sysdeps/i386/fpu/Implies: New file.
69644         * sysdeps/x86_64/fpu/Implies: Likewise.
69645         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69646         * sysdeps/x86/fpu/bits/fenv.h: This.
69648         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69649         __SSE_MATH__.
69651 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69653         [BZ #14134]
69654         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69655         character 0xffff that matches the last element of the
69656         conversion table.
69658 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69660         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69661         fmodl commit.
69663 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69665         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69666         values higher than 25.6283.
69668 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69670         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69671         subnormal exponent extraction and add some __builtin_expect.
69672         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69673         Fix for subnormal mantissa calculation.
69675 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69677         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69678         cpu2 is -1 and errno is not ENOSYS.
69680 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69682         [BZ #14117]
69683         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69684         * sysdeps/x86/bits/string.h: This.
69685         * sysdeps/x86_64/bits/string.h: Removed.
69687         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69688         if not compiling for x86-64, but compiling for >= i486.
69690         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69691         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69693         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69694         New macro from Linux kernel 3.4.0.
69695         (FP_XSTATE_MAGIC2): Likewise.
69696         (FP_XSTATE_MAGIC2_SIZE): Likewise.
69697         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69698         (struct _fpx_sw_bytes): New struct.
69699         (struct _xsave_hdr): Likewise.
69700         (struct _ymmh_state): Likewise.
69701         (struct _xstate): Likewise.
69703         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69704         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69705         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69706         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69707         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69708         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69710         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69711         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69712         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69713         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69714         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69715         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69717 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
69719         [BZ #13743]
69720         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69721         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69722         (sysdep_headers): Include sys/platform/ppc.h.
69723         * sysdeps/powerpc/test-gettimebase.c: Test for
69724         __ppc_get_timebase() to catch future ISA opcode/insn changes.
69725         * manual/Makefile (appendices): Include platform.texi.
69726         * manual/contrib.texi (Contributors): Update @node pointers.
69727         * manual/maint.texi (Maintenance): Likewise.
69728         (Platform): New node.
69729         * manual/platform.texi: New file.  Document the new features.
69731 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69732             Jakub Jelinek  <jakub@redhat.com>
69734         [BZ #14188]
69735         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69736         where __builtin_expect is unavailable.
69738 2012-06-03  David S. Miller  <davem@davemloft.net>
69740         * stdlib/longlong.h: Updated from GCC.
69742 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
69744         [BZ #14042]
69745         * sysdeps/powerpc/powerpc32/mcount.c: New file.
69746         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69747         __mcount_internal.
69748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69749         (GLIBC_2.16): Likewise.
69751 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69753         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69755 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69758         (default-abi): New variable.
69759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69760         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69761         variable.
69762         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69763         Likewise.
69764         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69765         Likewise.
69766         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69767         Likewise.
69769         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
69770         definition.  Document in comment.
69772 2012-06-01  David S. Miller  <davem@davemloft.net>
69774         * stdlib/longlong.h: Updated from GCC.
69776 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69778         [BZ #14117]
69779         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
69780         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
69781         sys/debugreg.h sys/io.h here.
69782         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
69783         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
69784         sys/io.h.
69785         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
69786         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
69787         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
69788         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
69789         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
69790         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
69792         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
69793         Define only if __x86_64__ is defined.
69795 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
69797         [BZ #14048]
69798         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
69799         Use int64_t for variable i.
69800         * math/libm-test.inc (fmod_test): Add more tests.
69802         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
69803         z computation is not scheduled after fetestexcept.
69804         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
69805         Use math_force_eval instead of asm to ensure calculation scheduled
69806         before exception test.
69807         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
69808         Ensure a1 + u.d computation is not scheduled after fetestexcept.
69810 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
69812         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
69813         computation is not scheduled after fetestexcept.
69815 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
69817         [BZ #14117]
69818         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
69819         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
69821 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69823         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
69824         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
69826 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69828         [BZ #14117]
69829         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
69830         <bits/wordsize.h>.
69831         (__WCHAR_MIN): Support __WORDSIZE == 64.
69832         (__WCHAR_MAX): Likewise.
69834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
69835         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
69837         [BZ #14183]
69838         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
69839         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
69841         [BZ #14117]
69842         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
69843         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
69845         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
69846         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
69848         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
69849         Defined to 1 if __x86_64__ isn't defined.
69850         (_STAT_VER_LINUX_OLD): New.
69851         (st_atime): Remove duplicate.
69852         (st_mtime): Likewise.
69853         (st_ctime): Likewise.
69855 2012-05-31  David S. Miller  <davem@davemloft.net>
69857         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
69858         entries.
69860 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
69862         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
69863         gen-libm-test.pl.
69865         [BZ #14132]
69866         * elf/dl-reloc.c: Include <_itoa.h>.
69867         (_dl_reloc_bad_type): Remove use of INTUSE.
69868         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
69869         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
69870         * stdio-common/psiginfo.c (psiginfo): Likewise.
69871         * stdio-common/psignal.c (psignal): Likewise.
69872         * string/strsignal.c (strsignal): Likewise.
69873         * include/signal.h (_sys_siglist): Declare hidden proto.
69874         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
69875         INTVARDEF with libc_hidden_data_def.
69876         * stdio-common/itoa-udigits.c: Likewise.
69877         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
69878         (_itoa_lower_digits_internal): Remove declaration.
69879         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
69880         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
69881         (_sys_sigabbrev_internal): Remove aliases.
69882         (_sys_siglist): Define hidden alias.
69884 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
69886         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69887         bits/sysctl.h.
69889 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
69891         [BZ #14117]
69892         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
69893         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
69895         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
69896         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
69897         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
69898         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
69899         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
69900         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
69902         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
69903         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
69904         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
69906         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
69907         with __addr.
69908         (insw): Likewise.
69909         (insl): Likewise.
69910         (outsb): Likewise.
69911         (outsw): Likewise.
69912         (outsl): Likewise.
69914         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
69915         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
69916         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
69918         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
69919         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
69920         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
69921         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
69922         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
69923         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
69925         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
69926         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
69928         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
69929         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
69931         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
69932         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
69933         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
69935         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
69936         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
69937         to ...
69938         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
69940         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
69941         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
69942         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
69944         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
69945         for x86-64.
69946         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
69948 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
69950         * math/math.h (M_El): Use two more decimal places.
69951         (M_LOG2El): Likewise.
69952         (M_LOG10El): Likewise.
69953         (M_LN2l): Likewise.
69954         (M_LN10l): Likewise.
69955         (M_PIl): Likewise.
69956         (M_PI_2l): Likewise.
69957         (M_PI_4l): Likewise.
69958         (M_1_PIl): Likewise.
69959         (M_2_PIl): Likewise.
69960         (M_2_SQRTPIl): Likewise.
69961         (M_SQRT2l): Likewise.
69962         (M_SQRT1_2l): Likewise.
69964 2012-05-31  David S. Miller  <davem@davemloft.net>
69966         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
69967         values between float registers.
69968         * sysdeps/sparc/sparc64/memset.S: Likewise.
69969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
69971 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
69973         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
69974         -D_FORTIFY_SOURCE=1.
69975         (CPPFLAGS-tst-longjmp_chk.c): Define.
69976         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
69977         (CPPFLAGS-tst-longjmp_chk2.c): Define.
69978         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
69979         CFLAGS-tst-wchar-h.c.
69981 2012-05-31  Marek Polacek  <polacek@redhat.com>
69983         [BZ #14132]
69984         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
69985         __endmntent_internal): Remove declaration.
69986         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
69987         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
69988         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
69990 2012-05-30  David S. Miller  <davem@davemloft.net>
69992         * sysdeps/sparc/sparc32/soft-fp/q_util.c
69993         (___Q_simulate_exceptions): Use real FP ops rather than writing
69994         into the %fsr.
69995         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
69996         Likewise.
69998 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70000         [BZ #14117]
70001         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70002         * sysdeps/x86/bits/xtitypes.h: This.
70004         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70005         * sysdeps/x86/bits/wordsize.h: This.
70007         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70008         * sysdeps/x86/bits/huge_vall.h: This.
70010         * sysdeps/i386/bits/select.h: Removed.
70011         * sysdeps/x86_64/bits/select.h: Renamed to ...
70012         * sysdeps/x86/bits/select.h: This.
70014         * sysdeps/i386/bits/setjmp.h: Removed.
70015         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70016         * sysdeps/x86/bits/setjmp.h: This.
70018         * sysdeps/i386/bits/mathdef.h: Removed.
70019         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70020         * sysdeps/x86/bits/mathdef.h: This.
70022 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
70024         [BZ #14132]
70025         * include/sys/socket.h (__connect_internal)
70026         (__libc_sa_len_internal): Remove declaration.
70027         (__connect, __libc_sa_len): Declare hidden_proto.
70028         (SA_LEN): Remove use of INTUSE.
70029         * socket/connect.c: Add libc_hidden_def.
70030         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70031         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70032         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70033         alias.
70034         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70035         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70036         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70037         of adding _internal alias.
70039 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70041         [BZ #14117]
70042         * sysdeps/i386/bits/link.h: Removed.
70043         * sysdeps/i386/bits/linkmap.h: Likewise.
70044         * sysdeps/x86_64/bits/link.h: Renamed to ...
70045         * sysdeps/x86/bits/link.h: This.
70046         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70047         * sysdeps/x86/bits/linkmap.h: This.
70049         * sysdeps/i386/bits/endian.h: Removed.
70050         * sysdeps/x86_64/bits/endian.h: Renamed to ...
70051         * sysdeps/x86/bits/endian.h: This.
70053         * sysdeps/i386/bits/byteswap.h: Removed.
70054         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70055         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70056         * sysdeps/x86/bits/byteswap.h: This.
70057         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70058         * sysdeps/x86/bits/byteswap-16.h: This.
70059         * sysdeps/i386/Implies: Add x86.
70060         * sysdeps/x86_64/Implies: Likewise.
70062 2012-05-30  David S. Miller  <davem@davemloft.net>
70064         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70065         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70066         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70067         (FP_TRAPPING_EXCEPTIONS): Define.
70068         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70069         (FP_TRAPPING_EXCEPTIONS): Define.
70070         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70071         subnormals only when inexact has been signalled or underflow
70072         exceptions are enabled.
70073         (_FP_PACK_CANONICAL): Likewise.
70075 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70077         [BZ #14183]
70078         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70079         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70081 2012-05-30  Richard Henderson  <rth@twiddle.net>
70083         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70084         with #ifndef NOT_IN_libc.
70086         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
70087         marked to avoid plt entry.
70089 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70091         [BZ #14112]
70092         * Makeconfig (default-abi): New macro.
70093         (abi-includes): Likewise.
70094         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
70095         $(abi-$(default-abi)-lib-soname) for soname if defined.
70096         ($(common-objpfx)gnu/lib-names.stmp): Generate from
70097         abi-variants.
70098         * Makefile (installed-stubs): Likewise.
70099         * include/stubs-biarch.h: Removed.
70100         * scripts/lib-names.awk: Only handle one library at a time.
70101         * scripts/soversions.awk: Remove WORDSIZE support.
70102         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70103         entries.
70104         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70105         Removed.
70106         (syscall-list-default-condition): Likewise.
70107         (syscall-list-default-condition): Likewise.
70108         (syscall-list-includes): Likewise.
70109         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70110         syscall-list-* with abi-*.  Handle undefined abi-variants.
70111         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70112         * sysdeps/unix/sysv/linux/i386/Implies: New file.
70113         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70114         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70115         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70116         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70117         Removed.
70118         (syscall-list-32-options): Likewise.
70119         (syscall-list-32-condition): Likewise.
70120         (syscall-list-64-options): Likewise.
70121         (syscall-list-64-condition): Likewise.
70122         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70123         macro.
70124         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70125         Renamed to ...
70126         (abi-*): This.
70127         (abi-64-ld-soname): New macro.
70128         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70129         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70130         Renamed to ...
70131         (abi-*): This.
70132         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70133         * sysdeps/x86_64/x32/shlib-versions: Likewise.
70135 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
70137         * sysdeps/unix/sysv/linux/kernel-features.h
70138         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70139         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70140         include <kernel-features.h>.
70141         [!__NR_ftruncate64]: Remove conditional code.
70142         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70143         [__NR_ftruncate64]: Make code unconditional.
70144         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70145         * sysdeps/unix/sysv/linux/truncate64.c: Do not
70146         include <kernel-features.h>.
70147         [!__NR_ftruncate64]: Remove conditional code.
70148         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70149         [__NR_ftruncate64]: Make code unconditional.
70150         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70152         include <kernel-features.h>.
70153         [!__NR_ftruncate64]: Remove conditional code.
70154         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70155         [__NR_ftruncate64]: Make code unconditional.
70156         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70158         include <kernel-features.h>.
70159         [!__NR_ftruncate64]: Remove conditional code.
70160         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70161         [__NR_ftruncate64]: Make code unconditional.
70162         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70164         * configure.in (libc_cv_fpie): Weaken to a compile test using
70165         LIBC_TRY_CC_OPTION.
70166         * configure: Regenerated.
70168 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70171         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70173         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70174         Refreshed.
70175         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70177         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70179         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70180         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70181         Refreshed.
70183 2012-05-27  David S. Miller  <davem@davemloft.net>
70185         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70186         (___Q_zero): New.
70187         (__Q_simulate_exceptions): Return void.  Change to simulate
70188         exceptions by writing into the %fsr.
70189         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70190         (__Qp_handle_exceptions): Likewise.
70191         (numbers): Delete.
70192         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70193         __Qp_handle_exceptions.
70194         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70195         __Qp_handle_exceptions.
70196         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70197         as unused and give dummy FP_RND_NEAREST initializer.
70198         (FP_INHIBIT_RESULTS): Define.
70199         (___Q_simulate_exceptions): Update declaration.
70200         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70201         formatting.
70202         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70203         as unused and give dummy FP_RND_NEAREST initializer.
70204         (__Qp_handle_exceptions): Update declaration.
70205         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70206         formatting.
70208 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
70210         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70211         the temporary FPU control word.
70212         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70213         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70214         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70215         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70216         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70217         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70218         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70219         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70220         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70221         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70222         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70224 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70226         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70227         fields.
70229 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70231         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70232         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70233         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70234         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70235         Likewise.
70236         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70237         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70238         Likewise.
70240 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70242         * po/h.po: Update from translation team.
70244 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70246         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70248         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70249         handling of denormals.
70250         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70251         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70252         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70253         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70254         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70255         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70256         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70257         Likewise.
70259 2012-05-26  Marek Polacek  <polacek@redhat.com>
70261         [BZ #14152]
70262         * math/libm-test.inc (fma_test): Don't always expect underflow
70263         exception.
70265 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70267         [BZ #12416]
70268         * elf/tst-execstack.c: Include stackinfo.h.
70269         (do_test): Adjust test case to ensure that pthread_getattr_np
70270         behaviour remains the same after marking stack executable.
70272 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70274         * sysdeps/unix/sysv/linux/kernel-features.h
70275         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70276         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70277         kernel-features.h.
70278         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70279         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70280         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70281         kernel-features.h.
70282         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70283         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70285 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70287         * configure.in: Define the default includes to being none.
70288         * configure: Regenerated.
70290 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70292         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70293         * sysdeps/x86_64/setjmp.S: Likewise.
70294         * sysdeps/i386/bsd-setjmp.S: Likewise.
70295         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70296         * sysdeps/i386/setjmp.S: Likewise.
70297         * sysdeps/i386/__longjmp.S: Likewise.
70298         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70299         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70301         * include/stap-probe.h: New file.
70302         * configure.in: Handle --enable-systemtap.
70303         * configure: Regenerated.
70304         * config.h.in (USE_STAP_PROBE): New #undef.
70305         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70306         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70307         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70309 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70311         [BZ #13717]
70312         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70313         to 2.4.0 where earlier.
70314         * sysdeps/unix/sysv/linux/configure: Regenerated.
70315         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70316         <kernel-features.h>.
70317         [__ASSUME_32BITUIDS]: Make code unconditional.
70318         [!__ASSUME_32BITUIDS]: Remove conditional code.
70319         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70320         <kernel-features.h>.
70321         [__ASSUME_32BITUIDS]: Make code unconditional.
70322         [!__ASSUME_32BITUIDS]: Remove conditional code.
70323         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70324         [__ASSUME_32BITUIDS]: Make code unconditional.
70325         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70326         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70327         <kernel-features.h>.
70328         [__ASSUME_32BITUIDS]: Make code unconditional.
70329         [!__ASSUME_32BITUIDS]: Remove conditional code.
70330         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70331         <kernel-features.h>.
70332         [__ASSUME_32BITUIDS]: Make code unconditional.
70333         [!__ASSUME_32BITUIDS]: Remove conditional code.
70334         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70335         <kernel-features.h>.
70336         [__ASSUME_32BITUIDS]: Make code unconditional.
70337         [!__ASSUME_32BITUIDS]: Remove conditional code.
70338         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70339         <kernel-features.h>.
70340         [__ASSUME_32BITUIDS]: Make code unconditional.
70341         [!__ASSUME_32BITUIDS]: Remove conditional code.
70342         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70343         <kernel-features.h>.
70344         [__ASSUME_32BITUIDS]: Make code unconditional.
70345         [!__ASSUME_32BITUIDS]: Remove conditional code.
70346         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70347         <kernel-features.h>.
70348         [__ASSUME_32BITUIDS]: Make code unconditional.
70349         [!__ASSUME_32BITUIDS]: Remove conditional code.
70350         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70351         <kernel-features.h>.
70352         [__ASSUME_32BITUIDS]: Make code unconditional.
70353         [!__ASSUME_32BITUIDS]: Remove conditional code.
70354         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70355         <kernel-features.h>.
70356         [__ASSUME_32BITUIDS]: Make code unconditional.
70357         [!__ASSUME_32BITUIDS]: Remove conditional code.
70358         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70359         <kernel-features.h>.
70360         [__ASSUME_32BITUIDS]: Make code unconditional.
70361         [!__ASSUME_32BITUIDS]: Remove conditional code.
70362         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70363         <kernel-features.h>.
70364         [__ASSUME_32BITUIDS]: Make code unconditional.
70365         [!__ASSUME_32BITUIDS]: Remove conditional code.
70366         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70367         <kernel-features.h>.
70368         [__NR_setresgid] (__setresgid): Do not declare.
70369         [__ASSUME_32BITUIDS]: Make code unconditional.
70370         [!__ASSUME_32BITUIDS]: Remove conditional code.
70371         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70372         <kernel-features.h>.
70373         [__NR_setresuid] (__setresuid): Do not declare.
70374         [__ASSUME_32BITUIDS]: Make code unconditional.
70375         [!__ASSUME_32BITUIDS]: Remove conditional code.
70376         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70377         <kernel-features.h>.
70378         [__ASSUME_32BITUIDS]: Make code unconditional.
70379         [!__ASSUME_32BITUIDS]: Remove conditional code.
70380         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70381         <kernel-features.h>.
70382         [__ASSUME_32BITUIDS]: Make code unconditional.
70383         [!__ASSUME_32BITUIDS]: Remove conditional code.
70384         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70385         <kernel-features.h>.
70386         [__ASSUME_32BITUIDS]: Make code unconditional.
70387         [!__ASSUME_32BITUIDS]: Remove conditional code.
70388         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70389         <kernel-features.h>.
70390         [__ASSUME_32BITUIDS]: Make code unconditional.
70391         [!__ASSUME_32BITUIDS]: Remove conditional code.
70392         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70393         <kernel-features.h>.
70394         [__ASSUME_32BITUIDS]: Make code unconditional.
70395         [!__ASSUME_32BITUIDS]: Remove conditional code.
70396         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70397         <kernel-features.h>.
70398         [__ASSUME_32BITUIDS]: Make code unconditional.
70399         [!__ASSUME_32BITUIDS]: Remove conditional code.
70400         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70401         <kernel-features.h>.
70402         [__ASSUME_32BITUIDS]: Make code unconditional.
70403         [!__ASSUME_32BITUIDS]: Remove conditional code.
70404         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70405         <kernel-features.h>.
70406         [__ASSUME_32BITUIDS]: Make code unconditional.
70407         [!__ASSUME_32BITUIDS]: Remove conditional code.
70408         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70409         <kernel-features.h>.
70410         [__ASSUME_32BITUIDS]: Make code unconditional.
70411         [!__ASSUME_32BITUIDS]: Remove conditional code.
70412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70413         <kernel-features.h>.
70414         [__ASSUME_32BITUIDS]: Make code unconditional.
70415         [!__ASSUME_32BITUIDS]: Remove conditional code.
70416         * sysdeps/unix/sysv/linux/kernel-features.h
70417         (__ASSUME_SETRESUID_SYSCALL): Remove.
70418         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70419         (__ASSUME_32BITUIDS): Likewise.
70420         (__ASSUME_LDT_WORKS): Likewise.
70421         (__ASSUME_O_DIRECTORY): Likewise.
70422         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70423         architecture but not kernel version.
70424         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70425         (__ASSUME_MMAP2_SYSCALL): Likewise.
70426         (__ASSUME_STAT64_SYSCALL): Likewise.
70427         (__ASSUME_IPC64): Likewise.
70428         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70429         <kernel-features.h>.
70430         [__ASSUME_32BITUIDS]: Make code unconditional.
70431         [!__ASSUME_32BITUIDS]: Remove conditional code.
70432         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70433         <kernel-features.h>.
70434         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70435         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70436         132096]: Remove conditional code.
70437         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70438         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70439         <kernel-features.h>.
70440         [__ASSUME_32BITUIDS]: Make code unconditional.
70441         [!__ASSUME_32BITUIDS]: Remove conditional code.
70442         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70443         <kernel-features.h>.
70444         [__ASSUME_32BITUIDS]: Make code unconditional.
70445         [!__ASSUME_32BITUIDS]: Remove conditional code.
70446         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70447         <kernel-features.h>.
70448         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70449         unconditional.
70450         (__setresgid): Do not declare.
70451         [__ASSUME_32BITUIDS]: Make code unconditional.
70452         [!__ASSUME_32BITUIDS]: Remove conditional code.
70453         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70454         <kernel-features.h>.
70455         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70456         unconditional.
70457         (__setresuid): Do not declare.
70458         [__ASSUME_32BITUIDS]: Make code unconditional.
70459         [!__ASSUME_32BITUIDS]: Remove conditional code.
70460         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70461         <kernel-features.h>.
70462         [__ASSUME_32BITUIDS]: Make code unconditional.
70463         [!__ASSUME_32BITUIDS]: Remove conditional code.
70464         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70465         <kernel-features.h>.
70466         [__ASSUME_32BITUIDS]: Make code unconditional.
70467         [!__ASSUME_32BITUIDS]: Remove conditional code.
70469 2012-05-25  Richard Henderson  <rth@twiddle.net>
70471         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70472         dl_hwcap to ifunc resolver.
70473         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70474         elf_ifunc_invoke.
70475         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70476         dl_hwcap to ifunc resolver.
70477         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70479 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70481         [BZ #14153]
70482         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70483         for |x| <= 2**-26, not 2**-57.
70484         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70485         exception.
70487 2012-05-24  Jeff Law  <law@redhat.com>
70489         * stdio-common/Makefile (tests): Add bug25.
70490         * stdio-common/bug25.c: New test.
70492 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70494         [BZ #13576]
70495         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70496         multiple of MALLOC_ALIGNMENT in size.
70497         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70499 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70501         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70502         Require >= 256.
70503         (FILENAME_MAX): Use macro-int-constant.
70504         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70505         (_IOFBF): Use macro-int-constant.
70506         (_IOLBF): Likewise.
70507         (_IONBF): Likewise.
70508         (SEEK_CUR): Likewise.
70509         (SEEK_END): Likewise.
70510         (SEEK_SET): Likewise.
70511         (TMP_MAX): Likewise.
70512         (EOF): Use macro-int-constant.  Require < 0.
70513         (NULL): Use macro-constant.  Require == 0.
70514         (stdin): Require type to be FILE *.
70515         (stdout): Likewise.
70516         (stderr): Likewise.
70517         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70518         macro-int-constant.
70519         (EXIT_SUCCESS): Likewise.
70520         (NULL): Use macro-constant.  Require == 0.
70521         (RAND_MAX): Use macro-int-constant.
70522         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70523         [C99-based standards] (strtof): Require function.
70524         [C99-based standards] (strtold): Likewise.
70525         [C99-based standards] (strtoll): Likewise.
70526         [C99-based standards] (strtoull): Likewise.
70527         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70528         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70529         [ISO || ISO99 || ISO11] (math.h): Likewise.
70530         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70531         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70532         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70534 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70536         [BZ #14132]
70537         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70538         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70539         * intl/dgettext.c (DCGETTEXT): Likewise.
70540         * intl/gettext.c (DCGETTEXT): Likewise.
70541         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70542         * posix/regex_internal.h (gettext): Likewise.
70543         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70544         Remove declaration.
70545         * include/argz.h (__argz_count_internal)
70546         (__argz_stringify_internal): Remove declaration.
70547         (__argz_count, __argz_stringify): Declare hidden proto.
70548         * intl/dcgettext.c: Remove use of INTDEF.
70549         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70550         * string/argz-stringify.c: Likewise.
70551         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70552         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70553         Declare hidden proto.
70554         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70555         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70556         Declare hidden proto.
70557         * include/stdio.h (__asprintf_internal): Don't declare.
70558         (__asprintf): Don't define as macro.  Declare hidden proto.
70559         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70560         (__fsetlocking): Declare hidden proto.
70561         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70562         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70563         hidden proto.
70564         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70565         (_IO_setlinebuf): Remove use of INTUSE.
70566         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70567         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70568         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70569         Remove declaration.
70570         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70571         (_IO_do_flush): Remove use of INTUSE.
70572         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70573         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70574         (_IO_adjust_column, _IO_least_wmarker)
70575         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70576         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70577         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70578         (_IO_default_doallocate, _IO_wdefault_doallocate)
70579         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70580         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70581         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70582         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70583         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70584         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70585         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70586         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70587         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70588         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70589         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70590         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70591         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70592         proto.
70593         (_IO_flush_all_internal, _IO_adjust_column_internal)
70594         (_IO_default_uflow_internal, _IO_default_finish_internal)
70595         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70596         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70597         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70598         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70599         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70600         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70601         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70602         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70603         (_IO_file_close_internal, _IO_file_close_it_internal)
70604         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70605         (_IO_file_init_internal, _IO_file_attach_internal)
70606         (_IO_file_fopen_internal, _IO_file_read_internal)
70607         (_IO_file_sync_internal, _IO_file_seek_internal)
70608         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70609         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70610         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70611         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70612         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70613         (_IO_list_all_internal, _IO_link_in_internal)
70614         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70615         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70616         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70617         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70618         (_IO_do_write_internal, _IO_padn_internal)
70619         (_IO_getline_info_internal, _IO_getline_internal)
70620         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70621         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70622         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70623         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70624         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70625         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70626         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70627         with libc_hidden_ver, remove use of INTUSE.
70628         * libio/genops.c: Likewise.
70629         * libio/freopen.c: Likewise.
70630         * libio/freopen64.c: Likewise.
70631         * libio/iofclose.c: Likewise.
70632         * libio/iofdopen.c: Likewise.
70633         * libio/iofflush.c: Likewise.
70634         * libio/iofflush_u.c: Likewise.
70635         * libio/iofgets.c: Likewise.
70636         * libio/iofgets_u.c: Likewise.
70637         * libio/iofopen.c: Likewise.
70638         * libio/iofopncook.c: Likewise.
70639         * libio/iofread.c: Likewise.
70640         * libio/iofread_u.c: Likewise.
70641         * libio/ioftell.c: Likewise.
70642         * libio/iofwrite.c: Likewise.
70643         * libio/iogetline.c: Likewise.
70644         * libio/iogets.c: Likewise.
70645         * libio/iogetwline.c: Likewise.
70646         * libio/iopadn.c: Likewise.
70647         * libio/iopopen.c: Likewise.
70648         * libio/ioseekoff.c: Likewise.
70649         * libio/ioseekpos.c: Likewise.
70650         * libio/iosetbuffer.c: Likewise.
70651         * libio/iosetvbuf.c: Likewise.
70652         * libio/ioungetc.c: Likewise.
70653         * libio/ioungetwc.c: Likewise.
70654         * libio/iovdprintf.c: Likewise.
70655         * libio/iovsprintf.c: Likewise.
70656         * libio/iovsscanf.c: Likewise.
70657         * libio/memstream.c: Likewise.
70658         * libio/obprintf.c: Likewise.
70659         * libio/oldfileops.c: Likewise.
70660         * libio/oldiofclose.c: Likewise.
70661         * libio/oldiofdopen.c: Likewise.
70662         * libio/oldiofopen.c: Likewise.
70663         * libio/oldiopopen.c: Likewise.
70664         * libio/oldstdfiles.c: Likewise.
70665         * libio/putc.c: Likewise.
70666         * libio/setbuf.c: Likewise.
70667         * libio/setlinebuf.c: Likewise.
70668         * libio/stdfiles.c: Likewise.
70669         * libio/strops.c: Likewise.
70670         * libio/vasprintf.c: Likewise.
70671         * libio/vscanf.c: Likewise.
70672         * libio/vsnprintf.c: Likewise.
70673         * libio/vswprintf.c: Likewise.
70674         * libio/wfiledoalloc.c: Likewise.
70675         * libio/wfileops.c: Likewise.
70676         * libio/wgenops.c: Likewise.
70677         * libio/wmemstream.c: Likewise.
70678         * libio/wstrops.c: Likewise.
70679         * libio/__fpurge.c: Likewise.
70680         * libio/__fsetlocking.c: Likewise.
70681         * assert/assert.c: Likewise.
70682         * debug/fgets_chk.c: Likewise.
70683         * debug/fgets_u_chk.c: Likewise.
70684         * debug/fread_chk.c: Likewise.
70685         * debug/fread_u_chk.c: Likewise.
70686         * debug/gets_chk.c: Likewise.
70687         * debug/obprintf_chk.c: Likewise.
70688         * debug/vasprintf_chk.c: Likewise.
70689         * debug/vdprintf_chk.c: Likewise.
70690         * debug/vsnprintf_chk.c: Likewise.
70691         * debug/vsprintf_chk.c: Likewise.
70692         * malloc/mtrace.c: Likewise.
70693         * misc/error.c: Likewise.
70694         * misc/syslog.c: Likewise.
70695         * stdio-common/asprintf.c: Likewise.
70696         * stdio-common/fxprintf.c: Likewise.
70697         * stdio-common/getw.c: Likewise.
70698         * stdio-common/isoc99_fscanf.c: Likewise.
70699         * stdio-common/isoc99_scanf.c: Likewise.
70700         * stdio-common/isoc99_vfscanf.c: Likewise.
70701         * stdio-common/isoc99_vscanf.c: Likewise.
70702         * stdio-common/isoc99_vsscanf.c: Likewise.
70703         * stdio-common/printf-prs.c: Likewise.
70704         * stdio-common/printf_fp.c: Likewise.
70705         * stdio-common/printf_fphex.c: Likewise.
70706         * stdio-common/printf_size.c: Likewise.
70707         * stdio-common/putw.c: Likewise.
70708         * stdio-common/scanf.c: Likewise.
70709         * stdio-common/sprintf.c: Likewise.
70710         * stdio-common/tmpfile.c: Likewise.
70711         * stdio-common/vfprintf.c: Likewise.
70712         * stdio-common/vfscanf.c: Likewise.
70713         * stdlib/strfmon_l.c: Likewise.
70714         * sunrpc/openchild.c: Likewise.
70715         * sunrpc/xdr_stdio.c: Likewise.
70716         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70717         * sysdeps/mach/hurd/tmpfile.c: Likewise.
70719 2012-05-24  Roland McGrath  <roland@hack.frob.com>
70721         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70723         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70724         in the third column, to generate for the shared library an IFUNC
70725         that uses _dl_vdso_vsym.
70726         * Makerules (COMPILE.c, compile-stdin.c): New variables.
70727         * Makeconfig (object-suffixes-noshared): New variable.
70729         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70730         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70731         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70732         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70734         [BZ #14132]
70735         * include/sys/time.h (__gettimeofday): Remove macro.
70736         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70737         * time/gettimeofday.c (__gettimeofday): Remove #undef.
70738         Remove INTDEF.
70739         (__gettimeofday): Add libc_hidden_def.
70740         (gettimeofday): Add libc_hidden_weak.
70741         * sysdeps/mach/gettimeofday.c: Likewise.
70742         * sysdeps/posix/gettimeofday.c: Likewise.
70743         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70744         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70745         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70746         (__gettimeofday_internal): Remove strong_alias.
70747         (__gettimeofday): Add libc_hidden_def.
70748         (gettimeofday): Add libc_hidden_weak.
70749         * sysdeps/unix/syscalls.list (gettimeofday):
70750         Remove __gettimeofday_internal alias.
70752 2012-05-24  Daniel Jacobowitz  <drow@false.org>
70753             H.J. Lu  <hongjiu.lu@intel.com>
70755         [BZ #12495]
70756         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70757         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70758         (largebin_index_32_big): New.
70759         (largebin_index): Use it for 16-byte alignment.
70760         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
70761         correction with front_misalign.
70763 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70765         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70766         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70767         Likewise.
70768         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
70769         Likewise.
70770         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70771         Likewise.
70772         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
70773         Likewise.
70774         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
70775         Likewise.
70776         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
70777         Likewise.
70778         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
70779         Likewise.
70780         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
70781         Likewise.
70782         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
70783         Likewise.
70784         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
70785         Likewise.
70786         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
70787         Likewise.
70788         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
70789         Likewise.
70791         * scripts/data/c++-types-x32-linux-gnu.data: New file.
70792         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
70794 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70796         [BZ #10846]
70797         [BZ #14036]
70798         * math/libm-test.inc (exp_test): Add test from bug 14036.
70799         (pow_test): Add test from bug 10846.
70801         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
70802         and other flags.
70803         (special_function): Do not include flags in test name.
70804         (parse_args): Likewise.
70805         * sysdeps/i386/fpu/libm-test-ulps: Update.
70806         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70807         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
70808         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
70809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70811         * math/gen-libm-test.pl (%beautify): Add entries for underflow
70812         exceptions.
70813         * math/libm-test.inc ("Philosophy"): Update comment about
70814         exception testing.
70815         (UNDERFLOW_EXCEPTION): New macro.
70816         (UNDERFLOW_EXCEPTION_OK): Likewise.
70817         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
70818         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
70819         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
70820         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
70821         (INVALID_EXCEPTION_OK): Update value.
70822         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
70823         (OVERFLOW_EXCEPTION_OK): Likewise.
70824         (IGNORE_ZERO_INF_SIGN): Likewise.
70825         (test_exceptions): Handle underflow exceptions.
70826         (acos_test): Update for underflow exception expectations.
70827         (cexp_test): Likewise.
70828         (clog_test): Likewise.
70829         (clog10_test): Likewise.
70830         (csqrt_test): Likewise.
70831         (ctan_test): Likewise.
70832         (ctanh_test): Likewise.
70833         (exp_test): Likewise.
70834         (exp10_test): Likewise.
70835         (exp2_test): Likewise.
70836         (expm1_test): Likewise.
70837         (fma_test): Likewise.
70838         (j0_test): Likewise.
70839         (jn_test): Likewise.
70840         (nexttoward_test): Likewise.
70841         (pow_test): Likewise.
70842         (scalbn_test): Likewise.
70843         (scalbln_test): Likewise.
70844         (tan_test): Likewise.
70845         (y1_test): Likewise.
70846         * sysdeps/i386/fpu/libm-test-ulps: Update.
70847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70849 2012-05-23  David S. Miller  <davem@davemloft.net>
70851         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
70852         (__libc_sigaction): Remove unused local variables.
70854 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70856         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
70858 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
70860         mktime: avoid signed integer overflow
70861         * time/mktime.c (__mktime_internal): Do not mishandle the case
70862         where diff == INT_MIN.
70864         mktime: simplify computation of average
70865         * time/mktime.c (ranged_convert): Use new time_t_avg function
70866         instead of rolling our own (probably-slower) code.
70868         mktime: do not assume signed right shift propagates sign bit
70869         * time/mktime.c (isdst_differ): New static function.
70870         (__mktime_internal): No need to normalize tm_isdst now.
70871         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
70872         tm_isdst values.
70874         mktime: merge another wrapv change from gnulib
70875         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
70876         from some compilers.
70878         mktime: remove incorrect attempt at unusual arithmetics
70879         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
70880         The code didn't really work on such machines anyway.
70881         (TYPE_MINIMUM): Assume two's complement.
70882         (twos_complement_arithmetic): Verify that long_int and time_t
70883         are two's complement (or unsigned, in the latter case).
70885         mktime: check signed shifts on long_int and time_t, too
70886         * time/mktime.c (SHR): Check that shifts work as desired
70887         on the types long_int and time_t too, as SHR is used on
70888         such types.
70890         mktime: do not assume 'long' is wide enough
70891         * time/mktime.c (verify): Move decl up.
70892         (long_int): New type.
70893         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
70894         to remove assumption in the code that 'long' is wide enough to
70895         store year values.  This assumption is not true on x32 and on
70896         some non-glibc platforms.
70898         mktime: merge wrapv change from gnulib
70899         * time/mktime.c (WRAPV): New macro.
70900         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
70901         (guess_time_tm, __mktime_internal): Do not assume that signed
70902         integer overflow wraps around; modern compilers generate code
70903         where this assumption is no longer valid.
70905 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70907         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
70908         Replace "jmp L(pseudo_end)" with "ret".
70909         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
70910         Likewise.
70912 2012-05-23  Andreas Jaeger  <aj@suse.de>
70914         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
70915         * sysdeps/unix/sysv/linux/poll.c: Remove file.
70917 2012-05-23  Andreas Jaeger  <aj@suse.de>
70918             Maximilian Attems  <max@stro.at>
70920         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
70921         New macros.
70923 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
70925         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
70926         code so that pseudo_end is just ret and the stack pointer is
70927         correct also for static library in error case.
70929 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
70931         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
70932         move to syscalls.list.
70933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
70934         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
70935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
70936         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
70938         * manual/install.texi (Running make install): Do not mention Linux
70939         kernel version for which pt_chown is not needed.
70940         (Linux): Do not mention problems with nscd with 2.0 kernels.
70941         * INSTALL: Regenerated.
70943 2012-05-23  Andreas Jaeger  <aj@suse.de>
70945         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
70946         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
70947         macro.
70948         * sysdeps/unix/sysv/linux/s390/bits/mman.h
70949         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70950         * sysdeps/unix/sysv/linux/sh/bits/mman.h
70951         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70952         * sysdeps/unix/sysv/linux/i386/bits/mman.h
70953         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70954         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
70955         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70956         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
70957         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
70958         * sysdeps/unix/sysv/linux/bits/in.h
70959         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
70961 2012-05-22  Roland McGrath  <roland@hack.frob.com>
70963         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
70964         (PREPARE_VERSION): Just use assert instead, it will be elided
70965         under [NDEBUG] anyway.
70967 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70969         * sysdeps/unix/sysv/linux/Makefile: Include
70970         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
70971         (sysdep_routines): Remove sysctl.
70972         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
70973         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
70974         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
70975         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
70976         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
70978 2012-05-22  Andreas Jaeger  <aj@suse.de>
70980         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
70981         that pseudo_end is just ret and the stack pointer is correct also
70982         for static library in error case.
70984 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
70986         [BZ #14122]
70987         * nss/nsswitch.c (defconfig_entries): New variable.
70988         (__nss_database_lookup): Don't leak defconfig entries.
70989         (nss_parse_service_list): Don't leak on error paths.
70990         (free_database_entries): New function.
70991         (free_defconfig): New function.
70992         (free_mem): Move common code to free_database_entries.
70994 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
70996         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
70997         Add arch_prctl.
70998         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71000         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71001         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71002         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71003         New macro.
71004         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71005         (INTERNAL_SYSCALL_TYPES): Likewise.
71006         (LOAD_ARGS_TYPES_[1-6]): Likewise.
71007         (LOAD_REGS_TYPES_[1-6]): Likewise.
71008         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71009         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71011 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71013         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71014         copysignl for GLIBC_2_0.
71015         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71016         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71018         logbl for GLIBC_2_0.
71019         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71020         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71022 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71024         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71025         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71027         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71028         Use "neg %eax".
71030         * time/mktime.c: Update copyright years.
71032 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
71034         mktime: merge comment-quoting-style change from gnulib
71035         * time/mktime.c: Quote 'like this' in comments.
71036         The GNU coding standards suggest that we no longer quote `like this',
71037         as "`" and "'" are typically rendered asymmetrically nowadays.
71038         The typical gnulib style is to quote 'like this' when quoting
71039         code, and "like this" when quoting English.
71041         * time/mktime.c (compile-command): Add "-I.".
71043         mktime: merge mktime-internal.h change from gnulib
71044         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71046         mktime: merge time_r change from gnulib
71047         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71049         mktime: merge DEBUG change from gnulib
71050         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71051         case system <time.h> has a #define.
71053         mktime: merge <sys/types.h> change from gnulib
71054         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71055         since <time.t> is now guaranteed to define time_t.
71057         mktime: merge HAVE_CONFIG_H change from gnulib
71058         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71060 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71062         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71063         Use "neg %eax".
71065         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71066         __rlim_t cast.
71067         (struct rusage): Use anonymous union to pad each field to
71068         __syscall_slong_t.
71070 2012-05-21  David S. Miller  <davem@davemloft.net>
71072         * Makefules (o-iterator): Remove .s cases.
71073         (compile-command.s): Delete.
71074         (COMPILE.s): Delete.
71075         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71077 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
71079         * configure.in (libc_cv_predef_stack_protector): Only consider
71080         "foobar" and "__stack_chk_fail" lines in libc_undefs.
71081         * configure: Regenerated.
71083 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71085         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71086         New macro.  Use R*LP on int and pointer.
71087         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71088         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71089         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71090         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71092         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71093         [__WORDSIZE_TIME64_COMPAT32] instead of
71094         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71095         (struct utmp): Likewise.
71096         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71097         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71098         Renamed to ...
71099         (__WORDSIZE_TIME64_COMPAT32): This.
71100         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71101         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71102         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71103         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71104         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71105         (__WORDSIZE_TIME64_COMPAT32): New macro.
71107 2012-05-21  Andreas Jaeger  <aj@suse.de>
71109         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71110         only if [SHARED]. Add prototype for __wcschr_ia32.
71112 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71114         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71115         of %rbp unmolested in the jmp_buf while mangling the low bits.
71116         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71117         unmolested high bits of %rbp while demangling the low bits.
71118         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71120 2012-05-21  Andreas Jaeger  <aj@suse.de>
71122         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71123         * sunrpc/svc_simple.c: Use it for registerrpc.
71124         * sunrpc/xcrypt.c: Use it for passwd2des.
71126         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71128 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71130         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71131         Don't define if [__SYSCALL_WORDSIZE != 32].
71132         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71133         New macro.
71135 2012-05-21  Bruno Haible  <bruno@clisp.org>
71136             Andreas Jaeger  <aj@suse.de>
71138         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71139         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71140         inptr and inend for must_buffer_ch.
71141         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71142         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71143         * stdio-common/Makefile (tests): Remove bug15.
71144         (bug15-ENV): Remove macro.
71145         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71146         anymore.
71148 2012-05-19  Andreas Jaeger  <aj@suse.de>
71149             Roland McGrath  <roland@hack.frob.com>
71151         * manual/contrib.texi: Completely rewritten. It contains now an
71152         alphabetical list of contributors and their contributions.
71154 2012-05-21  Richard Henderson  <rth@twiddle.net>
71156         * misc/getauxval.c (__getauxval): Use unsigned long int.
71157         * misc/sys/auxv.h: Include <sys/cdefs.h>.
71158         (getauxval): Use unsigned long int.
71160 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71162         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71164 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71166         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71167         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71168         __alignof__ (long double).
71170 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71174 2012-05-20  Richard Henderson  <rth@twiddle.net>
71176         * misc/getauxval.c: New file.
71177         * misc/sys/auxv.h: New file.
71178         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71179         (routines): Add getauxval.
71180         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71181         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71182         * elf/dl-sysdep.c (_dl_auxv): Remove.
71183         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71184         * elf/dl-support.c (_dl_auxv): New variable.
71185         (_dl_aux_init): Initialize it.
71186         * manual/startup.texi (Auxiliary Vector): New node.
71187         * sysdeps/generic/bits/hwcap.h: New file.
71188         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71189         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
71190         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71191         * sysdeps/sparc/sysdep.h: ... here.  Include it.
71192         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71193         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71195         Update.
71196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71198         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71199         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71203         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71205 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71209 2012-05-19  David S. Miller  <davem@davemloft.net>
71211         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71213 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71215         [BZ #14123]
71216         * math/s_ccosh.c: Include <float.h>
71217         (__ccosh): Avoid internal overflow calculating sinh and cosh
71218         values before multiplying by sin and cos values.
71219         * math/s_ccoshf.c: Likewise.
71220         * math/s_ccoshl.c: Likewise.
71221         * math/s_csin.c: Likewise.
71222         * math/s_csinf.c: Likewise.
71223         * math/s_csinl.c: Likewise.
71224         * math/s_csinh.c: Likewise.
71225         * math/s_csinhf.c: Likewise.
71226         * math/s_csinhl.c: Likewise.
71227         * math/libm-test.inc (ccos_test): Add more tests.
71228         (ccosh_test): Likewise.
71229         (csin_test): Likewise.
71230         (csinh_test): Likewise.
71231         * sysdeps/i386/fpu/libm-test-ulps: Update.
71232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71234 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71236         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71237         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71239         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71241 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71243         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71244         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71245         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71246         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71247         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71248         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71249         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71250         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71251         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71252         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71253         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71254         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71255         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71256         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71257         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71258         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71259         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71260         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71261         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71262         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71263         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71264         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71265         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71266         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71267         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71268         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71269         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71270         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71271         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71272         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71273         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71275 2012-05-18  Andreas Jaeger  <aj@suse.de>
71277         * csu/.gitignore: Delete.
71279 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71281         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71282         (timex): Use __syscall_slong_t.
71284 2012-05-18  Andreas Jaeger  <aj@suse.de>
71285             Carlos O'Donell  <carlos_odonell@mentor.com>
71287         * manual/install.texi (Configuring and compiling): Update
71288         description about files modified in the source directory.
71289         * INSTALL: Regenerated.
71291 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71293         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71294         value.  Use "or" to set return value to -1.
71295         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71296         negate return value.
71298 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71300         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71301         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71302         failure if the compiler has Graphite support disabled.
71303         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71304         Likewise.
71305         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71306         (CFLAGS-memmove.c): Likewise.
71307         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71308         Likewise.
71310 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71312         * sysdeps/x86_64/x32/_itoa.h: New file.
71314         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71315         getdents system call only if kernel and user dirents have the
71316         same d_ino and d_off.
71318         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71319         LLONG_MAX != LONG_MAX.
71320         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71321         (_fitoa_word): Likewise.
71323         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71324         years.
71325         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71326         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71327         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71329         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71330         include <bits/wordsize.h>.  Check __x86_64__ instead of
71331         __WORDSIZE.
71332         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71333         if __x86_64__ is defined.  Use anonymous union on fpstate.
71335         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71336         anonymous union.
71338 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71340         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71341         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71342         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71343         Refer to _rtld_local_ro instead of _rtld_global_ro.
71344         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71345         Likewise.
71346         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71347         Likewise.
71348         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71349         Likewise.
71350         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71351         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71352         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71354         [BZ #10882]
71355         * sysdeps/powerpc/powerpc32/dl-machine.c
71356         (__elf_machine_runtime_setup) [PROF]: Don't reference
71357         _dl_prof_resolve.
71359 2012-05-18  Andreas Jaeger  <aj@suse.de>
71361         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71362         function only available for GCCs before 3.4 since GCC 3.4
71363         introduced a builtin.
71364         (lrint): Likewise.
71365         (llrintf): Likewise.
71366         (llrint): Likewise.
71367         (fmaxf): Likewise.
71368         (fmax): Likewise.
71369         (fminf): Likewise.
71370         (fmin): Likewise.
71371         (rint): Likewise.
71372         (rintf): Likewise.
71373         (nearbyint): Likewise.
71374         (nearbyintf): Likewise.
71375         (ceil): Likewise.
71376         (ceilf): Likewise.
71377         (floor): Likewise.
71378         (floorf): Likewise.
71380 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71382         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71383         on both fields and cast pointer to __syscall_ulong_t.
71385         * bits/types.h (__fsword_t): New type.
71386         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71387         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71388         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71389         (__FSWORD_T_TYPE): Likewise.
71390         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71391         (__FSWORD_T_TYPE): Likewise.
71392         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71393         (__FSWORD_T_TYPE): Likewise.
71394         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71395         (__FSWORD_T_TYPE): Likewise.
71396         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71397         __SWORD_TYPE with __fsword_t.
71398         (statfs64): Likewise.
71400 2012-05-17  David S. Miller  <davem@davemloft.net>
71402         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71404 2012-05-17  Andreas Jaeger  <aj@suse.de>
71406         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71407         warning.
71409 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71411         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71413 2012-05-17  Andreas Jaeger  <aj@suse.de>
71415         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71416         when it is used.
71418 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71420         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71422 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71424         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71425         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71427 2012-05-17  Andreas Jaeger  <aj@suse.de>
71428             Carlos O'Donell  <carlos_odonell@mentor.com>
71430         [BZ #14059]
71431         * sysdeps/x86_64/multiarch/init-arch.h
71432         (bit_YMM_Usable): Rename to...
71433         (bit_AVX_Usable): ... this.
71434         (bit_FMA4_Usable): New macro.
71435         (bit_XMM_state): New macro.
71436         (bit_YMM_state): New macro.
71437         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71438         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71439         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71440         (CPUID_OSXSAVE): New macro.
71441         (CPUID_AVX): New macro.
71442         (CPUID_FMA4): New macro.
71443         (index_YMM_Usable): Rename to...
71444         (index_AVX_Usable): ... this.
71445         (HAS_AVX): Use HAS_ARCH_FEATURE.
71446         (HAS_FMA4): Likewise.
71447         (HAS_YMM_USABLE): Remove.
71448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71449         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71450         are present.
71451         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71452         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71453         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71454         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71455         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71457 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71459         * math/libm-test.c: Support platforms without multiple rounding modes.
71460         * math/bug-nextafter.c: Support platforms without FP exceptions.
71461         * math/bug-nexttoward.c: Likewise.
71462         * math/test-fenv.c: Likewise.
71463         * math/test-misc.c: Likewise.
71464         * stdlib/bug-getcontext.c: Likewise.
71466 2012-05-17  Andreas Jaeger  <aj@suse.de>
71468         * manual/examples/search.c (critter_cmp): Change signature to
71469         avoid warnings.
71470         * manual/string.texi (Collation Functions): Likewise.
71472 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71474         * bits/types.h: Fold copyright years.
71475         * bits/typesizes.h: Likewise.
71476         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71477         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71478         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71479         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71480         * time/time.h: Likewise.
71482 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71484         [BZ #208]
71485         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71486         in instead of returning them.  Return void.
71487         (__libc_mallinfo): Accumulate over all arenas.
71488         (__malloc_stats): Adjust for change in int_mallinfo interface.
71490 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71492         [BZ #10375]
71493         * configure.in (NM): Add AC_CHECK_TOOL for it.
71494         (libc_extra_cflags): New substituted variable.
71495         Check for -fstack-protector being used implicitly.
71496         * configure: Regenerated.
71497         * config.make.in (config-extra-cflags): New variable,
71498         gets @libc_extra_cflags@.
71499         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71501         [BZ #10375]
71502         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71503         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71504         * configure: Regenerated.
71505         * config.make.in (CPPUNDEFS): New substituted variable.
71506         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71507         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71508         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71510 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71512         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71513         (mq_attr): Use __syscall_slong_t.
71515 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71517         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71518         Check __x86_64__ instead of __WORDSIZE.
71519         (_STAT_VER_LINUX): Likewise.
71520         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71521         __syscall_ulong_t and __syscall_slong_t.
71522         (stat64): Likewise.
71524 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71526         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71528 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71530         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71532 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71534         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71535         __syscall_ulong_t.
71537         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71538         include <bits/wordsize.h>.  Check __x86_64__ instead of
71539         __WORDSIZE.
71540         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71541         defined.
71542         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71544         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71545         include <bits/wordsize.h>.  Check __x86_64__ instead of
71546         __WORDSIZE.
71547         (user_regs_struct): Use "__extension__ unsigned long long"
71548         instead of "unsigned long" if __x86_64__ is defined.
71549         (user): Likewise.  Pad after pointer field if __ILP32__ is
71550         defined.
71552 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71554         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71555         versions 5 to 9.
71556         * configure: Regenerated.
71557         * manual/install.texi (texinfo): Increase version requirement to
71558         4.5 or later.
71559         * INSTALL: Regenerated.
71561         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71563 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71565         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71567         * sysdeps/x86_64/x32/ffs.c: New file.
71569         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71570         __syscall_ulong_t.
71571         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71572         defined.  Use __syscall_ulong_t.
71573         (shminfo): Use __syscall_ulong_t.
71574         (shm_info): Likewise.
71576         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71577         __syscall_ulong_t.
71579         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71580         <bits/wordsize.h>.
71581         (msgqnum_t): Use __syscall_ulong_t.
71582         (msglen_t): Likewise.
71583         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71584         __syscall_ulong_t.
71586         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71587         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71589         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71591         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71592         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71594         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71595         __syscall_slong_t.
71597         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71598         include <bits/wordsize.h>.  Check __x86_64__ instead of
71599         __WORDSIZE.
71601         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71602         "unsigned long long int" if __x86_64__ is defined.
71603         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71606         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71607         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71609         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71610         <stdint.h>.
71611         (GET_PC): Cast to uintptr_t first.
71612         (GET_FRAME): Likewise.
71613         (GET_STACK): Likewise.
71615         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71616         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71617         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71618         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71619         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71620         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71621         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71622         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71623         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71624         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71625         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71626         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71627         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71628         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71629         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71630         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71631         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71632         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71633         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71634         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71635         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71636         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71637         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71638         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71639         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71640         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71641         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71642         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71643         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71645 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71647         * Makerules (+depfiles): Also collect depfiles from .oS in
71648         $(extra-objs).
71649         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71650         .oS, $(libnldbl-routines)).
71652         * Makerules (native-compile-mkdep-flags): Define.
71653         * sunrpc/Makefile (extra-objs): Add $(addprefix
71654         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71655         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71656         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71657         calling $(make-target-directory).
71659 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71661         * bits/types.h (__snseconds_t): Removed.
71662         * time/time.h (struct timespec): Replace __snseconds_t with
71663         __syscall_slong_t.
71664         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71665         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71666         Likewise.
71667         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71668         (__SNSECONDS_T_TYPE): Likewise.
71669         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71670         (__SNSECONDS_T_TYPE): Likewise.
71671         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71672         (__SNSECONDS_T_TYPE): Likewise.
71674 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71676         * sysdeps/mach/hurd/bits/typesizes.h
71677         (__SYSCALL_SLONG_TYPE): New macro.
71678         (__SYSCALL_ULONG_TYPE): Likewise.
71680 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71682         * bits/types.h (__syscall_slong_t): New type.
71683         (__syscall_ulong_t): Likewise.
71685         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71686         (__SYSCALL_ULONG_TYPE): Likewise.
71687         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71688         (__SYSCALL_SLONG_TYPE): Likewise.
71689         (__SYSCALL_ULONG_TYPE): Likewise.
71690         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71691         (__SYSCALL_SLONG_TYPE): Likewise.
71692         (__SYSCALL_ULONG_TYPE): Likewise.
71693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71694         (__SYSCALL_SLONG_TYPE): Likewise.
71695         (__SYSCALL_ULONG_TYPE): Likewise.
71697 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71699         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71700         Add sigaltstack-offsets.sym.
71701         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71702         <sigaltstack-offsets.h>.
71703         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
71704         longjmp_msg pointer.
71705         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
71706         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71707         signal stack.
71708         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71710 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71712         * elf/stackguard-macros.h: Remove file.
71713         * sysdeps/generic/stackguard-macros.h: New file.
71714         * sysdeps/i386/stackguard-macros.h: Likewise.
71715         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71716         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71717         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71718         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71719         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71720         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71721         * sysdeps/x86_64/stackguard-macros.h: Likewise.
71722         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71723         <elf/stackguard-macros.h>.
71725         [BZ #14109]
71726         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71727         __aligned__ in attribute.
71728         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71729         (gregset_t): Likewise.
71731 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71733         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71734         * sysdeps/x86_64/64/Implies-after: Here.  New file.
71735         * sysdeps/x86_64/x32/Implies-after: New file.
71737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71739         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71740         and access return value for _dl_profile_fixup.  Use R10_LP to
71741         load frame size.
71743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71745         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71747 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71749         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71750         * sysdeps/x86_64/x32/sysdep.h: New file.
71752 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71754         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71755         * sysdeps/x86_64/setjmp.S: Likewise.
71757 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71759         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71760         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71761         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71762         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71763         remove unused global constant.
71765 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
71767         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71768         include of <not-cancel.h>.
71770 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71772         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
71774 2012-05-15  Jeff Law  <law@redhat.com>
71775             Andreas Jaeger  <aj@suse.de>
71777         [BZ #13594]
71778         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
71779         out from...
71780         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
71781         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
71782         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
71783         code changing __hst_map_handle.map.
71785 2012-05-15  Roland McGrath  <roland@hack.frob.com>
71787         * configure.in (sysnames): Look for Implies-before and Implies-after
71788         files.
71789         * configure: Regenerated.
71791 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71793         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
71794         8-byte data alignment with LP_SIZE alignment.
71796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71798         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
71799         into R10_LP.
71801 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71803         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
71805 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71807         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
71808         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
71809         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
71810         Likewise.
71811         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
71813 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71815         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
71816         (stackinfo_sub_sp): Likewise.
71818 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71820         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
71821         RAX_LP.
71823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71825         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
71826         into R*_LP.
71828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71830         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
71831         sizes into R*_LP.
71833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71835         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
71837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71839         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
71840         into R11_LP and load __x86_64_shared_cache_size_half into
71841         R8_LP.
71843 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71845         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
71846         R8_LP.
71848 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71850         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
71851         logb for POWER7.
71852         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
71853         logbf for POWER7.
71854         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
71855         logbl for POWER7.
71856         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
71857         powerpc32/power7/fpu/s_logb.c via #include.
71858         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
71859         powerpc32/power7/fpu/s_logbf.c via #include.
71860         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
71861         powerpc32/power7/fpu/s_logbl.c via #include.
71863 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
71865         * README.libm: Remove file.
71867 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71869         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
71870         count for x32.  Use R*_LP and omit operand-size suffix.
71872 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71874         * shlib-versions: Move x86_64-.*-linux.* entries to ...
71875         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
71876         * sysdeps/x86_64/x32/shlib-versions: New file.
71878 2012-05-14  Roland McGrath  <roland@hack.frob.com>
71880         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
71881         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
71882         Use _dl_fatal_printf instead.
71884 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71886         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
71887         set if not set by the user.  Do not allow for being unset.
71888         * sysdeps/unix/sysv/linux/configure: Regenerated.
71890 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71892         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
71893         the `q' suffix from lea and replace .quad with ASM_ADDR.
71895 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71897         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
71898         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
71899         instead of $17.
71900         (PTR_DEMANGLE): Likewise.
71902 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71904         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
71905         (LP_OP): Likewise.
71906         (ASM_ADDR): Likewise.
71907         (RAX_LP): Likewise.
71908         (RBP_LP): Likewise.
71909         (RBX_LP): Likewise.
71910         (RCX_LP): Likewise.
71911         (RDI_LP): Likewise.
71912         (RSI_LP): Likewise.
71913         (RSP_LP): Likewise.
71914         (R8_LP): Likewise.
71915         (R9_LP): Likewise.
71916         (R10_LP): Likewise.
71917         (R10_LP): Likewise.
71918         (R11_LP): Likewise.
71919         (R12_LP): Likewise.
71920         (R13_LP): Likewise.
71921         (R14_LP): Likewise.
71922         (R15_LP): Likewise.
71924 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
71926         * sysdeps/x86_64/x32/dl-machine.h: New file.
71928 2012-05-14  Andreas Jaeger  <aj@suse.de>
71930         * manual/Makefile (subdir): Remove export of subdir.
71931         (all): Remove target.
71932         (.PHONY): Remove all from list.
71933         (mkinstalldirs): Remove.
71934         (.PHONY): Remove installdirs from list.
71935         ($(inst_infodir)/libc.info): Use make-target-directory.
71936         (installdirs): Remove.
71937         (subdir_%): Remove.
71938         (glibc-targets): Remove.
71939         (lib): Remove.
71940         (stubs): Remove.
71941         ($(objpfx)stubs ../po/manual.pot): Remove.
71942         ($(objpfx)stamp%): Remove.
71943         (make-target-directory): Remove.
71944         (subdir_install): Remove.
71945         (routines): Remove.
71946         (aux): Remove.
71947         (sources): Remove.
71948         (objects): Remove.
71949         (headers): Remove.
71951         [BZ #13750]
71952         * manual/.gitignore: Remove, it's not needed anymore.
71953         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
71954         all files in it.
71955         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
71956         directory.
71957         (texis): Renamed to $(objpfx)texis.
71958         (texis-path): New, contains path to generated files.
71959         (chapters.%): Use texis-path for complete path, add extra argument
71960         libc-texinfo.sh.
71961         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
71962         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
71963         (summary,texi, stamp-summary): Use complete path of
71964         files. Generate files in build dir.
71965         (dir-add.texi): Build in build dir.
71966         (libm-err.texi,stamp-libm-err): Likewise.
71967         (version.texi, stamp-version): Likewise.
71968         (.%c.texi): Likewise.
71969         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
71970         (mostlyclean): Remove target.
71971         (realclean): Remove target.
71972         (generated): Add new variable with contents from mostlyclean and
71973         realclean, remove entries duplicated in common-mostlyclean, add
71974         stamp-libm-err and stamp-version.
71975         (generated-dirs): Add libc directory.
71976         ($(inst_infodir)/libc.info): Install files from build dir.
71978         * manual/install.texi (Configuring and compiling): Adjust since
71979         the info files are not part of the tar ball anymore.
71981 2012-05-14  Andreas Jaeger  <aj@suse.de>
71983         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
71984         variable.
71986 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
71988         [BZ #13717]
71989         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
71990         to 2.2.0 where earlier.
71991         * sysdeps/unix/sysv/linux/configure: Regenerated.
71992         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
71993         Remove conditional code.
71994         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
71995         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
71996         Remove conditional code.
71997         [!__NR_lchown]: Likewise.
71998         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
71999         [__NR_lchown]: Likewise.
72000         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72001         comment referencing __ASSUME_LCHOWN_SYSCALL.
72002         * sysdeps/unix/sysv/linux/i386/sigaction.c
72003         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72004         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72005         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72006         Remove conditional code.
72007         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72008         (__protocol_available): Remove #if 0 code.
72009         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72010         conditional code.
72011         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72012         * sysdeps/unix/sysv/linux/kernel-features.h
72013         (__ASSUME_GETCWD_SYSCALL): Don't define.
72014         (__ASSUME_REALTIME_SIGNALS): Likewise.
72015         (__ASSUME_PREAD_SYSCALL): Likewise.
72016         (__ASSUME_PWRITE_SYSCALL): Likewise.
72017         (__ASSUME_POLL_SYSCALL): Likewise.
72018         (__ASSUME_LCHOWN_SYSCALL): Likewise.
72019         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72020         non-SPARC.
72021         (__ASSUME_SIOCGIFNAME): Don't define.
72022         (__ASSUME_MSG_NOSIGNAL): Likewise.
72023         (__ASSUME_SENDFILE): Define unconditionally.
72024         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72025         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72026         conditional code.
72027         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72028         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72029         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72030         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72031         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72032         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72033         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72035         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72038         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72039         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72041         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72044         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72045         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72047         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72048         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72049         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72050         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72051         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72053         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72054         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72056         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72057         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72058         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72059         Remove conditional code.
72060         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72061         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72062         Remove conditional code.
72063         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72064         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72065         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72066         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72067         Remove conditional code.
72068         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72069         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72070         Remove conditional code.
72071         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72072         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72073         Remove conditional code.
72074         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72075         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72076         Remove conditional code.
72077         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72078         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72079         Remove conditional code.
72080         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72081         * sysdeps/unix/sysv/linux/sh/pwrite64.c
72082         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72083         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72084         * sysdeps/unix/sysv/linux/sigaction.c
72085         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72086         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72087         * sysdeps/unix/sysv/linux/sigpending.c
72088         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72089         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72090         * sysdeps/unix/sysv/linux/sigprocmask.c
72091         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72092         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72093         * sysdeps/unix/sysv/linux/sigsuspend.c
72094         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72095         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72096         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72097         (__libc_missing_rt_sigs): Remove.
72098         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72099         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72100         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72101         Remove conditional code.
72102         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72103         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72104         return 1.
72105         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72106         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72107         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72108         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72110 2012-05-14  Andreas Jaeger  <aj@suse.de>
72112         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72113         it's not used in glibc.
72114         (__coshm1): Likewise.
72115         (__acosh1p): Likewise.
72116         (__sgn): Likewise.
72118         * manual/string.texi (Copying and Concatenation): Add missing
72119         variable in concat example.
72120         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72122 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72124         [BZ #14103]
72125         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72126         __builtin_clzl with __builtin_clzll.
72128 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72130         [BZ #14104]
72131         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72132         libc_freeres_ptr.
72134 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72136         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72137         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72138         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72139         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72141 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
72143         * NEWS: Update ia64 info.
72145 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
72147         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72148         used as bcopy.
72150 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
72152         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72153         * sysdeps/unix/syscalls.list (dup3): Likewise.
72154         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72155         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72157 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72159         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72160         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72162 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72164         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72165         thread pointer.
72166         (TLS_IE): Use mov/add instead of movq/addq to load thread
72167         pointer.
72168         (TLS_GD_PREFIX): New.
72169         (TLS_GD): Use it.
72171 2012-05-11  David S. Miller  <davem@davemloft.net>
72173         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72174         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72175         (_FPU_SETCW): Likewise.
72177 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72179         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72180         is 32-byte aligned.
72182 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
72184         [BZ #11837]
72185         * iconvdata/gb18030.c: Update tables.
72186         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
72187         characters specially.
72188         (BODY for TO_LOOP): Add encoding of missing ranges.
72190 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
72192         [BZ #13673]
72193         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72194         * sysdeps/mach/hurd/dup3.c: Likewise.
72195         * sysdeps/mach/hurd/readlinkat.c: Likewise.
72196         * sysdeps/powerpc/memmove.c:: Likewise.
72198 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72200         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72201         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72203 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72205         * elf/elf.h (R_X86_64_RELATIVE64): New.
72206         (R_X86_64_NUM): Updated.
72207         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72208         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
72209         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72210         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72211         tst-quad1pie tst-quad2pie
72212         (modules-names): Add tst-quadmod1 tst-quadmod2.
72213         ($(objpfx)tst-quad1): New dependency.
72214         ($(objpfx)tst-quad2): Likewise.
72215         ($(objpfx)tst-quad1pie): Likewise.
72216         ($(objpfx)tst-quad2pie): Likewise.
72217         * sysdeps/x86_64/tst-quad1.c: New file.
72218         * sysdeps/x86_64/tst-quad1pie.c: New file.
72219         * sysdeps/x86_64/tst-quad2.c: Likewise.
72220         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72221         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72222         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72223         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72224         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72226 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72228         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72229         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72230         * streams/stropts.h (t_scalar_t): Define type.
72232         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72233         (_PATH_PRESERVE): Set to "/var/lib".
72234         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72236         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72237         instead of int.
72239         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72240         if __dir_mkfile succeeded.
72242         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72243         checking for _hurd_dtablesize.  Unlock it right after having
72244         finished _hurd_dtable allocation.
72246 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72248         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72249         * sysdeps/mach/hurd/configure: Regenerated.
72250         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72251         special-casing to...
72252         * sysdeps/gnu/configure.in: ... this new file.
72253         * sysdeps/unix/sysv/linux/configure: Regenerated.
72254         * sysdeps/gnu/configure: New generated file.
72256         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72257         for Linux: use nsec instead of usec, as well as:
72258         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72259         members of type struct timespec.
72260         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72261         New macros.
72262         (struct stat64): Likewise.
72263         (_STATBUF_ST_NSEC): New macro.
72264         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72266         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72267         __strtoul_internal rather than strtoul.
72269 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72271         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72272         and reject them.
72274 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72276         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72277         which preserves existing values.
72278         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72280 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72282         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72283         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72284         greater than FD_SETSIZE.
72286 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72288         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72289         allocated, call __vm_protect to finish enabling the existing space, and
72290         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72291         allocate the remainder.
72293 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72295         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72296         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72298 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72300         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72301         sysdeps/mach/hurd/readlink.c.
72303         * posix/tst-sysconf.c (posix_options): Only use
72304         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72305         _POSIX_SYNCHRONIZED_IO when they are defined
72306         * sysdeps/mach/hurd/bits/posix_opt.h:
72307         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72308         (_XOPEN_REALTIME): Undefine macro.
72309         (_XOPEN_REALTIME_THREADS): Undefine macro.
72310         (_XOPEN_SHM): Undefine macro.
72311         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72312         macro to -1.
72313         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72314         macro to -1.
72315         (_POSIX_ASYNC_IO): Undefine macro.
72316         (_POSIX_PRIORITIZED_IO): Undefine macro.
72317         (_POSIX_SPIN_LOCKS): Define macro to -1.
72319         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72320         SA_NODEFER, SA_RESETHAND.
72321         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72322         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72323         F_DUPFD_CLOEXEC.
72325 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72327         * elf/Makefile (pldd-modules): Define unconditionally.
72329 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72331         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72333 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72335         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72336         Return ENOENT when name is empty.
72337         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72339 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72341         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72343         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72345 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72347         Fix mlock in all cases except non-readable pages.
72348         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72349         instead of VM_PROT_ALL as parameter to __vm_wire function.
72351         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72352         (__mkdir): When path is `/', just fail with EEXIST.
72353         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72355 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72357         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72358         <sys/uio.h> (for writev).
72359         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72360         and <sys/param.h> (for MIN).
72362 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72364         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72365         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72366         if interrupted.
72368 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72370         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72371         Depend on against $(link-rpcuserlibs).
72373 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72375         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72376         (__libc_stack_end): Do not use attribute_relro.
72377         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72378         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72379         to libthread-provided value.
72380         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72381         attribute_relro.
72383 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72385         [BZ #3748]
72386         * bits/libc-lock.h (__libc_once_get): New macro.
72387         * sysdeps/mach/bits/libc-lock.h: Likewise.
72388         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72389         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72390         instead of using implementation details.
72392         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72393         * libio/freopen.c: Likewise.
72394         * libio/freopen64.c: Likewise.
72395         * misc/syslog.c: Likewise.
72396         * nscd/connections.c: Likewise.
72397         * nscd/netgroupcache.c: Likewise.
72398         * sysdeps/posix/getcwd.c: Likewise.
72400 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72402         * math/w_ilogbf.c: Add #include <limits.h>.
72404 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72406         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72407         path instead of returning without unlocking.
72409         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72410         immediate-write ioctls.
72411         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72413 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72415         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72416         __builtin_frame_address instead of making assumptions about the
72417         location of the return address relative to DATA.  Force early load of
72418         the return address.
72419         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72420         __builtin_frame_address.
72422         dup3 for GNU Hurd.
72423         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72424         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72425         implement dup3 and do some further code clean-ups.
72426         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72427         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72429 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72431         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72433         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72434         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72435         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72436         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72437         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72438         d->port.lock.
72440         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72441         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72442         when handler == SIG_ERR, not when handler != SIG_ERR.
72444 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72446         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72447         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72448         definitions.
72450         accept4 for GNU Hurd.
72451         * include/sys/socket.h (__libc_accept4): New prototype.
72452         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72453         to implement __libc_accept4.
72454         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72455         __libc_accept4.
72456         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72458         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72459         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72460         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72461         signal-defines.sym.
72463 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72465         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72467 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72469         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72470         assertion on O_CLOEXEC flag.
72471         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72472         * hurd/intern-fd.c: Likewise.
72473         * hurd/port2fd.c: Likewise.
72475 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72477         [BZ #3906]
72478         * bits/in.h (IPV6_PKTINFO): Define new macro.
72479         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72481 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72483         [BZ #13954]
72484         [BZ #13955]
72485         [BZ #13956]
72486         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72487         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72488         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72489         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72490         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72491         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72492         * math/libm-test.inc (logb_test) : Additional logb tests.
72494 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72495             Andreas Jaeger  <aj@suse.de>
72497         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72498         * configure: Regenerated.
72499         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72500         * config.make.in (link-obsolete-rpc): New substituted variable.
72501         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72502         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72503         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72504         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72505         so that libc.a contains the symbols.
72506         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72507         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72508         * sunrpc/auth_none.c: Likewise.
72509         * sunrpc/auth_unix.c: Likewise.
72510         * sunrpc/authdes_prot.c: Likewise.
72511         * sunrpc/authuxprot.c: Likewise.
72512         * sunrpc/clnt_gen.c: Likewise.
72513         * sunrpc/clnt_perr.c: Likewise.
72514         * sunrpc/clnt_raw.c: Likewise.
72515         * sunrpc/clnt_simp.c: Likewise.
72516         * sunrpc/clnt_tcp.c: Likewise.
72517         * sunrpc/clnt_udp.c: Likewise.
72518         * sunrpc/clnt_unix.c: Likewise.
72519         * sunrpc/des_crypt.c: Likewise.
72520         * sunrpc/des_soft.c: Likewise.
72521         * sunrpc/get_myaddr.c: Likewise.
72522         * sunrpc/key_call.c: Likewise.
72523         * sunrpc/key_prot.c: Likewise.
72524         * sunrpc/netname.c: Likewise.
72525         * sunrpc/pm_getmaps.c: Likewise.
72526         * sunrpc/pm_getport.c: Likewise.
72527         * sunrpc/pmap_clnt.c: Likewise.
72528         * sunrpc/pmap_prot.c: Likewise.
72529         * sunrpc/pmap_prot2.c: Likewise.
72530         * sunrpc/pmap_rmt.c: Likewise.
72531         * sunrpc/publickey.c: Likewise.
72532         * sunrpc/rpc_cmsg.c: Likewise.
72533         * sunrpc/rpc_common.c: Likewise.
72534         * sunrpc/rpc_dtable.c: Likewise.
72535         * sunrpc/rpc_prot.c: Likewise.
72536         * sunrpc/rpc_thread.c: Likewise.
72537         * sunrpc/rtime.c: Likewise.
72538         * sunrpc/svc.c: Likewise.
72539         * sunrpc/svc_auth.c: Likewise.
72540         * sunrpc/svc_raw.c: Likewise.
72541         * sunrpc/svc_run.c: Likewise.
72542         * sunrpc/svc_tcp.c: Likewise.
72543         * sunrpc/svc_udp.c: Likewise.
72544         * sunrpc/svc_unix.c: Likewise.
72545         * sunrpc/svcauth_des.c: Likewise.
72546         * sunrpc/xcrypt.c: Likewise.
72547         * sunrpc/xdr.c: Likewise.
72548         * sunrpc/xdr_array.c: Likewise.
72549         * sunrpc/xdr_float.c: Likewise.
72550         * sunrpc/xdr_intXX_t.c: Likewise.
72551         * sunrpc/xdr_mem.c: Likewise.
72552         * sunrpc/xdr_rec.c: Likewise.
72553         * sunrpc/xdr_ref.c: Likewise.
72554         * sunrpc/xdr_sizeof.c: Likewise.
72555         * sunrpc/xdr_stdio.c: Likewise.
72557 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72559         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72560         change.  Update copyright years.
72562 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72564         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72566 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72567             Joseph Myers  <joseph@codesourcery.com>
72568             Paul Pluzhnikov  <ppluzhnikov@google.com>
72570         [BZ #14012]
72571         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72572         requiring rpcgen.
72573         [cross-compiling] (extra-libs): Likewise.
72574         [cross-compiling] (extra-libs-others): Likewise.
72575         [cross-compiling] (librpcsvc-routines): Likewise.
72576         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72577         [cross-compiling] (omit-deps): Likewise.
72578         (sunrpc-CPPFLAGS): New variable.
72579         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72580         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72581         (cross-rpcgen-objs): New variable.
72582         (extra-objs): Append $(cross-rpcgen-objs).
72583         ($(cross-rpcgen-objs)): New rule.
72584         ($(objpfx)cross-rpcgen): Likewise.
72585         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72586         comment.
72587         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72588         ($(objpfx)x%.stmp): Likewise.
72589         * sunrpc/proto.h [IS_IN_build] (_): Define.
72590         [IS_IN_build] (_libc_intl_domainname): Likewise.
72592 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72594         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72595         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72596         and R_X86_64_TPOFF64.
72598 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72600         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72601         sysdeps/unix/sysv/syscalls.list.
72602         (stime): Likewise.
72603         (utime): Likewise.
72604         * sysdeps/unix/sysv/syscalls.list: Remove file.
72606 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72608         [BZ #3440]
72609         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72610         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72611         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72612         (__LC_IDENTIFICATION): Make these macros useful in #if
72613         expressions, as required by C99.
72615 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72617         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72618         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72619         after this.
72621 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72623         * stdlib/longlong.h: Updated from GCC.
72625 2012-05-09  Andreas Jaeger  <aj@suse.de>
72627         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72628         default is first entry.
72629         (run_mode): Set type.
72630         (main): Remove informal message about syslog.
72631         (options): Fix typo.
72633         [BZ #14053]
72634         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72635         to asm.
72636         (lrint): Likewise.
72637         (llrintf): Likewise.
72638         (llrint): Likewise.
72639         (rint): Likewise.
72640         (rintf): Likewise.
72641         (nearbyint): Likewise.
72642         (nearbyintf): Likewise.
72644 2012-05-09  Andreas Jaeger  <aj@suse.de>
72645             Pedro Alves  <palves@redhat.com>
72647         * nscd/nscd.c (run_mode): Use enum.
72648         (main): Cleanup coding style issue.
72650 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72651             Andreas Jaeger  <aj@suse.de>
72653         * nscd/nscd.c (go_background): Replaced with...
72654         (run_mode): ... this.
72655         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72656         (options): Add -F --foreground.
72657         (main): Implement it.
72658         (parse_opt): Parse it.
72660 2012-05-09  Andreas Jaeger  <aj@suse.de>
72662         [BZ #14083]
72663         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72664         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72665         -Wconversion warning.
72666         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72667         Likewise.
72669 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72671         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72672         == 0.
72673         (LC_ALL): Use macro-int-constant.
72674         (LC_COLLATE): Likewise.
72675         (LC_CTYPE): Likewise.
72676         (LC_MESSAGES): Likewise.
72677         (LC_MONETARY): Likewise.
72678         (LC_NUMERIC): Likewise.
72679         (LC_TIME): Likewise.
72680         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72681         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72682         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72683         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72684         Specify type.
72685         [C99-based standards] (float_t): Expect type.
72686         [C99-based standards] (double_t): Expect type.
72687         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72688         type.
72689         [C99-based standards] (HUGE_VALL): Likewise.
72690         [C99-based standards] (INFINITY): Likewise.
72691         [C99-based standards] (NAN): Likewise.
72692         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72693         [C99-based standards] (FP_NAN): Likewise.
72694         [C99-based standards] (FP_NORMAL): Likewise.
72695         [C99-based standards] (FP_SUBNORMAL): Likewise.
72696         [C99-based standards] (FP_ZERO): Likewise.
72697         [C99-based standards] (FP_FAST_FMA): Use
72698         optional-macro-int-constant.  Specify type.  Require == 1.
72699         [C99-based standards] (FP_FAST_FMAF): Likewise.
72700         [C99-based standards] (FP_FAST_FMAL): Likewise.
72701         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72702         [C99-based standards] (FP_ILOGBNAN): Likewise.
72703         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72704         Specify type.
72705         [C99-based standards] (MATH_ERREXCEPT): Likewise.
72706         [C99-based standards] (math_errhandling): Specify type.
72707         [ISO99 || ISO11] (signgam): Do not allow.
72708         [non-C99-based standards] (copysignf): Do not allow.
72709         [non-C99-based standards] (exp2f): Likewise.
72710         [non-C99-based standards] (log2f): Likewise.
72711         [non-C99-based standards] (modff): Allow.
72712         [non-C99-based standards] (erff): Do not allow.
72713         [non-C99-based standards] (erfcf): Likewise.
72714         [non-C99-based standards] (gammaf): Likewise.
72715         [non-C99-based standards] (hypotf): Likewise.
72716         [non-C99-based standards] (j0f): Likewise.
72717         [non-C99-based standards] (j1f): Likewise.
72718         [non-C99-based standards] (jnf): Likewise.
72719         [non-C99-based standards] (lgammaf): Likewise.
72720         [non-C99-based standards] (tgammaf): Likewise.
72721         [non-C99-based standards] (y0f): Likewise.
72722         [non-C99-based standards] (y1f): Likewise.
72723         [non-C99-based standards] (ynf): Likewise.
72724         [non-C99-based standards] (isnanf): Likewise.
72725         [non-C99-based standards] (acoshf): Likewise.
72726         [non-C99-based standards] (asinhf): Likewise.
72727         [non-C99-based standards] (atanhf): Likewise.
72728         [non-C99-based standards] (cbrtf): Likewise.
72729         [non-C99-based standards] (expm1f): Likewise.
72730         [non-C99-based standards] (ilogbf): Likewise.
72731         [non-C99-based standards] (log1pf): Likewise.
72732         [non-C99-based standards] (logbf): Likewise.
72733         [non-C99-based standards] (nextafterf): Likewise.
72734         [non-C99-based standards] (remainderf): Likewise.
72735         [non-C99-based standards] (rintf): Likewise.
72736         [non-C99-based standards] (scalbf): Likewise.
72737         [non-C99-based standards] (copysignl): Likewise.
72738         [non-C99-based standards] (exp2l): Likewise.
72739         [non-C99-based standards] (log2l): Likewise.
72740         [non-C99-based standards] (modfl): Allow.
72741         [non-C99-based standards] (erfl): Do not allow.
72742         [non-C99-based standards] (erfcl): Likewise.
72743         [non-C99-based standards] (gammal): Likewise.
72744         [non-C99-based standards] (hypotl): Likewise.
72745         [non-C99-based standards] (j0l): Likewise.
72746         [non-C99-based standards] (j1l): Likewise.
72747         [non-C99-based standards] (jnl): Likewise.
72748         [non-C99-based standards] (lgammal): Likewise.
72749         [non-C99-based standards] (tgammal): Likewise.
72750         [non-C99-based standards] (y0l): Likewise.
72751         [non-C99-based standards] (y1l): Likewise.
72752         [non-C99-based standards] (ynl): Likewise.
72753         [non-C99-based standards] (isnanl): Likewise.
72754         [non-C99-based standards] (acoshl): Likewise.
72755         [non-C99-based standards] (asinhl): Likewise.
72756         [non-C99-based standards] (atanhl): Likewise.
72757         [non-C99-based standards] (cbrtl): Likewise.
72758         [non-C99-based standards] (expm1l): Likewise.
72759         [non-C99-based standards] (ilogbl): Likewise.
72760         [non-C99-based standards] (log1pl): Likewise.
72761         [non-C99-based standards] (logbl): Likewise.
72762         [non-C99-based standards] (nextafterl): Likewise.
72763         [non-C99-based standards] (remainderl): Likewise.
72764         [non-C99-based standards] (rintl): Likewise.
72765         [non-C99-based standards] (scalbl): Likewise.
72766         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72767         [non-C99-based standards] (FP_*): Do not allow.
72768         [C99-based standards] (FP_*): Change to
72769         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72770         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72771         allow.
72772         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
72773         (SIG_ERR): Likewise.
72774         [X/Open-based standards] (SIG_HOLD): Likewise.
72775         (SIG_IGN): Likewise.
72776         (SIGABRT): Use macro-int-constant.  Specify type.  Require
72777         positive value.
72778         (SIGFPE): Likewise.
72779         (SIGILL): Likewise.
72780         (SIGINT): Likewise.
72781         (SIGSEGV): Likewise.
72782         (SIGTER): Likewise.
72783         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
72784         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
72785         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
72786         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
72787         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
72788         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
72789         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
72790         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
72791         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
72792         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
72793         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
72794         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
72795         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
72796         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
72797         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
72798         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
72799         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
72800         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
72801         [X/Open-based standards] (SIGTRAP): Likewise.
72802         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
72803         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
72804         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
72805         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
72806         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
72807         allow.
72809 2012-05-08  Ian Wienand  <ianw@vmware.com>
72811         [BZ #14080]
72812         * time/tzset.c (__tzset_parse_tz): Update default rules for
72813         daylight time changes in the Energy Policy Act of 2005.
72815 2012-05-09  Andreas Jaeger  <aj@suse.de>
72817         [BZ #13983]
72818         * elf/ldconfig.c (parse_conf): Change string to make clear that
72819         ldconfig only issued a warning if ld.so.conf does not exist.
72821 2012-05-08  David S. Miller  <davem@davemloft.net>
72823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
72824         movxtod instead of popping the value on the stack.
72826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72828 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
72830         * config.h.in: Add HAVE_ARM_PCS_VFP.
72832 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
72834         [BZ #13979]
72835         * include/features.h: Warn if user requests __FORTIFY_SOURCE
72836         checking but the checks are disabled for any reason.
72838 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
72840         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
72841         and ELF64_R_TYPE with ELFW(R_TYPE).
72843 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
72845         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
72846         (ulimit): Likewise.
72848         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
72849         (settimeofday): Likewise.
72851 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
72853         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
72854         a struct th_u2 inside the union, and move tu_block/tu_code into
72855         a new th_u3 union of tu_block/tu_code inside of that.  Move
72856         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
72857         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
72858         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
72859         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
72860         (th_stuff): Change to th_u1.tu_stuff.
72861         (th_data): Define.
72862         (th_msg): Change to th_u1.th_u2.tu_data.
72864 2012-05-07  David S. Miller  <davem@davemloft.net>
72866         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72868         [BZ #14074]
72869         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
72870         (SETUP_PIC_REG): Use it.
72871         (SETUP_PIC_REG_LEAF): Use it.
72873 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
72875         [BZ #13885]
72876         [BZ #13923]
72877         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72878         USE_AS_EXPM1L.
72879         (EXPL_FINITE): Likewise.
72880         (FLDLOG): Likewise.
72881         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72882         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72883         e_expl.S.
72884         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72885         USE_AS_EXPM1L.
72886         (EXPL_FINITE): Likewise.
72887         (FLDLOG): Likewise.
72888         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
72889         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
72890         e_expl.S.
72891         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
72892         test of -max_value argument for long double.
72893         * sysdeps/i386/fpu/libm-test-ulps: Update.
72894         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72896 2012-05-06  David S. Miller  <davem@davemloft.net>
72898         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
72899         quad soft-float symbols whose references which are compiler
72900         generated.
72901         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
72903 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
72905         [BZ #13884]
72906         [BZ #13914]
72907         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72908         USE_AS_EXP10L.
72909         (EXPL_FINITE): Likewise.
72910         (FLDLOG): Likewise.
72911         (c0): Likewise.
72912         (c1): Likewise.
72913         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72914         Adjust comments for base varying.
72915         (__expl_finite): Change alias to EXPL_FINITE.
72916         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
72917         e_expl.S.
72918         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
72919         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
72920         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
72921         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
72922         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
72923         USE_AS_EXP10L.
72924         (EXPL_FINITE): Likewise.
72925         (FLDLOG): Likewise.
72926         (c0): Likewise.
72927         (c1): Likewise.
72928         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
72929         Adjust comments for base varying.
72930         (__expl_finite): Change alias to EXPL_FINITE.
72931         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
72932         tests for bugs.
72933         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
72935         [BZ #14064]
72936         * math/libm-test.inc (check_float_internal): Correct ulp
72937         calculation for subnormal expected results.
72939 2012-05-06  Andreas Jaeger  <aj@suse.de>
72941         * Makeconfig (+math-flags): New, set to -frounding-math.
72942         (+cflags): Add +math-flags so that all of glibc gets compiled with
72943         it.
72945         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
72947 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
72949         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
72950         Disable one test.
72952         [BZ #13787]
72953         [BZ #13922]
72954         [BZ #14036]
72955         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
72956         (__ieee754_expl): Allow for and saturate large arguments.
72957         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
72958         (u_threshold): Likewise.
72959         (__exp): Call __ieee754_exp before checking for overflow and
72960         underflow.
72961         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
72962         (u_threshold): Likewise.
72963         (__expf): Call __ieee754_expf before checking for overflow and
72964         underflow.
72965         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
72966         (u_threshold): Likewise.
72967         (__expl): Call __ieee754_expl before checking for overflow and
72968         underflow.
72969         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
72970         (__ieee754_expl): Allow for and saturate large arguments.
72971         * math/libm-test.inc (exp_test): Add another test.  Do not allow
72972         missing overflow exception on overflow.
72973         (expm1_test): Do not allow missing overflow exception on overflow.
72975         * sysdeps/i386/fpu/e_expl.c: Move to ...
72976         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
72977         rather than using inline asm.
72978         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
72979         * sysdeps/x86_64/fpu/e_expl.S: Copy from
72980         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
72982         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
72983         (nice): Likewise.
72984         (poll): Likewise.
72985         (signal): Likewise.
72986         (time): Likewise.
72987         (times): Likewise.
72989 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
72991         * sysdeps/unix/syscalls.list (adjtime): Add entry from
72992         sysdeps/unix/common/syscalls.list.
72993         (fchmod): Likewise.
72994         (fchown): Likewise.
72995         (ftruncate): Likewise.
72996         (getrusage): Likewise.
72997         (gettimeofday): Likewise.
72998         (setpgid): Likewise.
72999         (setregid): Likewise.
73000         (setreuid): Likewise.
73001         (sigaction): Likewise.
73002         (truncate): Likewise.
73003         (vhangup): Likewise.
73004         * sysdeps/unix/common/syscalls.list: Remove file.
73005         * sysdeps/unix/bsd/Implies: Don't include unix/common.
73006         * sysdeps/unix/sysv/linux/Implies: Likewise.
73008 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
73010         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73012         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73013         Moved to ...
73014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73015         Here.
73016         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73017         to ...
73018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73019         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73020         to ...
73021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73022         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73023         to ...
73024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73025         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73026         to ...
73027         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73028         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73029         to ...
73030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73031         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73032         to ...
73033         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73034         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73035         to ...
73036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73037         Here.
73038         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73039         to ...
73040         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73041         Here.
73042         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73043         to ...
73044         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73045         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73046         Moved to ...
73047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73048         Here.
73049         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73050         to ...
73051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73053 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73055         * sysdeps/unix/common/bits/dirent.h: Remove file.
73056         * sysdeps/unix/common/bits/fcntl.h: Likewise.
73058         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73059         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73060         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73061         * sysdeps/unix/bsd/isatty.c: Likewise.
73062         * sysdeps/unix/bsd/tcdrain.c: Likewise.
73063         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73064         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73066 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73068         [BZ #13563]
73069         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73070         long double comparison inaccuracies.
73071         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73072         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73074 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
73076         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73077         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73079 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73081         [BZ #14049]
73082         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73083         nonzero digits before rounding a hex value.
73084         * stdlib/tst-strtod.c (tests): Add another test.
73086 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73088         * sysdeps/s390/fpu/libm-test-ulps: Update.
73090 2012-05-03  Andreas Jaeger  <aj@suse.de>
73092         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73093         does not get optimized out.
73094         (malloc_opt_barrier): New.
73096 2012-05-03  Andreas Jaeger  <aj@suse.de>
73097             Roland McGrath  <roland@hack.frob.com>
73099         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73100         intermediate file deletion.
73101         (generated): Add .symlist files.
73103 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
73105         [BZ #13775]
73106         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73107         Redirect under this condition.
73108         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73109         [__USE_GNU] (__dprintf_chk): Not under this condition.
73110         [__USE_GNU] (__vdprintf_chk): Likewise.
73111         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73112         under this condition.
73113         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73114         [__USE_XOPEN2K8] (dprintf): Define under this condition.
73115         [__USE_XOPEN2K8] (vdprintf): Likewise.
73116         [__USE_GNU] (__dprintf_chk): Not under this condition.
73117         [__USE_GNU] (__vdprintf_chk): Likewise.
73118         [__USE_GNU] (dprintf): Likewise.
73119         [__USE_GNU] (vdprintf): Likewise.
73121 2012-05-03  Roland McGrath  <roland@hack.frob.com>
73123         * elf/Makefile (common-generated): Set this instead of generated for
73124         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
73125         $(all-built-dso)-derived lists.
73127 2012-05-03  Andreas Jaeger  <aj@suse.de>
73129         * sysdeps/i386/fpu/libm-test-ulps: Update.
73131         * FAQ: Removed.
73132         * FAQ.in: Likewise.
73133         * scripts/gen-FAQ.pl: Likewise.
73134         * manual/install.texi (Installation): Point to online location of
73135         FAQ.
73136         * Makefile (files-for-dist): Remove FAQ.
73137         (FAQ): Remove.
73139 2012-05-02  Allan McRae  <allan@archlinux.org>
73141         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73142         (LDFLAGS-reldepmod5.so): Likewise.
73143         (LDFLAGS-reldep6mod1.so): Likewise.
73144         (LDFLAGS-reldep6mod4.so): Likewise.
73145         (LDFLAGS-reldep8mod3.so): Likewise.
73146         (LDFLAGS-unload4mod1.so): Likewise.
73147         (LDFLAGS-unload4mod2.so): Likewise.
73148         (LDFLAGS-tst-initorder): Likewise.
73149         (LDFLAGS-tst-initordera2.so): Likewise.
73150         (LDFLAGS-tst-initordera3.so): Likewise.
73151         (LDFLAGS-tst-initordera4.so): Likewise.
73152         (LDFLAGS-tst-initorderb2.so): Likewise.
73153         (LDFLAGS-noload): Likewise.
73154         (LDFLAGS-next): Likewise.
73155         (LDFLAGS-order2mod1.so): Likewise.
73156         (LDFLAGS-order2mod2.so): Likewise.
73157         (LDFLAGS-tst-initorder2): Likewise.
73158         (LDFLAGS-tst-initorder2a.so): Likewise.
73159         (LDFLAGS-tst-initorder2b.so): Likewise.
73160         (LDFLAGS-tst-initorder2c.so): Likewise.
73161         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73163 2012-05-02  David S. Miller  <davem@davemloft.net>
73165         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73167 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
73169         [BZ #14055]
73170         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73172 2012-05-02  Andreas Jaeger  <aj@suse.de>
73174         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73175         since we manipulate rounding mode.
73176         (CPPFLAGS-test-idouble.c): Likewise.
73177         (CPPFLAGS-test-ifloat.c): Likewise.
73178         (CFLAGS-test-ldouble.c): Likewise.
73179         (CFLAGS-test-double.c): Likewise.
73180         (CFLAGS-test-float.c): Likewise.
73181         (CFLAGS-test-misc.c): Likewise.
73182         (CFLAGS-test-test-fenv.c): Likewise.
73184 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73186         [BZ #2550]
73187         [BZ #2570]
73188         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73189         comparisons to determine direction to adjust input.
73191 2012-05-01  Roland McGrath  <roland@hack.frob.com>
73193         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73194         output to the target.
73196         * scripts/localplt.awk: New file.
73197         * elf/Makefile ($(objpfx)check-localplt): Target removed.
73198         (check-localplt-CFLAGS): Variable removed.
73199         ($(all-built-dso:=.jmprel)): New static pattern rule.
73200         (generated): Add those targets.
73201         (localplt-built-dso): New variable.
73202         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73204         * elf/check-localplt.c: File removed.
73206         * scripts/check-execstack.awk: New file.
73207         * elf/Makefile ($(objpfx)check-execstack): Target removed.
73208         (check-execstack-CFLAGS): Variable removed.
73209         ($(objpfx)check-execstack.h): Target removed.
73210         ($(objpfx)execstack-default): New target.
73211         (generated): Add that instead of check-execstack.h.
73212         ($(all-built-dso:=.phdr)): New static pattern rule.
73213         (generated): Add those targets.
73214         * elf/check-execstack.c: File removed.
73216         * scripts/check-textrel.awk: New file.
73217         * elf/Makefile ($(objpfx)check-textrel): Target removed.
73218         (check-textrel-CFLAGS): Variable removed.
73219         (all-built-dso): Use := to define.o
73220         ($(all-built-dso:=.dyn)): New static pattern rule.
73221         (generated): Add those targets.
73222         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73223         * config.make.in (READELF): New substituted variable.
73224         * elf/check-textrel.c: File removed.
73226 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73228         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73229         allow.
73230         * conform/data/ctype.h-data [C99-based standards] (isblank):
73231         Expect function.
73232         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73233         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73234         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73235         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73236         Specify type.  Require positive value.
73237         (EILSEQ): Likewise.
73238         (ERANGE): Likewise.
73239         [ISO || POSIX] (EILSEQ): Do not expect.
73240         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73241         Specify type.  Require positive value.
73242         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73243         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73244         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73245         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73246         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73247         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73248         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73249         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73250         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73251         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73252         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73253         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73254         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73255         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73256         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73257         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73258         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73259         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73260         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73261         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73262         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73263         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73264         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73265         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73266         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73267         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73268         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73269         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73270         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73271         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73272         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73273         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73274         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73275         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73276         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73277         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73278         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73279         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73280         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73281         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73282         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73283         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73284         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73285         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73286         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73287         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73288         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73289         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73290         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73291         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73292         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73293         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73294         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73295         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73296         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73297         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73298         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73299         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73300         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73301         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73302         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73303         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73304         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73305         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73306         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73307         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73308         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73309         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73310         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73311         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73312         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73313         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73314         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73315         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73316         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73317         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73318         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73319         Require >= 2.
73320         (FLT_ROUNDS): Expect as macro, not constant.
73321         (FLT_MANT_DIG): Use macro-int-constant.
73322         (DBL_MANT_DIG): Likewise.
73323         (LDBL_MANT_DIG): Likewise.
73324         (FLT_DIG): Likewise.
73325         (DBL_DIG): Likewise.
73326         (LDBL_DIG): Likewise.
73327         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73328         (DBL_MIN_EXP): Likewise.
73329         (LDBL_MIN_EXP): Likewise.
73330         (FLT_MAX_EXP): Use macro-int-constant.
73331         (DBL_MAX_EXP): Likewise.
73332         (LDBL_MAX_EXP): Likewise.
73333         (FLT_MAX_10_EXP): Likewise.
73334         (DBL_MAX_10_EXP): Likewise.
73335         (LDBL_MAX_10_EXP): Likewise.
73336         (FLT_MAX): Use macro-constant.
73337         (DBL_MAX): Likewise.
73338         (LDBL_MAX): Likewise.
73339         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73340         (DBL_EPSILON): Likewise.
73341         (LDBL_EPSILON): Likewise.
73342         (FLT_MIN): Likewise.
73343         (DBL_MIN): Likewise.
73344         (LDBL_MIN): Likewise.
73345         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73346         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73347         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73348         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73349         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73350         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73351         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73352         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73353         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73354         [ISO11] (FLT_TRUE_MIN): Likewise.
73355         [ISO11] (LDBL_TRUE_MIN): Likewise.
73356         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73357         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73358         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73359         (SCHAR_MAX): Likewise.
73360         (UCHAR_MAX): Likewise.
73361         (CHAR_MIN): Likewise.
73362         (CHAR_MAX): Likewise.
73363         (MB_LEN_MAX): Use macro-int-constant.
73364         (SHRT_MIN): Use macro-int-constant.  Specify type.
73365         (SHRT_MAX): Likewise.
73366         (USHRT_MAX): Likewise.
73367         (INT_MAX): Likewise.
73368         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73369         bound negative.
73370         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73371         bound with "U".
73372         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73373         bound with "L".
73374         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73375         bound negative.  Suffix upper bound with "L".
73376         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73377         bound with "UL".
73378         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73379         Specify type.
73380         [C99-based standards] (LLONG_MAX): Likewise.
73381         [C99-based standards] (ULLONG_MAX): Likewise.
73382         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73383         == 0.
73384         [ISO11] (max_align_t): Require type.
73385         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73387         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73388         from $CFLAGS, without defining away __attribute__ calls.
73389         (checknamespace): Use $CFLAGS_namespace.
73391         * conform/conformtest.pl (@keywords): Only include C99 keywords
73392         for standards based on C99 or C11.
73394         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73395         Disable tests.
73396         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73397         UNIX98]: Likewise.
73399         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73400         usability of symbols in #if.
73402         * conform/conformtest.pl: If macro or constant types start
73403         "promoted:", expect the symbol to be of the following type
73404         promoted by the integer promotions.
73406         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73407         in one place.  Also handle "macro-constant".
73409         * conform/conformtest.pl: Only accept expected macro values with
73410         "==".  Parse all "macro" lines in one place.
73411         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73413         * conform/conformtest.pl: Handle braced types on "constant" lines
73414         instead of handling "typed-constant".
73415         * conform/data/signal.h-data: Use "constant" instead of
73416         "typed-constant".
73418         * conform/conformtest.pl: Handle "optional-" at start of lines in
73419         one place rather than duplicating several cases.  Handle each
73420         format of "macro" line with initial "optional-".
73422         * conform/conformtest.pl: Only accept expected constant or
73423         optional-constant values with "==".  Parse all "constant" lines in
73424         one place.  Parse all "optional-constant" lines in one place.
73425         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73426         * conform/data/fmtmsg.h-data: Likewise.
73427         * conform/data/netinet/in.h-data: Likewise.
73428         * conform/data/tar.h-data: Likewise.
73429         * conform/data/limits.h-data: Use "==" form on "constant" and
73430         "optional-constant" lines.
73432         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73433         Use -std=c99 for XOPEN2K.
73434         (@knownproblems): Remove.
73435         (newtoken): Don't check %isknown.
73437         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73438         Do not expect macro.
73439         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73440         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73441         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73442         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73443         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73444         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73445         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73446         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73447         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73448         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73449         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73450         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73451         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73452         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73453         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73454         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73455         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73456         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73457         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73458         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73459         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73460         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73461         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73462         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73463         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73464         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73465         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73466         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73467         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73468         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73469         [XPG3] (acosh): Likewise.
73470         [XPG3] (asinh): Likewise.
73471         [XPG3] (atanh): Likewise.
73472         [XPG3] (cbrt): Likewise.
73473         [XPG3] (expm1): Likewise.
73474         [XPG3] (ilogb): Likewise.
73475         [XPG3] (log1p): Likewise.
73476         [XPG3] (logb): Likewise.
73477         [XPG3] (nextafter): Likewise.
73478         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73479         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73480         [XPG3] (remainder): Likewise.
73481         [XPG3] (rint): Likewise.
73482         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73483         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73484         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73485         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73486         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73487         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73488         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73489         [UNIX98 || XOPEN2K] (scalb): Expect.
73490         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73491         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73492         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73493         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73494         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73495         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73496         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73497         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73498         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73499         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73500         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73501         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73502         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73503         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73504         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73505         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73506         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73507         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73508         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73509         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73510         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73511         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73512         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73513         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73514         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73515         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73516         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73517         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73518         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73519         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73520         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73521         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73522         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73523         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73524         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73525         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73526         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73527         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73528         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73529         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73530         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73531         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73532         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73533         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73534         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73535         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73536         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73537         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73538         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73539         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73540         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73541         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73542         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73543         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73544         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73545         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73546         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73547         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73548         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73549         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73550         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73551         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73552         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73553         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73554         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73555         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73556         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73557         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73558         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73559         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73560         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73561         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73562         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73563         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73564         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73565         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73566         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73567         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73568         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73569         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73570         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73571         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73572         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73573         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73574         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73575         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73576         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73577         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73578         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73579         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73580         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73581         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73582         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73583         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73584         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73585         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73586         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73587         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73588         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73589         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73590         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73591         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73592         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73593         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73594         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73595         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73596         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73597         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73598         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73599         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73600         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73601         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73602         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73603         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73604         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73605         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73606         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73607         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73608         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73609         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73610         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73611         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73612         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73613         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73614         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73615         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73616         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73617         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73618         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73619         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73620         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73621         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73622         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73623         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73624         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73625         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73626         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73628         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73629         _XOPEN_SOURCE_EXTENDED for XPG4.
73631         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73633         * Makeconfig (localtime): Remove variable.
73634         (inst_localtime-file): Likewise.
73636 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73639         Update.
73640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73641         Update.
73642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73643         Update.
73644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73645         Update.
73646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73647         Update.
73648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73649         Update.
73650         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73651         Update.
73652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73653         Update.
73654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73655         Update.
73657 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73659         [BZ #2550]
73660         [BZ #2570]
73661         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73662         comparisons to determine direction to adjust input.
73663         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73664         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73665         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73666         Likewise.
73667         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73668         Likewise.
73669         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73670         Likewise.
73671         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73672         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73673         Likewise.
73674         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73675         Likewise.
73676         * math/libm-test.inc (nexttoward_test): Add more tests.
73678 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73680         [BZ #14040]
73681         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73682         in version GLIBC_2.1, not GLIBC_2.0.
73683         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73684         Likewise.
73686 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73688         [BZ #13942]
73689         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73690         (1 - x) * (1 + x).
73691         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73692         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73693         * math/libm-test.inc (acos_test): Add more tests.
73694         (asin_test): Likewise.
73695         * sysdeps/i386/fpu/libm-test-ulps: Update.
73696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73698         [BZ #14034]
73699         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73700         of square root.
73701         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73702         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73703         * math/libm-test.inc (acos_test_tonearest): New function.
73704         (acos_test_towardzero): Likewise.
73705         (acos_test_downward): Likewise.
73706         (acos_test_upward): Likewise.
73707         (asin_test_tonearest): Likewise.
73708         (asin_test_towardzero): Likewise.
73709         (asin_test_downward): Likewise.
73710         (asin_test_upward): Likewise.
73711         (main): Call the new functions.
73712         * sysdeps/i386/fpu/libm-test-ulps: Update.
73713         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73715         [BZ #13884]
73716         [BZ #13924]
73717         * math/e_exp10.c: Include <float.h>.
73718         (__ieee754_exp10): Handle underflow here rather than multiplying
73719         large negative argument by M_LN10.
73720         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73721         of __ieee754_expf.
73722         * math/e_exp10l.c: Include <float.h>.
73723         (__ieee754_exp10l): Handle underflow here rather than multiplying
73724         large negative argument by M_LN10l.
73725         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
73726         spurious overflow exception on underflow.
73728 2012-04-29  Marek Polacek  <polacek@redhat.com>
73730         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73731         (__fortify_function): New macro.
73732         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73733         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73734         __extern_always_inline.
73735         * libio/bits/stdio2.h: Likewise.
73736         * libio/bits/stdio.h: Likewise.
73737         * string/string.h: Likewise.
73738         * string/bits/string3.h: Likewise.
73739         * include/stdio.h: Likewise.
73740         * stdlib/bits/stdlib.h: Likewise.
73741         * stdlib/stdlib.h: Likewise.
73742         * rt/bits/mqueue2.h: Likewise.
73743         * rt/mqueue.h: Likewise.
73744         * posix/bits/unistd.h: Likewise.
73745         * posix/unistd.h: Likewise.
73746         * io/bits/poll2.h: Likewise.
73747         * io/bits/fcntl2.h: Likewise.
73748         * io/fcntl.h: Likewise.
73749         * io/sys/poll.h: Likewise.
73750         * misc/bits/syslog.h: Likewise.
73751         * misc/bits/syslog-ldbl.h: Likewise.
73752         * misc/sys/syslog.h: Likewise.
73753         * socket/bits/socket2.h: Likewise.
73754         * socket/sys/socket.h: Likewise.
73755         * debug/tst-chk1.c: Likewise.
73756         * wcsmbs/bits/wchar2.h: Likewise.
73757         * wcsmbs/bits/wchar-ldbl.h: Likewise.
73758         * wcsmbs/wchar.h: Likewise.
73760 2012-04-29  Andreas Jaeger  <aj@suse.de>
73762         * Makerules (tests): Remove enable-check-abi protection.
73763         (check-abi-warn): Remove.
73764         (check-abi-%): Remove check-abi-warn usage.
73766         * configure.in: Remove check-abi configure option.
73767         * configure: Regenerated.
73768         * config.make.in (enable-check-abi): Remove.
73770 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
73772         [BZ #14033]
73773         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
73774         double functions to double *_finite functions.
73776         [BZ #13941]
73777         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
73778         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
73779         LDBL_MIN_EXP.
73780         * stdio-common/Makefile (tests): Add tst-sprintf3.
73781         * stdio-common/tst-sprintf3.c: New file.
73783         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
73784         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
73786 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
73788         * conform/conformtest.pl: Remove duplicate typed-constant
73789         handling.
73791 2012-04-28  David S. Miller  <davem@davemloft.net>
73793         * Makerules (%.abilist): Add vpath on sysdep_dirs.
73794         (check-abi-%): Remove AWK script prerequisite and explicit
73795         abilist directory.
73796         (check-abi): Rewrite to just diff the symlist with the abilist.
73797         (config-tls, config-abi-config): Delete, no longer used.
73798         (update-abi-%): Remove AWK script and explicit abilist directory.
73799         (update-abi): Rewrite to simply compare and conditionally copy the
73800         symlist and the sysdep abilist file.  Remove update-abi-config
73801         checks.
73802         * abilist/ld.abilist: Remove.
73803         * abilist/libBrokenLocale.abilist: Remove.
73804         * abilist/libanl.abilist: Remove.
73805         * abilist/libcrypt.abilist: Remove.
73806         * abilist/libdl.abilist: Remove.
73807         * abilist/librt.abilist: Remove.
73808         * abilist/libthread_db.abilist: Remove.
73809         * abilist/libutil.abilist: Remove.
73810         * scripts/extract-abilist.awk: Remove.
73811         * scripts/merge-abilist.awk: Remove.
73812         * sysdeps/generic/libcidn.abilist: New file.
73813         * sysdeps/generic/libnss_compat.abilist: New file.
73814         * sysdeps/generic/libnss_db.abilist: New file.
73815         * sysdeps/generic/libnss_dns.abilist: New file.
73816         * sysdeps/generic/libnss_files.abilist: New file.
73817         * sysdeps/generic/libnss_hesiod.abilist: New file.
73818         * sysdeps/generic/libnss_nis.abilist: New file.
73819         * sysdeps/generic/libnss_nisplus.abilist: New file.
73820         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
73821         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
73822         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
73823         file.
73824         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
73825         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
73826         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
73827         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
73828         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
73829         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
73830         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
73831         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
73832         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
73833         file.
73834         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
73835         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
73836         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
73837         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
73838         file.
73839         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
73840         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
73841         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
73842         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
73843         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
73844         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
73845         file.
73846         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
73847         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
73848         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
73849         file.
73850         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
73851         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
73852         New file.
73853         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
73854         New file.
73855         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
73856         New file.
73857         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
73858         New file.
73859         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
73860         New file.
73861         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
73862         New file.
73863         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
73864         New file.
73865         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
73866         New file.
73867         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
73868         New file.
73869         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
73870         New file.
73871         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
73872         New file.
73873         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
73874         New file.
73875         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
73876         New file.
73877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
73878         file.
73879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
73880         New file.
73881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
73882         New file.
73883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
73884         file.
73885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
73886         New file.
73887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
73888         New file.
73889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
73890         file.
73891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
73892         New file.
73893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73894         New file.
73895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
73896         New file.
73897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
73898         New file.
73899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
73900         New file.
73901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
73902         New file.
73903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
73904         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
73905         file.
73906         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
73907         New file.
73908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
73909         file.
73910         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
73911         file.
73912         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
73913         file.
73914         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
73915         file.
73916         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
73917         file.
73918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
73919         New file.
73920         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
73921         file.
73922         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
73923         file.
73924         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
73925         New file.
73926         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
73927         file.
73928         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
73929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
73930         file.
73931         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
73932         New file.
73933         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
73934         file.
73935         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
73936         file.
73937         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
73938         file.
73939         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
73940         file.
73941         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
73942         file.
73943         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
73944         New file.
73945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
73946         file.
73947         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
73948         file.
73949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
73950         New file.
73951         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
73952         file.
73953         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
73954         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
73955         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
73956         file.
73957         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
73958         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
73959         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
73960         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
73961         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
73962         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
73963         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
73964         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
73965         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
73966         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
73967         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
73968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
73969         file.
73970         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
73971         New file.
73972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
73973         file.
73974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
73975         file.
73976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
73977         file.
73978         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
73979         file.
73980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
73981         file.
73982         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
73983         New file.
73984         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
73985         New file.
73986         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
73987         file.
73988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
73989         New file.
73990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
73991         file.
73992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
73993         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
73994         file.
73995         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
73996         New file.
73997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
73998         file.
73999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74000         file.
74001         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74002         file.
74003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74004         file.
74005         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74006         file.
74007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74008         New file.
74009         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74010         New file.
74011         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74012         file.
74013         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74014         New file.
74015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74016         file.
74018 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74020         * conform/conformtest.pl: Fix typo in handling typed-constant from
74021         allow-header.
74023 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74025         * README: Cut down references to pre-2.6 Linux kernels and
74026         Linuxthreads.  Update lists of configurations in libc and ports
74027         and sort alphabetically.  Say "or newer" with Linux kernel version
74028         requirements.
74030         * config.h.in [IS_IN_build]: Allow compiling without optimization.
74032 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
74034         [BZ #887]
74035         * math/libm-test.inc (logb_test_downward): New test to expose
74036         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74037         rounding mode.
74039 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74041         [BZ #14027]
74042         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74043         to be done.
74044         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74045         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74047 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
74049         * sysdeps/unix/i386/brk.S: Remove file.
74050         * sysdeps/unix/i386/dl-brk.S: Likewise.
74051         * sysdeps/unix/i386/pipe.S: Likewise.
74052         * sysdeps/unix/i386/sigreturn.S: Likewise.
74053         * sysdeps/unix/i386/syscall.S: Likewise.
74054         * sysdeps/unix/i386/vfork.S: Likewise.
74055         * sysdeps/unix/i386/wait.S: Likewise.
74057         * sysdeps/unix/common/tcsendbrk.c: Move to ...
74058         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74060         * configure.in (arm*-none*): Do not allow without
74061         --enable-hacker-mode.
74062         (netbsd*): Remove case setting base_os.
74063         (386bsd*): Likewise.
74064         (freebsd*): Likewise.
74065         (bsdi*): Likewise.
74066         (osf*): Likewise.
74067         (sunos*): Likewise.
74068         (ultrix*): Likewise.
74069         (newsos*): Likewise.
74070         (dynix*): Likewise.
74071         (*bsd*): Likewise.
74072         (sysv*): Likewise.
74073         (isc*): Likewise.
74074         (esix*): Likewise.
74075         (sco*): Likewise.
74076         (minix*): Likewise.
74077         (irix4*): Likewise.
74078         (irix6*): Likewise.
74079         (solaris[2-9]*): Likewise.
74080         (none): Likewise.
74081         * configure: Regenerated.
74083 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74085         [BZ #11521]
74086         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74087         overflow or cancellation in calculating denominator.
74088         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74089         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74090         down expression to avoid unexpected rounding in newer GCCs.
74091         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74093 2012-04-26  David S. Miller  <davem@davemloft.net>
74095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74096         long-double compat symbols.
74097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74105         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74111 2012-04-25  David S. Miller  <davem@davemloft.net>
74113         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74114         HWCAP_* values only after the memory barriers have been defined.
74115         (atomic_full_barrier): Define.
74116         (atomic_read_barrier): Define.
74117         (atomic_write_barrier): Define.
74119 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74121         * shlib-versions: Add libgcc_s version information.
74122         * sysdeps/generic/libgcc_s.h: Remove.
74123         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74124         libgcc_s.h.
74125         * sysdeps/gnu/unwind-resume.c: Likewise.
74126         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74128 2012-04-25  David S. Miller  <davem@davemloft.net>
74130         * sysdeps/unix/sparc/brk.S: Delete.
74131         * sysdeps/unix/sparc/dl-brk.S: Delete.
74132         * sysdeps/unix/sparc/pipe.S: Delete.
74133         * sysdeps/unix/sparc/sysdep.S: Delete.
74134         * sysdeps/unix/sparc/sysdep.h: Delete.
74135         * sysdeps/unix/sparc/vfork.S: Delete.
74136         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74137         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74138         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74139         (ret_ERRVAL, r0, r1, MOVE): Define.
74140         (JUMPTARGET): Remove.
74141         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74142         sysdeps/unix/sparc/sysdep.h
74143         (ENTRY, END): Remove.
74144         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74146 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
74148         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74149         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74150         -DIS_IN_build.
74152         * timezone/README: Update upstream location and email address for
74153         tzcode and tzdata.
74154         * timezone/zdump.c: Update from tzcode 2012b.
74155         * timezone/zic.c: Likewise.
74157         * configure.in (libc_cv_as_needed): Remove test.
74158         * configure: Regenerated.
74159         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74160         conditional definition.
74161         [$(have-as-needed) != yes] (no-as-needed): Likewise.
74162         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74163         * config.make.in (have-as-needed): Remove variable.
74165 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74166             Paul Pluzhnikov  <ppluzhnikov@google.com>
74168         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74169         strings correctly.
74171 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
74173         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74174         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74175         * sysdeps/sh/strlen.S: Likewise.
74177 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74179         * sysdeps/unix/fork.S: Remove file.
74180         * sysdeps/unix/i386/fork.S: Likewise.
74181         * sysdeps/unix/sparc/fork.S: Likewise.
74183         * sysdeps/unix/system.c: Remove file.
74184         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74186         * sysdeps/unix/getegid.S: Remove file.
74187         * sysdeps/unix/geteuid.S: Likewise.
74189 2012-04-24  Roland McGrath  <roland@hack.frob.com>
74191         * scripts/check-localplt.awk: New file.
74192         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74193         of diff.
74194         * scripts/data/localplt-generic.data: Add a comment.
74196         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74197         NODE when __dir_mkfile failed.
74198         * sysdeps/mach/hurd/symlinkat.c: Likewise.
74199         Reported by Ludovic Courtès <ludo@gnu.org>.
74201 2012-04-24  Andreas Jaeger  <aj@suse.de>
74203         * Makerules (common-clean): Also remove gen-as-const-headers
74204         files.
74206 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74208         * Makerules (native-compile): Do not change working directory for
74209         build.  Use $(OUTPUT_OPTION) in command.
74210         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74212 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74214         [BZ #13886]
74215         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74216         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74217         * math/libm-test.inc (floor_test): Add more tests.
74218         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74220 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74222         * sysdeps/unix/getdents.c: Remove file.
74223         * sysdeps/unix/sysv/getdents.c: Likewise.
74224         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74226         * sysdeps/unix/syscalls.list (madvise): Add syscall from
74227         sysdeps/unix/mman/syscalls.list.
74228         (mmap): Likewise.
74229         (mprotect): Likewise.
74230         (msync): Likewise.
74231         (munmap): Likewise.
74232         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74233         * sysdeps/unix/mman/syscalls.list: Remove.
74234         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74236         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74237         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74238         * configure: Regenerated.
74239         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74240         $(libgcc_s_suffix).
74241         * config.make.in (libgcc_s_suffix): Remove variable.
74243 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74245         * sysdeps/unix/sysv/gethostname.c: Move to ...
74246         * sysdeps/posix/gethostname.c: ... here.
74248         * sysdeps/unix/execve.S: Remove file.
74250         * sysdeps/unix/_exit.S: Remove file.
74252 2012-04-23  Andreas Jaeger  <aj@suse.de>
74254         [BZ #13739]
74255         * manual/Makefile: Remove make dist support, there's no
74256         need for a stand-alone documentation tar ball.
74257         (TEXI2DVI): Define always, it's not in Makeconfig.
74258         (dist): Removed.
74259         (tar-it): Removed.
74260         (edition): Removed.
74261         (glibc-doc-$(edition).tar): Removed
74262         (%.Z): Removed.
74263         (%.gz): Removed.
74264         (%.uu): Removed.
74265         (ETAGS): Remove, it's in Makeconfig.
74266         (move-if-change): Remove, it's in Makeconfig.
74268 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74270         [BZ #13970]
74271         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74272         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74273         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74274         (strtod_l, strtof_l, strtold_l): Remove __wur.
74275         It is not necessarily an error to ignore strtol's return value.
74276         One can reliably look at the stored endptr to decide whether
74277         the number had valid syntax.
74279 2012-04-21  Andreas Jaeger  <aj@suse.de>
74281         [BZ #13739]
74282         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74284 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74286         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74287         * sysdeps/unix/sysv/Versions: Remove file.
74289 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74291         [BZ #13927]
74292         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74294 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74296         [BZ #7064]
74297         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74298         version from __vm86.
74300 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74302         * sysdeps/unix/common/lxstat.c: Remove file.
74303         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74305         * sysdeps/unix/sysv/Makefile: Remove file.
74307         * sysdeps/unix/sysv/direct.h: Remove file.
74309         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74310         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74311         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74312         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74313         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74314         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74315         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74317         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74319         * sysdeps/unix/xmknod.c: Remove file.
74320         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74322         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74324         * sysdeps/unix/sysv/i386/time.S: Remove file.
74326         * sysdeps/unix/fxstat.c: Remove file.
74327         * sysdeps/unix/xstat.c: Likewise.
74328         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74330         * sysdeps/unix/sysv/sigaction.c: Remove file.
74332         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74333         (sysdep_headers): Remove variable.
74334         [termio.h not in sysdep_headers] (generated): Likewise.
74335         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74336         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74337         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74338         * sysdeps/unix/sysv/tcflow.c: Likewise.
74339         * sysdeps/unix/sysv/tcflush.c: Likewise.
74340         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74341         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74342         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74343         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74344         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74346         * sysdeps/unix/siglist.c: Remove file.
74348         * sysdeps/unix/getppid.S: Remove file.
74350         * sysdeps/unix/mkdir.c: Remove file.
74351         * sysdeps/unix/rmdir.c: Likewise.
74353 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74355         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74356         ERR_MAX value.
74357         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74358         errlist-compat value.
74360 2012-04-18  David S. Miller  <davem@davemloft.net>
74362         * sysdeps/generic/memcopy.h (reg_char): Delete.
74363         * debug/strcat_chk.c: Use char, not reg_char.
74364         * debug/strcpy_chk.c: Likewise.
74365         * debug/strncat_chk.c: Likewise.
74366         * debug/strncpy_chk.c: Likewise.
74367         * string/memchr.c: Likewise.
74368         * string/memrchr.c: Likewise.
74369         * string/rawmemchr.c: Likewise.
74370         * string/strcat.c: Likewise.
74371         * string/strchr.c: Likewise.
74372         * string/strchrnul.c: Likewise.
74373         * string/strcmp.c: Likewise.
74374         * string/strcpy.c: Likewise.
74375         * string/strncat.c: Likewise.
74376         * string/strncmp.c: Likewise.
74377         * string/strncpy.c: Likewise.
74379 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74381         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74382         __builtin_memcopy is called when src and dest ranges are known to not
74383         overlap.
74385 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74387         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74388         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74389         fwd_align_merge macro call.
74390         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74391         bwd_align_merge macro call.
74392         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74394 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74396         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74397         bwd_align_merge macros.
74398         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74399         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74400         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74402 2012-04-18  David S. Miller  <davem@davemloft.net>
74404         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74406 2012-04-18  Andreas Jaeger  <aj@suse.de>
74408         [BZ# 6794]
74409         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74410         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74411         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74413         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74414         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74415         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74417         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74418         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74419         Adjust for changed ldbl-128 files.
74421         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74422         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74423         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74425 2012-04-17  David S. Miller  <davem@davemloft.net>
74427         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74429 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74431         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74432         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74433         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74434         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74435         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74436         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74438 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74440         [BZ #6794]
74441         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74442         * math/libm-test.inc: Add ilogb errno and exception tests.
74443         * math/w_ilogb.c: New file: ilogb wrapper.
74444         * math/w_ilogbf.c: New file: ilogbf wrapper.
74445         * math/w_ilogbl.c: New file: ilogbl wrapper.
74446         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74447         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74448         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74449         exception being thrown with 0.0 as argument.
74450         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74451         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74452         exception being thrown with 0.0 as argument.
74453         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74454         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74455         exception being thrown with 0.0 as argument.
74456         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74457         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74458         exception being thrown with 0.0 as argument.
74459         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74460         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74461         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74462         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74463         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74464         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74465         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74466         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74467         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74469 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74471         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74472         with altivec.
74474 2012-04-16  Marek Polacek  <polacek@redhat.com>
74476         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74478 2012-04-16  Marek Polacek  <polacek@redhat.com>
74480         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74481         operands of fdivp instruction.
74483 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74485         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74486         * elf/tst-auditmod3b.c: Likewise.
74487         * elf/tst-auditmod4b.c: Likewise.
74488         * elf/tst-auditmod5b.c: Likewise.
74489         * elf/tst-auditmod6b.c: Likewise.
74490         * elf/tst-auditmod6c.c: Likewise.
74491         * elf/tst-auditmod7b.c: Likewise.
74492         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74493         * sysdeps/x86_64/preconfigure.in: Likewise.
74494         * sysdeps/x86_64/preconfigure: Regenerated.
74496 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74498         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74499         __ILP32__.
74501 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74503         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74504         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74506 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74508         [BZ #13973]
74509         * locale/iso-639.def: Fix gl language name. Spotted by
74510         Yaron Shahrabani.
74512 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74514         [BZ #2074]
74515         * libio/libio.h (__io_write_fn): Update comment.
74517 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74519         [BZ #2074]
74520         * stdio.texi (Hook Functions): The user provided writer function
74521         is not allowed to return -1.
74523 2012-04-11  David S. Miller  <davem@davemloft.net>
74525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74527 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74529         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74530         Add a leading slash to rtkaio.
74532 2012-04-11  Jim Meyering  <meyering@redhat.com>
74534         [BZ #11959]
74535         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74536         It is not necessarily an error to ignore fwrite's return
74537         value.  One can reliably use ferror to test for errors after
74538         the fact.
74540 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74542         * bits/types.h (__snseconds_t): New type.
74543         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74545         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74546         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74547         (__SNSECONDS_T_TYPE): Likewise.
74548         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74549         (__SNSECONDS_T_TYPE): Likewise.
74550         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74551         (__SNSECONDS_T_TYPE): Likewise.
74553 2012-04-10  Andreas Jaeger  <aj@suse.de>
74555         [BZ #2636]
74556         * manual/time.texi (Processor Time): Return type of times is
74557         elapsed real time since an arbitrary point in the past.
74558         (CPU Time): Move CLK_TCK from here...
74559         (Processor Time): ...to here.  Correct description.
74560         * manual/conf.texi (Constants for Sysconf): Correct description of
74561         _SC_CLK_TCK.
74563 2012-04-10  David S. Miller  <davem@davemloft.net>
74565         [BZ #13967]
74566         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74567         where the is a gap between DT_REL(A) and DT_JMPREL.
74569 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74571         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74572         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74573         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74575 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74577         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74578         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74579         (dl_main): Handle --inhibit-cache.
74580         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74581         _dl_inhibit_cache.
74582         * elf/dl-load.c (_dl_map_object): Use it.
74583         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74585 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74587         [BZ #13872]
74588         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74589         (__ieee754_powl): Saturate large exponents rather than testing for
74590         overflow of y*log2(x).
74591         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74592         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74593         exceptions.
74595         [BZ #11521]
74596         * math/s_ctan.c: Include <float.h>.
74597         (__ctan): Avoid internal overflow or cancellation in calculating
74598         denominator.
74599         * math/s_ctanf.c: Likewise.
74600         * math/s_ctanl.c: Likewise.
74601         * math/s_ctanh.c: Likewise.
74602         * math/s_ctanhf.c: Likewise.
74603         * math/s_ctanhl.c: Likewise.
74604         * math/libm-test.inc (ctan_test): Add more tests.
74605         (ctanh_test): Likewise.
74606         * sysdeps/i386/fpu/libm-test-ulps: Update.
74607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74609 2012-04-09  Andreas Jaeger  <aj@suse.de>
74611         [BZ #6894]
74612         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74613         is an optional BSD extension.
74615         [BZ #10254]
74616         * manual/stdio.texi (Opening Streams): Document additional fopen
74617         parameters.
74619 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74621         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74622         %eax without telling the compiler.
74624 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74626         [BZ # 13963]
74627         * manual/install.texi: Use sourceware.org.
74629 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74631         [BZ #13873]
74632         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74633         (__ieee754_pow): Generate overflow and underflow using huge*huge
74634         and tiny*tiny rather than just returning constant infinity or zero
74635         for large exponents.
74636         * math/libm-test.inc (pow_test): Require overflow exceptions for
74637         applicable cases of large exponents.
74639         [BZ #706]
74640         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74641         (__ieee754_pow): Use iterative multiplication algorithm only for
74642         integer exponents with absolute value below 1024.  Check for odd
74643         integer exponents when using algorithm for real exponents.
74644         * math/libm-test.inc (pow_test): Add more tests.
74645         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74647 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74649         [BZ #13705]
74650         * math/libm-test.inc (exp_test): Do not allow overflow exception
74651         on underflow test.
74653 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74655         [BZ #13705]
74656         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74657         instead of __kernel_standard_f.
74659 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74661         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74662         * sysdeps/x86_64/memset_chk.S: Likewise.
74664 2012-04-08  Andreas Jaeger  <aj@suse.de>
74666         [BZ #10153]
74667         * manual/startup.texi (Environment Access): Describe return value
74668         for putenv and setenv.
74670         [BZ #6895]
74671         * manual/filesys.texi (Directory Entries): Add description for
74672         DT_LNK.
74674         [BZ #6890]
74675         * manual/filesys.texi (Directory Entries): Clarify that it's file
74676         system not operating system in the description of DT_UNKNOWN.
74678         [BZ #6578]
74679         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74681 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74683         [BZ #6649]
74684         * manual/llio.texi (Opening and Closing Files): Add cross
74685         reference to explain mode argument.
74687 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74689         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74690         * sysdeps/x86_64/memset_chk.S: Likewise.
74692 2012-04-07  David S. Miller  <davem@davemloft.net>
74694         * elf/elf.h (R_SPARC_WDISP10): Define.
74695         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74696         R_SPARC_SIZE32.
74697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74698         R_SPARC_SIZE64 and R_SPARC_H34.
74700 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
74702         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74703         conditions and remove no longer applicable assertion.
74705 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74707         * bits/byteswap.h: Include <features.h>.
74708         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74709         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74711 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
74713         * bits/byteswap.h (__bswap_16): Removed.
74714         Include <bits/byteswap-16.h> to get __bswap_16.
74715         * sysdeps/i386/bits/byteswap.h: Likewise.
74716         * sysdeps/s390/bits/byteswap.h: Likewise.
74717         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74718         * bits/byteswap-16.h: New file.
74719         * sysdeps/i386/bits/byteswap-16.h: Likewise.
74720         * sysdeps/s390/bits/byteswap-16.h: Likewise.
74721         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74722         * string/Makefile (headers): Add bits/byteswap-16.h.
74724 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
74726         [BZ #13895]
74727         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74728         extra indirection.
74729         * nss/Makefile (tests-static, tests): Add tst-nss-static.
74730         * nss/tst-nss-static.c: New.
74732 2012-04-06  Robert Millan  <rmh@gnu.org>
74734         [BZ #6486]
74735         * manual/llio.texi (File Position Primitive): lseek
74736         refers to WHENCE when it really means OFFSET.
74738 2012-04-06  Andreas Jaeger  <aj@suse.de>
74740         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74741         strncmp declarations.
74743         * abilist/libc.abilist: Add __poll and __ppoll.
74745 2012-04-05  David S. Miller  <davem@davemloft.net>
74747         * scripts/check-local-headers.sh: Accept a host triplet in the
74748         path matched by the exclude regexp.
74750         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74751         definition.
74752         * sysdeps/powerpc/powerpc32/dl-machine.h
74753         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74754         * sysdeps/s390/s390-32/dl-machine.h
74755         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74756         * sysdeps/sparc/sparc32/dl-machine.h
74757         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74758         * sysdeps/sparc/sparc64/dl-machine.h
74759         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74761         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74762         lazy binding.
74763         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74764         undefined symbol errors.
74766         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74767         DT_NEEDED entries.
74769 2012-04-05  Michael Matz  <matz@suse.de>
74771         [BZ #13592]
74772         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
74774 2012-04-05  Andreas Jaeger  <aj@suse.de>
74776         [BZ #13908]
74777         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
74778         comment.
74780 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74782         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
74783         which ROUND is no valid rounding mode.
74785 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74787         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
74788         read again.
74789         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
74791 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74793         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
74794         an exception using FPU order intentionally.
74796 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
74798         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
74799         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
74800         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
74801         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
74803 2012-04-05  Simon Josefsson  <simon@josefsson.org>
74805         [BZ #12340]
74806         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
74807         EINVAL when BUFLEN is too smal.
74809 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
74811         [BZ #13553]
74812         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
74813         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
74815 2012-04-03  Andreas Jaeger  <aj@suse.de>
74817         [BZ #13938]
74818         * manual/setjmp.texi (System V contexts): Fix sentence.
74820         [BZ #13926]
74821         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
74822         New macro for this case.
74823         [!__GNUC__] (__bswap_64): New inline function for this case.
74824         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74825         * bits/byteswap.h: Likewise.
74826         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
74827         ull, guard with __GLIBC_HAVE_LONG_LONG.
74829         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
74830         __GLIBC_HAVE_LONG_LONG.
74832         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
74833         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
74835 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
74837         [BZ #13691]
74838         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
74839         inptr and inend, rather than using last_ch.
74841 2012-04-02  David S. Miller  <davem@davemloft.net>
74843         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
74844         * stdio-common/printf-parse.h (read_int): Change return type to
74845         'int', return -1 on INT_MAX overflow.
74846         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
74847         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
74848         overflows INT_MAX.  Check for overflow of in-format-string precision
74849         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
74850         SIZE_MAX not INT_MAX for integer overflow test.
74851         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
74852         skip the construct in the format string but do not record anything.
74853         * stdio-common/bug22.c: Adjust to test both width/prevision
74854         INT_MAX overflow as well as total length INT_MAX overflow.  Check
74855         explicitly for proper errno values.
74857 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
74859         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
74860         CHAR_MAX.
74861         * string/test-strcmp.c [! WIDE]: Likewise.
74862         * time/tst-mktime2.c: Likewise for INT_MAX.
74863         * string/test-string.h: #include <sys/param.h> for MIN.
74865         * csu/init-first.c (__libc_init_first): Call __ctype_init.
74866         * sysdeps/i386/init-first.c (init): Likewise.
74867         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
74868         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
74869         * sysdeps/sh/init-first.c (init): Likewise.
74871 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
74873         * po/ru.po: Update from translation team.
74874         * po/vi.po: Likewise.
74876 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
74878         * resolv/nss_dns/dns-host.c: Merge copyright years.
74880 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
74883         Optimize memcpy with prefetch if
74884         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
74885         src, dst pointers have unequal 16 byte alignments.
74887 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
74889         [BZ #13928]
74890         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
74891         from a CNAME entry and return the minimum ttl for the query.
74892         (gaih_getanswer_slice): Likewise.
74894 2012-03-30  Jeff Law  <law@redhat.com>
74896         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
74897         due to long keys.
74898         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
74899         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
74901         * resolv/nss_dns/dns-host.c: Update copyright year.
74903 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
74905         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
74906         requests to save a system call.  Fix check that all bytes are sent.
74908         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
74909         comments for sendmmsg.
74911 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74913         [BZ #13691]
74914         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
74915         with only 1 character between 0x0041 and 0x01b0.
74916         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
74917         * wcsmbs/tst-mbsnrtowcs.c: New file.
74919 2012-03-29  David S. Miller  <davem@davemloft.net>
74921         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
74922         small copies by hand.
74924 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
74926         [BZ #13761]
74927         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
74928         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
74929         group memberships.
74931 2012-03-28  David S. Miller  <davem@davemloft.net>
74933         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
74934         that branches into memcpy.
74935         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
74936         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
74937         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
74938         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
74939         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
74940         bits.
74941         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
74942         implementation too.
74943         * sysdeps/sparc/mempcpy.S: New file.
74945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
74946         the IFUNC routine in the libc case.
74947         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
74949         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
74950         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
74951         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
74952         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
74953         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
74954         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
74955         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
74956         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
74958         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
74959         loop to 256 bytes instead of 64 bytes and fix test signedness.
74961         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
74962         * sysdeps/sparc/sparc32/Makefile: rather than here...
74963         * sysdeps/sparc/sparc64/Makefile: and here.
74965 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
74967         * malloc/mallocbug.c: Avoid warnings about unused variables.
74969 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
74971         [BZ #13760]
74972         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
74973         in the right place. Discard and retry query if response is
74974         larger than input buffer size.
74976 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
74978         [BZ #369]
74979         [BZ #2678]
74980         [BZ #3866]
74981         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
74982         x for large integer exponent.
74983         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
74984         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
74985         sign of result as needed afterwards.
74986         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
74987         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
74988         result for underflowing pow the same as for overflow.
74989         (__kernel_standard_l): Handle powl overflow and underflow here
74990         rather than calling __kernel_standard.
74991         * math/libm-test.inc (pow_test): Add more tests.
74993         [BZ #3868]
74994         [BZ #13879]
74995         [BZ #13910]
74996         [BZ #13911]
74997         [BZ #13912]
74998         [BZ #13913]
74999         [BZ #13915]
75000         [BZ #13916]
75001         [BZ #13917]
75002         [BZ #13918]
75003         [BZ #13919]
75004         [BZ #13920]
75005         [BZ #13921]
75006         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75007         * sysdeps/ieee754/k_standard.c: Include <float.h>.
75008         (__kernel_standard_l): New function.
75009         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75010         __kernel_standard.
75011         * math/w_acosl.c (__acosl): Likewise.
75012         * math/w_asinl.c (__asinl): Likewise.
75013         * math/w_atan2l.c (__atan2l): Likewise.
75014         * math/w_atanhl.c (__atanhl): Likewise.
75015         * math/w_coshl.c (__coshl): Likewise.
75016         * math/w_exp10l.c (__exp10l): Likewise.
75017         * math/w_exp2l.c (__exp2l): Likewise.
75018         * math/w_fmodl.c (__fmodl): Likewise.
75019         * math/w_hypotl.c (__hypotl): Likewise.
75020         * math/w_j0l.c (__j0l, __y0l): Likewise.
75021         * math/w_j1l.c (__j1l, __y1l): Likewise.
75022         * math/w_jnl.c (__jnl, __ynl): Likewise.
75023         * math/w_lgammal.c (__lgammal): Likewise.
75024         * math/w_log10l.c (__log10l): Likewise.
75025         * math/w_log2l.c (__log2l): Likewise.
75026         * math/w_logl.c (__logl): Likewise.
75027         * math/w_powl.c (__powl): Likewise.
75028         * math/w_remainderl.c (__remainderl): Likewise.
75029         * math/w_scalbl.c (sysv_scalbl): Likewise.
75030         * math/w_sinhl.c (__sinhl): Likewise.
75031         * math/w_sqrtl.c (__sqrtl): Likewise.
75032         * math/w_tgammal.c (__tgammal): Likewise.
75033         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75034         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75035         * math/libm-test.inc (acos_test): Add more tests.
75036         (acosh_test): Likewise.
75037         (asin_test): Likewise.
75038         (atanh_test): Likewise.
75039         (exp_test): Likewise.
75040         (exp10_test): Likewise.
75041         (exp2_test): Likewise.
75042         (expm1_test): Likewise.
75043         (lgamma_test): Likewise.
75044         (log_test): Likewise.
75045         (log10_test): Likewise.
75046         (log1p_test): Likewise.
75047         (log2_test): Likewise.
75048         (pow_test): Do not allow some spurious overflow exceptions.
75049         (sqrt_test): Add more tests.
75050         (tgamma_test): Likewise.
75051         (y0_test): Likewise.
75052         (y1_test): Likewise.
75053         (yn_test): Likewise.
75055 2012-03-27  Anton Blanchard  <anton@samba.org>
75057         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75058         MAP_HUGETLB.
75059         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75060         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75061         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75063 2012-03-27  David S. Miller  <davem@davemloft.net>
75065         * conform/Makefile: Run run-conformtest.sh using $(BASH).
75067         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75068         have-as-vis3 check.
75070 2012-03-27  Andreas Jaeger  <aj@suse.de>
75072         * sysdeps/x86_64/elf/configure.in: Moved to ...
75073         * sysdeps/x86_64/configure.in: ... here.
75074         * sysdeps/x86_64/elf/start.S: Moved to ...
75075         * sysdeps/x86_64/start.S: ... here.
75076         * sysdeps/x86_64/elf/configure: Delete.
75078         * sysdeps/x86_64/configure.in: Merge contents from
75079         sysdeps/i386/configure.in (without i686 check).
75081         * sysdeps/i386/elf/Versions: Merge into ...
75082         * sysdeps/i386/Versions: ... this.
75083         * sysdeps/i386/elf/Versions: Delete file.
75084         * sysdeps/i386/elf/start.S: Moved to ...
75085         * sysdeps/i386/start.S: ...here.
75086         * sysdeps/i386/elf/configure.in: Merge into...
75087         * sysdeps/i386/configure.in: ...here.
75088         * sysdeps/i386/elf/configure.in: Delete file.
75089         * sysdeps/i386/elf/configure: Delete file.
75091         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75092         * debug/backtracesyms.c: ... here.
75093         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75094         * debug/backtracesymsfd.c: ... here.
75095         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75096         * sysdeps/generic/ifunc-sel.h: ... here.
75098         * sysdeps/unix/i386/start.c: Delete file.
75099         * sysdeps/unix/sparc/start.c: Delete file.
75100         * sysdeps/unix/start.c: Delete file.
75102         * sysdeps/sh/elf/configure.in: Moved to ...
75103         * sysdeps/sh/configure.in: ... here.
75104         * sysdeps/sh/elf/start.S: Moved to ...
75105         * sysdeps/sh/start.S: ... here.
75106         * sysdeps/sh/elf/configure: Delete file.
75108         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75109         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75110         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75111         * sysdeps/powerpc/powerpc64/entry.h: ... here.
75112         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75113         * sysdeps/powerpc/powerpc64/start.S: here.
75114         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75115         * sysdeps/powerpc/powerpc64/Makefile: ... this.
75116         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75117         * sysdeps/powerpc/powerpc64/configure.in: ... this.
75118         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75120         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75121         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75122         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75123         * sysdeps/powerpc/powerpc32/start.S: ... here.
75124         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75125         * sysdeps/powerpc/powerpc32/configure.in: ... this.
75126         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75128         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75129         * sysdeps/powerpc/ifunc-sel.h: ... here.
75130         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75131         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75133         * sysdeps/sparc/elf/configure.in: Moved to ...
75134         * sysdeps/sparc/configure.in: ... here.
75135         * sysdeps/sparc/elf/configure: Delete file.
75136         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75137         * sysdeps/sparc/sparc32/start.S: ... here.
75138         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75139         * sysdeps/sparc/sparc64/start.S: ... here.
75140         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75141         * sysdeps/sparc/sparc32/Makefile: ... this.
75142         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75143         * sysdeps/sparc/sparc64/Makefile: ... this.
75145         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75146         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75147         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75148         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75149         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75150         * sysdeps/s390/s390-32/setjmp.S: ... here.
75151         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75152         * sysdeps/s390/s390-32/configure.in: ... here.
75153         * sysdeps/s390/s390-32/elf/configure: Delete file.
75154         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75155         * sysdeps/s390/s390-32/start.S: ... here.
75157         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75158         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75159         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75160         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75161         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75162         * sysdeps/s390/s390-64/setjmp.S: ... here.
75163         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75164         * sysdeps/s390/s390-64/configure.in: ... here
75165         * sysdeps/s390/s390-64/elf/configure: Delete file.
75166         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75167         * sysdeps/s390/s390-64/start.S: ... here.
75168         * sysdeps/s390/s390-64/elf/configure: Delete.
75170         * configure.in: Remove support for elf directories in sysdeps.
75172         * configure: Regenerated.
75173         * sysdeps/i386/configure: Regenerated.
75174         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75175         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75176         * sysdeps/s390/s390-32/configure: Regenerated.
75177         * sysdeps/s390/s390-64/configure: Regenerated.
75178         * sysdeps/sh/configure: Regenerated.
75179         * sysdeps/sparc/configure: Regenerated.
75180         * sysdeps/x86_64/configure: Regenerated.
75182 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
75184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75186         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75187         denormal result into account.
75189 2012-03-25  Roland McGrath  <roland@hack.frob.com>
75191         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75192         Reported by Allan McRae <allan@archlinux.org>.
75194 2012-03-23  Jeff Law  <law@redhat.com>
75196         * nss/getnssent.c (__nss_getent): Fix typo.
75198 2012-03-23  David S. Miller  <davem@davemloft.net>
75200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75202 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
75204         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75205         to pad to uint64_t for each field.
75206         (dl_tls_index): Replace unsigned long with uint64_t.
75208 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
75209         Paul Pluzhnikov  <ppluzhnikov@google.com>
75211         [BZ #6528]
75212         * grp/Makefile (otherlibs): Don't set it.
75213         * inet/Makefile (otherlibs): Likewise.
75214         * login/Makefile (otherlibs): Likewise.
75215         * nscd/Makefile (otherlibs): Likewise.
75216         * posix/Makefile (otherlibs): Likewise.
75217         * pwd/Makefile (otherlibs): Likewise.
75218         * rt/Makefile (otherlibs): Likewise.
75219         * sunrpc/Makefile (otherlibs): Likewise.
75220         * nss/Makefile (otherlibs): Likewise.
75221         Add libnss_files to routines and static-only-routines.
75222         ($(objpfx)getent): Remove rule.
75223         * resolv/Makefile: Add libnss_dns and libresolv to routines and
75224         static-only-routines.
75226 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75228         [BZ #13892]
75229         * math/s_cexp.c: Include <float.h>.
75230         (__cexp): Handle exp result overflowing not necessarily
75231         overflowing both real and imaginary parts of result.
75232         * math/s_cexpf.c: Likewise.
75233         * math/s_cexpl.c: Likewise.
75234         * math/libm-test.inc (cexp_test): Add more tests.
75235         * sysdeps/i386/fpu/libm-test-ulps: Update.
75236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75238 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75240         * include/link.h (ELFW): New macro.
75241         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75242         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75244 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75246         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75247         with uint64_t.
75249 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75251         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75252         declaration.
75253         (struct La_x32_retval): Likewise.
75255 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75257         * sysdeps/x86_64/preconfigure.in: New file.
75258         * sysdeps/x86_64/preconfigure: New generated file.
75260 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75262         [BZ #13824]
75263         * math/e_exp2l.c: Include <float.h>.
75264         (__ieee754_exp2l): Handle overflow and underflow cases
75265         separately.  Only pass fractional part of argument to
75266         __ieee754_expl.
75267         * math/libm-test.inc (exp2_test): Add more tests.
75269         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75270         negating x to take absolute value.
75271         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75272         Likewise.
75273         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75274         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75275         Likewise.
75276         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75277         computing low part if x was negated.
75278         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75280 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75282         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75283         la_x32_gnu_pltexit.
75284         (pltexit): Cast int_retval to ptrdiff_t.
75285         * elf/tst-auditmod3b.c: Likewise.
75286         * elf/tst-auditmod4b.c: Likewise.
75287         * elf/tst-auditmod5b.c: Likewise.
75288         * elf/tst-auditmod6b.c: Likewise.
75289         * elf/tst-auditmod6c.c: Likewise.
75290         * elf/tst-auditmod7b.c: Likewise.
75292         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75293         and x32_gnu_pltexit.
75295         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75296         __ELF_NATIVE_CLASS.
75297         (La_x32_regs): New macro.
75298         (La_x32_retval): Likewise.
75299         (la_x32_gnu_pltenter): New function prototype.
75300         (la_x32_gnu_pltexit): Likewise.
75302 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75304         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75305         exponent.
75307         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75309         * configure.in (libc_cv_cc_nofma): Check for option to disable
75310         generation of FMA instructions.
75311         * configure: Regenerate.
75312         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75313         * sysdeps/ieee754/dbl-64/Makefile: New file.
75314         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75315         Remove brandred-fma4.
75316         (CFLAGS-brandred-fma4.c): Remove.
75317         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75318         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75319         define.
75320         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75321         define.
75323 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75325         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75326         LLONG_MAX != LONG_MAX.
75327         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75328         (_fitoa_word): Likewise.
75329         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75330         LLONG_MAX != LONG_MAX.
75331         * stdio-common/_itowa.h: Include <_itoa.h>.
75332         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75333         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75334         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75335         only if not defined.
75336         (_ITOA_WORD_TYPE): Likewise.
75337         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75338         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75340 2012-03-21  David S. Miller  <davem@davemloft.net>
75342         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75344 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75346         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75347         of x86_64 when setting libc_cv_slibdir, libdir and
75348         libc_cv_localedir.
75349         * sysdeps/unix/sysv/linux/configure: Regenerated.
75351 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75353         * manual/lang.texi (Old Varargs): Remove section.
75354         (How Variadic): Update menu.
75355         (va_start): Do not mention varargs.h.
75357 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75358             Joseph Myers  <joseph@codesourcery.com>
75360         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75361         link test.
75362         * configure: Regenerated.
75364 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75366         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75367         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75368         conformtest.pl
75370 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75372         * NOTES: Remove.
75373         * Makefile (files-for-dist): Remove NOTES.
75374         (NOTES): Remove rule.
75375         * README: Don't refer to NOTES.
75376         * manual/creature.texi: Don't include macros.texi.
75377         * manual/intro.texi (creature.texi): Remove comment referring to
75378         NOTES.
75380         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75381         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75382         * configure: Regenerated.
75383         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75384         LIBC_TRY_CC_OPTION.
75385         (libc_cv_as_i686): Likewise.
75386         (libc_cv_cc_avx): Likewise.
75387         (libc_cv_cc_sse2avx): Likewise.
75388         (libc_cv_cc_fma4): Likewise.
75389         (libc_cv_cc_novzeroupper): Likewise.
75390         * sysdeps/i386/configure: Regenerated.
75392         [BZ #13883]
75393         * sysdeps/i386/fpu/s_cexp.S: Remove.
75394         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75395         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75396         * math/libm-test.inc (cexp_test): Add more tests.
75397         * sysdeps/i386/fpu/libm-test-ulps: Update.
75398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75400 2012-03-21  Allan McRae  <allan@archlinux.org>
75402         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75404 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75406         [BZ #13871]
75407         * math/w_exp2.c: Do not include <float.h>.
75408         (o_threshold, u_threshold): Remove.
75409         (__exp2): Calculate result before checking finiteness and calling
75410         __kernel_standard.
75411         * math/w_exp2f.c: Likewise.
75412         * math/w_exp2l.c: Likewise.
75413         * math/libm-test.inc (exp2_test): Require overflow exception for
75414         1e6 input.
75416         [BZ #3866]
75417         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75418         range of signed 64-bit integers before using fistpll.  Remove
75419         checks for whether integers fit in mantissa bits.
75420         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75421         the range of signed 32-bit integers before using fistpl.  Remove
75422         checks for whether integers fit in mantissa bits.
75423         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75424         (__ieee754_powl): Test for y outside the range of signed 64-bit
75425         integers before using fistpll.  Reduce 64-bit values to 63-bit
75426         ones as needed.
75427         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75428         divide-by-zero is raised for zero to large negative powers.
75429         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75430         (__ieee754_powl): Test for y outside the range of signed 64-bit
75431         integers before using fistpll.  Reduce 64-bit values to 63-bit
75432         ones as needed.
75433         * math/libm-test.inc (pow_test): Add more tests.
75435 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75437         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75438         <stdio-common/_itoa.h>.
75439         * debug/segfault.c: Likewise.
75440         * elf/dl-cache.c: Likewise.
75441         * elf/dl-minimal.c: Likewise.
75442         * elf/dl-misc.c: Likewise.
75443         * elf/dl-sysdep.c: Likewise.
75444         * elf/dl-version.c: Likewise.
75445         * elf/rtld.c: Likewise.
75446         * hurd/hurdsock.c: Likewise.
75447         * hurd/lookup-retry.c: Likewise.
75448         * malloc/malloc.c: Likewise.
75449         * malloc/mtrace.c: Likewise.
75450         * nscd/nscd_getgr_r.c: Likewise.
75451         * nscd/nscd_getpw_r.c: Likewise.
75452         * nscd/nscd_getserv_r.c: Likewise.
75453         * posix/getopt_init.c: Likewise.
75454         * posix/wordexp.c: Likewise.
75455         * stdio-common/_itoa.c: Likewise.
75456         * stdio-common/printf_fphex.c: Likewise.
75457         * stdio-common/vfprintf.c: Likewise.
75458         * string/_strerror.c: Likewise.
75459         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75460         * sysdeps/i386/i686/hp-timing.h: Likewise.
75461         * sysdeps/mach/_strerror.c: Likewise.
75462         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75463         * sysdeps/mach/hurd/sethostid.c: Likewise.
75464         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75465         * sysdeps/mach/xpg-strerror.c: Likewise.
75466         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75467         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75468         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75469         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75470         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75471         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75472         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75473         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75474         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75475         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75476         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75477         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75478         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75479         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75480         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75481         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75482         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75483         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75484         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75485         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75486         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75488         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75490         * stdio-common/_itoa.h: Moved to ...
75491         * sysdeps/generic/_itoa.h: Here.
75493         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75495         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75496         instead of "_itoa.h" and "_itowa.h".
75497         * stdio-common/vfprintf.: Likewise.
75499 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75501         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75502         <bits/wordsize.h>.
75503         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75504         (__signbit): Likewise.
75505         (llrintf): Likewise.
75506         (llrint): Likewise.
75508 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75510         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75511         __WORDSIZE != 64.
75513 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75515         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75516         OVERFLOW_EXCEPTION_OK.
75517         * math/libm-test.inc ("Philosophy"): Update comment about
75518         exception testing.
75519         (OVERFLOW_EXCEPTION): Define.
75520         (OVERFLOW_EXCEPTION_OK): Likewise.
75521         (INVALID_EXCEPTION_OK): Renumber.
75522         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75523         (IGNORE_ZERO_INF_SIGN): Likewise.
75524         (test_exceptions): Handle FE_OVERFLOW.
75525         (exp10_test): Expect overflow exceptions.
75526         (exp2_test): Likewise.
75527         (expm1_test): Likewise.
75528         (nextafter_test): Likewise.
75529         (pow_test): Likewise.
75530         (scalbn_test): Likewise.
75531         (scalbln_test): Likewise.
75533 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75535         * sysdeps/x86_64/bits/atomic.h
75536         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75537         64bit integer.
75538         (atomic_exchange_acq): Likewise.
75539         (__arch_exchange_and_add_body): Likewise.
75540         (__arch_add_body): Likewise.
75541         (atomic_add_negative): Likewise.
75542         (atomic_add_zero): Likewise.
75544 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75546         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75547         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75549 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75551         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75552         Check __x86_64__ instead of __WORDSIZE.
75554 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75556         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75558 2012-03-19  David S. Miller  <davem@davemloft.net>
75560         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75562         * sysdeps/sparc/fpu/fenv_private.h: New file.
75563         * sysdeps/sparc/fpu/math_private.h: Use it.
75564         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75565         Remove.
75566         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75567         (libc_feholdexcept_setroundl): Remove.
75568         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75569         Remove.
75570         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75571         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75573 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75575         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75576         int64_t instead of long int.
75577         (INSERT_WORDS64): Likewise.
75579 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75581         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75582         _Unwind_GetCFA return to _Unwind_Ptr first.
75584 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75586         [BZ #13629]
75587         * math/s_clog.c: Include <float.h>.
75588         (__clog): Scale large or subnormal inputs.
75589         * math/s_clogf.c: Likewise.
75590         * math/s_clogl.c: Likewise.
75591         * math/s_clog10.c: Include <float.h>.
75592         (M_LOG10_2): Define.
75593         (__clog10): Scale large or subnormal inputs.
75594         * math/s_clog10f.c: Likewise.
75595         * math/s_clog10l.c: Likewise.
75596         * math/libm-test.inc (clog_test): Add more tests.
75597         (clog10_test): Likewise.
75598         * sysdeps/i386/fpu/libm-test-ulps: Update.
75599         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75601         [BZ #11451]
75602         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75603         x and y.
75604         * math/libm-test.inc (atan2_test): Add another test.
75606         * Makerules (common-objdir-compile): Remove.
75607         * sysdeps/unix/Makefile (config-generated): Do not add
75608         $(unix-generated) to variable.
75609         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75610         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75611         Remove rule.
75612         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75613         Likewise.
75614         [generic bits/local_lim.h] (before-compile): Do not append to
75615         variable.
75616         [generic bits/local_lim.h] (common-generated): Likewise.
75617         [generic sys/param.h] (before-compile): Do not append to variable.
75618         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75619         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75620         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75621         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75622         include.
75623         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75624         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75625         [generic sys/param.h] ($(addprefix
75626         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75627         [generic sys/param.h] (common-generated): Do not append to
75628         variable.
75629         [generic sys/param.h] (sysdep_headers): Likewise.
75630         [generic bits/errno.h] (before-compile): Do not append to
75631         variable.
75632         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75633         rule.
75634         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75635         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75636         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75637         [generic bits/errno.h] (common-generated): Do not append to
75638         variable.
75639         [generic bits/ioctls.h] (before-compile): Do not append to
75640         variable.
75641         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75642         rule.
75643         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75644         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75645         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75646         rule.
75647         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75648         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75649         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75650         [generic bits/ioctls.h] (common-generated): Do not append to
75651         variable.
75652         [generic sys/syscall.h] (syscall.h): Remove variable.
75653         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75654         rule.
75655         [generic sys/syscall.h] (before-compile): Do not append to
75656         variable.
75657         [generic sys/syscall.h] (common-generated): Likewise.
75658         * sysdeps/unix/errnos-tmpl.c: Remove file.
75659         * sysdeps/unix/errnos.awk: Likewise.
75660         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75661         * sysdeps/unix/ioctls.awk: Likewise.
75662         * sysdeps/unix/mk-local_lim.c: Likewise.
75663         * sysdeps/unix/snarf-ioctls: Likewise.
75665 2012-03-19  Richard Henderson  <rth@twiddle.net>
75667         * sysdeps/i386/fpu/fenv_private.h: New file.
75668         * sysdeps/i386/fpu/math_private.h: Use it.
75669         (math_opt_barrier, math_force_eval): Remove.
75670         (libc_feholdexcept_setround_53bit): Remove.
75671         (libc_feupdateenv_53bit): Remove.
75672         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75673         (math_opt_barrier, math_force_eval): Remove.
75674         (libc_feholdexcept): Remove.
75675         (libc_feholdexcept_setround): Remove.
75676         (libc_fetestexcept, libc_fesetenv): Remove.
75677         (libc_feupdateenv_test): Remove.
75678         (libc_feupdateenv, libc_feholdsetround): Remove.
75679         (libc_feresetround): Remove.
75681         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75682         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75684         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75685         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75686         (libc_feupdateenv_testl): New.
75687         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75688         (libc_feupdateenv_testf): New.
75689         (libc_feupdateenv): Use libc_feupdateenv_test.
75690         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75691         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75693         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75694         (libc_feholdsetroundf, libc_feholdsetroundl): New.
75695         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75696         (libc_feresetround_noex): New.
75697         (libc_feresetround_noexf): New.
75698         (libc_feresetround_noexl): New.
75699         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75700         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75701         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75702         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75703         SET_RESTORE_ROUND.
75704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75705         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75706         (__cos): Likewise.
75707         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75708         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75709         SET_RESTORE_ROUND_NOEX.
75710         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75711         SET_RESTORE_ROUND_NOEXF.
75712         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75713         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75714         (libc_feholdsetroundf): New.
75715         (libc_feresetround, libc_feresetroundf): New.
75717         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75718         (libc_feholdexcept_setround_53bit): Convert from macro to function.
75719         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
75721         * sysdeps/generic/math_private.h: Include <fenv.h>.
75722         (default_libc_feholdexcept): New.
75723         (default_libc_feholdexcept_setround): New.
75724         (default_libc_fesetenv, default_libc_feupdateenv): New.
75725         (libc_feholdexcept): Only define if undefined.
75726         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75727         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75728         (libc_feholdexcept_setroundl): Likewise.
75729         (libc_feholdexcept_setround_53bit): Likewise.
75730         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75731         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75732         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75733         (libc_feupdateenv_53bit): Likewise.
75734         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75735         (libc_feholdexcept): Convert from macro to inline function.
75736         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75737         (libc_fesetenv, libc_feupdateenv): Likewise.
75739         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75740         not previously defined.
75741         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75742         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75743         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75744         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75745         * sysdeps/ieee754/flt-32/math_private.h: New file.
75746         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75747         math_private.h below SET_FLOAT_WORD.
75748         (__isnan, __isinf_ns, __finite): Remove.
75749         (__isnanf, __isinf_nsf, __finitef): Remove.
75751 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
75753         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75755 2012-03-17  David S. Miller  <davem@davemloft.net>
75757         [BZ #6471]
75758         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75759         for 2.16.
75761 2012-03-16  David S. Miller  <davem@davemloft.net>
75763         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75764         warnings.
75766         [BZ #6471]
75767         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75768         properly.
75769         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
75770         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
75771         sysdep_routines when subdir is sysvipc.
75772         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
75773         __getshmlba helper.
75775         * sysdeps/sparc/fpu/libm-test/ulps: Update.
75777 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75779         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
75780         [__LP64__].
75782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75784         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
75785         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
75786         (__lround): Renamed to ...
75787         (__llround): This.  Replace long int with long long int.
75788         Define lround functions as aliases of llround functions.
75789         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
75791 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75793         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
75794         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
75795         adresses to uintptr_t.  Replace "long int" and "unsigned long
75796         int" with "greg_t" on va_arg.
75798 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75800         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
75801         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
75803         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
75804         Move e_machine check before EI_CLASS check.  Handle x32
75805         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
75806         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
75807         SKIP_EM_IA_64 and include
75808         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
75810         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
75811         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
75812         (add_system_dir): New macro.
75814         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
75815         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
75817 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75819         [BZ #2551]
75820         [BZ #2552]
75821         [BZ #2553]
75822         [BZ #2554]
75823         [BZ #2562]
75824         [BZ #2563]
75825         [BZ #2565]
75826         [BZ #2566]
75827         [BZ #2576]
75828         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
75829         (y0): Likewise.
75830         * math/w_j0f.c (j0f): Likewise.
75831         (y0f): Likewise.
75832         * math/w_j0l.c (__j0l): Likewise.
75833         (__y0l): Likewise.
75834         * math/w_j1.c (j1): Likewise.
75835         (y1): Likewise.
75836         * math/w_j1f.c (j1f): Likewise.
75837         (y1f): Likewise.
75838         * math/w_j1l.c (__j1l): Likewise.
75839         (__y1l): Likewise.
75840         * math/w_jn.c (jn): Likewise.
75841         (yn): Likewise.
75842         * math/w_jnf.c (jnf): Likewise.
75843         (ynf): Likewise.
75844         * math/w_jnl.c (__jnl): Likewise.
75845         (__ynl): Likewise.
75846         * math/libm-test.inc (j0_test): Add more tests.
75847         (j1_test): Likewise.
75848         (jn_test): Likewise.  Add trailing semicolon to existing test.
75849         (y0_test): Likewise.
75850         (y1_test): Likewise.
75851         * sysdeps/i386/fpu/libm-test-ulps: Update.
75852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75854         [BZ #13851]
75855         [BZ #13854]
75856         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
75857         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
75858         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
75859         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
75860         (__tanl): Set errno for infinite argument.
75861         * sysdeps/i386/fpu/mptan.c: Remove.
75862         * sysdeps/i386/fpu/s_tan.S: Likewise.
75863         * sysdeps/i386/fpu/s_tanl.S: Likewise.
75864         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
75865         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
75866         * math/libm-test.inc (tan_test): Add more tests and enable more
75867         tests for double and long double.
75868         * sysdeps/i386/fpu/libm-test-ulps: Update.
75869         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75871 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
75873         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
75874         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
75876 2012-03-16  Roland McGrath  <roland@hack.frob.com>
75878         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
75879         * configure.in: Use it for both main tree and add-ons.
75880         * configure: Regenerated.
75882 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
75884         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
75886 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
75888         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
75889         in comment.
75891         [BZ #13851]
75892         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
75893         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
75894         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
75895         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
75896         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
75897         infinite argument.
75898         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
75899         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
75900         != 0 for prec == 2.
75901         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
75902         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
75903         * sysdeps/i386/fpu/s_cosl.S: Likewise.
75904         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
75905         * sysdeps/i386/fpu/s_sinl.S: Likewise.
75906         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
75907         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
75908         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
75909         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
75910         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
75911         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
75912         * math/libm-test.inc (cos_test): Add more tests and enable more
75913         tests for long double.
75914         (sin_test): Likewise.
75915         (sincos_test): Likewise.
75916         * sysdeps/i386/fpu/libm-test-ulps: Update.
75917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75919 2012-03-16  David S. Miller  <davem@davemloft.net>
75921         * sysdeps/sparc/fpu/math_private.h: New file.
75923 2012-03-15  David S. Miller  <davem@davemloft.net>
75925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
75926         file.
75927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
75928         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
75929         file.
75930         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
75931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
75932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
75933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
75934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
75935         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
75936         sysdep routines.
75937         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
75939         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
75940         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
75942         * sysdeps/sparc/sparc-ifunc.h: New file.
75943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
75944         sparc-ifunc.h
75945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
75946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
75947         Likewise.
75948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
75949         Likewise.
75950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
75951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
75952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
75953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
75954         Likewise.
75955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
75956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
75957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
75958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
75959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
75960         Likewise.
75961         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
75962         Likewise.
75963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
75964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
75965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
75966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
75967         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
75968         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
75969         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
75970         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
75971         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
75972         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
75973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
75974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
75975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
75976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
75977         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
75978         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
75979         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
75980         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
75981         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
75982         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
75983         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
75984         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
75985         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
75986         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
75988 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
75990         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
75991         scaling.
75992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75994 2012-03-15  Andreas Jaeger  <aj@suse.de>
75996         [BZ #13852]
75997         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
75998         ieee754/flt-32 implementation for sin, cos and sincos.
75999         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76000         * sysdeps/i386/fpu/s_cosf.S: Likewise.
76001         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76002         * sysdeps/i386/fpu/s_sinf.S: Likewise.
76003         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76004         ieee754/flt-32 implementation for tan.
76006         * math/libm-test.inc (cos_test): Enable some large input tests for
76007         float as well
76008         (sin_test): Likewise.
76009         (sincos_test): Likewise.
76010         (tan_test): Add tests for large input.
76012         * sysdeps/i386/fpu/libm-test-ulps: Update.
76014 2012-03-15  Andreas Jaeger  <aj@suse.de>
76016         [BZ #13658]
76017         * math/libm-test.inc (cos_test): Add more test cases.
76018         (sin_test): Likewise.
76019         (sincos_test): Likewise.
76021 2012-03-15  Andreas Jaeger  <aj@suse.de>
76023         [BZ #13837]
76024         * math/libm-test.inc (cos_test): Add a test case for large input
76025         value.
76026         (sin_test): Likewise.
76027         (sincos_test): Likewise.
76029 2012-03-15  Andreas Jaeger  <aj@suse.de>
76030             Joseph Myers  <joseph@codesourcery.com>
76032         [BZ #13658]
76033         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76034         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76035         * sysdeps/i386/fpu/branred.c: Likewise.
76036         * sysdeps/i386/fpu/dosincos.c: Likewise.
76037         * sysdeps/i386/fpu/mpa.c: Likewise.
76038         * sysdeps/i386/fpu/s_cos.S: Likewise.
76039         * sysdeps/i386/fpu/s_sin.S: Likewise.
76040         * sysdeps/i386/fpu/s_sincos.S: Likewise.
76041         * sysdeps/i386/fpu/sincos32.c: Likewise.
76043         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76044         Define.
76045         (libc_feupdateenv_53bit): Define.
76046         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76047         Define.
76048         (libc_feupdateenv_53bit): Define.
76050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76051         53 bit (without extend i386 double precision).
76053         * math/libm-test.inc (sincos_test): Add tests for large input.
76054         (sin): Likewise.
76055         (cos): Likewise.
76057         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76059 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76063 2012-03-15  David S. Miller  <davem@davemloft.net>
76065         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76066         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76067         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76068         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76070         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76071         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76073         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76074         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76075         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76076         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76077         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76078         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76079         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76081         file.
76082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76084         file.
76085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76087         file.
76088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76090         file.
76091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76092         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76093         fmin/fmax sysdep routines.
76094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76096 2012-03-14  David S. Miller  <davem@davemloft.net>
76098         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76099         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76102         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76103         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76104         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76105         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76107         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76108         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76109         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76110         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76111         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76112         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76113         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76114         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76115         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76116         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76117         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76118         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76119         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76120         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76121         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76122         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76123         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76124         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76125         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76126         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76127         routines.
76128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76129         file.
76130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76132         file.
76133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76135         file.
76136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76138         file.
76139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76141         file.
76142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76144         file.
76145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76146         file.
76147         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76148         file.
76149         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76150         file.
76151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76152         New file.
76153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76154         file.
76155         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76156         file.
76157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76158         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76159         file.
76160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76161         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76162         file.
76163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76165         file.
76166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76168         VIS3 routines.
76170         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76171         New file.
76173         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76175         * sysdeps/sparc/configure.in: New file.
76176         * sysdeps/sparc/configure: Generate.
76177         * configure.in (libc_cv_sparc_as_vis3): Substitute.
76178         * configure: Regenerate.
76179         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76180         * config.make.in (have-as-vis3): New.
76181         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76182         available use -Av9d instead of -Av9a.
76183         * sysdeps/sparc/sparc64/Makefile: Likewise.
76184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76186         New file.
76187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76188         file.
76189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76190         New file.
76191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76192         file.
76193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76194         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76195         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76196         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76197         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76199         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76200         fzeros/fnegs to load 0x80000000 into a float register instead of
76201         using the stack.
76202         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76204 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76206         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76207         bits/syscall.h.
76208         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76209         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76210         ($(inst_includedir)/bits/syscall.h): Remove rule.
76211         ($(objpfx)bits/syscall.d): Include instead of
76212         $(objpfx)syscall-list.d.
76213         (generated): Change syscall-list.h and syscall-list.d to
76214         bits/syscall.h and bits/syscall.d.
76216 2012-03-14  Roland McGrath  <roland@hack.frob.com>
76218         [BZ #13846]
76219         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76221 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76223         [BZ #13841]
76224         * math/s_csqrt.c: Include <float.h>.
76225         (__csqrt): Scale large or subnormal inputs.
76226         * math/s_csqrtf.c: Likewise.
76227         * math/s_csqrtl.c: Likewise.
76228         * math/libm-test.inc (csqrt_test): Add more tests.
76229         * sysdeps/i386/fpu/libm-test-ulps: Update.
76230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76232         [BZ #13840]
76233         * math/libm-test.inc (hypot_test): Add more tests.
76235 2012-03-13  David S. Miller  <davem@davemloft.net>
76237         [BZ #13840]
76238         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76239         double-precision for the calculation instead of scaling.
76241 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76243         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76244         manipulate bits before adding and subtracting TWO52[sx].
76245         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76246         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76247         Likewise.
76248         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76250 2012-03-13  David S. Miller  <davem@davemloft.net>
76252         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76253         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76254         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76255         rtld-global-offsets.h
76256         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76258         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76259         large parameters.
76261         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76263         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76264         'err' in the ifdef scope in which it is actually used.
76266         * nss/nss_db/db-init.c: Include string.h
76268 2012-03-12  David S. Miller  <davem@davemloft.net>
76270         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76271         masking out of the most significant byte of random value used.
76272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76273         Fix coding style in previous change.
76275         * sysdeps/unix/sysv/linux/kernel-features.h
76276         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76277         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76278         expression.
76279         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76280         later.
76282 2012-03-11  David S. Miller  <davem@davemloft.net>
76284         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76285         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76286         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76287         for 'resultvar' otherwise things get truncated on 64-bit.
76289         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76290         Fix masking out of the most significant byte of random value used.
76292         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76294 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76296         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76298 2012-03-09  David S. Miller  <davem@davemloft.net>
76300         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76301         variables with appropriate CPP guards.
76302         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76303         from the frame pointer, not the stack pointer.  Correct layout
76304         comments.  Fix test on resulting framesize and the management of
76305         the outregs buffer for pltexit.  Preserve floating point return
76306         values across _dl_call_pltexit call.
76307         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76308         framesize and the management of the outregs buffer for pltexit.
76309         Preserve floating point return values across _dl_call_pltexit
76310         call.
76311         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76312         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76313         (la_sparc64_gnu_pltexit): New functions.
76314         (print_exit): Fix format string for return register value.
76316 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76318         * sunrpc/Makefile (others): Add rpcgen.
76319         ($(objpfx)rpcgen): Remove special build rule and dependency on
76320         libc.
76321         * sunrpc/rpcgen.c: New file.
76323 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76325         [BZ #13673]
76326         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76327         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76328         * sysdeps/i386/crti.S: Likewise.
76329         * sysdeps/i386/crtn.S: Likewise.
76330         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76331         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76332         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76333         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76334         * sysdeps/sh/crti.S: Likewise.
76335         * sysdeps/sh/crtn.S: Likewise.
76336         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76338         [BZ #13673]
76339         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76340         with URL.
76341         * locale/programs/locfile-kw.gperf: Likewise.
76342         * locale/programs/charmap-kw.h: Regenerated.
76343         * locale/programs/locfile-kw.h: Likewise.
76345         [BZ #13673]
76346         * intl/plural.y: Replace FSF snail mail address with URL.
76347         * intl/plural.c: Regenerated.
76349 2012-03-09  Richard Henderson  <rth@twiddle.net>
76351         * include/math_private.h: Remove file.
76352         * math/math_private.h: Move file ...
76353         * sysdeps/generic/math_private.h: ... here.
76355         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76356         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76357         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76359         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76360         and <math_private.h>.
76361         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76362         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76363         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76364         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76365         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76366         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76367         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76368         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76369         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76370         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76371         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76372         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76373         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76374         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76375         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76376         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76377         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76378         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76379         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76380         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76381         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76382         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76383         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76384         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76385         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76386         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76387         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76388         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76389         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76390         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76391         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76392         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76393         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76394         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76395         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76396         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76397         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76398         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76399         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76400         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76401         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76402         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76403         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76404         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76405         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76406         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76407         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76408         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76409         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76410         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76411         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76412         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76413         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76414         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76415         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76416         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76417         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76418         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76419         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76420         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76421         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76422         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76423         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76424         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76425         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76426         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76427         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76428         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76429         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76430         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76431         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76432         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76433         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76434         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76435         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76436         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76437         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76438         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76439         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76440         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76441         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76442         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76443         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76444         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76446         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76447         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76448         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76449         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76450         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76451         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76452         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76453         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76454         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76455         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76456         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76457         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76458         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76459         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76460         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76461         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76462         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76463         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76464         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76465         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76466         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76467         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76468         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76469         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76470         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76471         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76472         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76473         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76474         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76475         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76476         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76477         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76478         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76479         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76480         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76481         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76482         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76483         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76484         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76485         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76486         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76487         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76488         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76489         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76490         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76491         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76492         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76493         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76494         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76495         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76496         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76497         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76498         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76499         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76500         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76501         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76502         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76503         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76504         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76505         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76506         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76507         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76508         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76509         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76510         * sysdeps/ieee754/k_standard.c: Likewise.
76511         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76512         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76513         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76514         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76515         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76516         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76517         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76518         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76519         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76520         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76521         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76522         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76523         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76524         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76525         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76526         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76527         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76528         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76529         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76530         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76531         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76532         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76533         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76534         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76535         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76536         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76537         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76538         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76539         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76540         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76541         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76542         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76543         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76544         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76545         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76546         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76547         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76548         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76549         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76550         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76551         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76552         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76553         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76554         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76555         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76556         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76557         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76558         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76559         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76560         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76562         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76563         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76564         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76565         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76566         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76567         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76568         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76569         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76570         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76571         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76572         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76573         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76574         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76575         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76576         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76577         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76578         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76579         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76580         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76581         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76582         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76583         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76584         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76585         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76586         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76587         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76588         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76589         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76590         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76591         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76592         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76593         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76594         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76595         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76597         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76598         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76599         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76600         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76602         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76603         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76604         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76605         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76606         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76607         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76608         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76609         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76610         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76613         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76614         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76615         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76616         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76617         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76618         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76619         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76620         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76621         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76622         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76623         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76624         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76625         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76626         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76627         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76628         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76629         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76630         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76631         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76632         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76633         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76634         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76635         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76636         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76637         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76638         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76639         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76640         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76641         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76642         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76643         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76644         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76645         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76646         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76647         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76648         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76649         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76650         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76651         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76652         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76653         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76654         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76655         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76656         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76657         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76658         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76659         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76660         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76661         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76662         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76663         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76664         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76665         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76666         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76667         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76668         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76669         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76670         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76671         * sysdeps/ieee754/s_lib_version.c: Likewise.
76672         * sysdeps/ieee754/s_matherr.c: Likewise.
76673         * sysdeps/ieee754/s_signgam.c: Likewise.
76674         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76675         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76676         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76677         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76678         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76679         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76680         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76681         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76682         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76683         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76684         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76685         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76686         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76687         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76688         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76689         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76690         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76691         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76692         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76693         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76694         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76696 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76698         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76699         * sunrpc/rpc_main.c: Likewise.
76700         * sunrpc/rpc_svcout.c: Likewise.
76702 2012-03-09  David S. Miller  <davem@davemloft.net>
76704         * include/math_private.h: New file.
76706 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
76708         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76709         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76710         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76711         from <bits/socket_type.h>.
76712         (enum __socket_type): Don't define here.
76713         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76714         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76715         bits/socket_type.h.
76717         [BZ #13566]
76718         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76719         checking __USE_GNU.
76721         * Makerules ($(inst_includedir)/%.h): New rule.
76722         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76723         (install-others): Remove variable setting.
76724         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76726 2012-03-08  Richard Henderson  <rth@twiddle.net>
76728         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76729         from macro to inline function; merge with the
76730         !__LIBC_INTERNAL_MATH_INLINES version.
76731         (__ieee754_sqrtf): Likewise.
76733         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76734         to inline function.
76735         (__rintf, __floor, __floorf): Likewise.
76737         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76738         macro to inline function.
76739         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76741         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76742         not <math/math_private.h>.
76744 2012-03-08  David S. Miller  <davem@davemloft.net>
76746         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76747         copyright year.
76748         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76750 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
76752         * resolv/gai_misc.c (handle_requests): Fix struct timespec
76753         normalization.
76754         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76755         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76757 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
76759         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
76760         be defined individually, they must be defined as a block.  Define
76761         S for printing a string instead of hidint the different by using a
76762         macro for adding the 'l'.
76763         * stdio-common/tst-fphex-wide.c: Adjust.
76765 2012-03-07  Marek Polacek  <polacek@redhat.com>
76767         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76769 2012-03-08  Marek Polacek  <polacek@redhat.com>
76771         [BZ #13806]
76772         * stdio-common/Makefile (tests): Add tst-fphex-wide.
76773         * stdio-common/tst-fphex.c: Define a few macros to make the
76774         test reusable.  Use them.
76775         * stdio-common/tst-fphex-wide.c: New file.
76777 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
76779         [BZ #6911]
76780         * manual/macros.texi (gnusystems): New macro.
76781         (nongnusystems): Likewise.
76782         (gnulinuxhurdsystems): Likewise.
76783         (gnuhurdsystems): Likewise..
76784         (gnulinuxsystems): Likewise.
76785         * manual/charset.texi: Use new macros or @theglibc{} to refer to
76786         variants of the GNU system, not "GNU system".
76787         * manual/conf.texi: Likewise.
76788         * manual/errno.texi: Likewise.  Update example of errno macro
76789         expansion.
76790         * manual/filesys.texi: Likewise.
76791         (getumask): Document as specific to GNU/Hurd.
76792         * manual/install.texi: Likewise.  Reword some references to
76793         GNU/Linux.
76794         * manual/intro.texi: Likewise.
76795         * manual/io.texi: Likewise.
76796         (File Name Portability): Detail which constraints are inapplicable
76797         to all GNU systems and which are only inapplicable to GNU/Hurd.
76798         * manual/job.texi: Likewise.
76799         * manual/llio.texi: Likewise.
76800         (O_NOCTTY): Document as present on GNU/Linux.
76801         * manual/maint.texi: Likewise.
76802         * manual/memory.texi: Likewise.
76803         * manual/pattern.texi: Likewise.
76804         * manual/pipe.texi: Likewise.
76805         * manual/process.texi: Likewise.
76806         * manual/resource.texi: Likewise.
76807         (RUSAGE_CHILDREN): Remove statement about specifying a particular
76808         child on GNU/Hurd.
76809         * manual/setjmp.texi: Likewise.
76810         * manual/signal.texi: Likewise.
76811         * manual/startup.texi: Likewise.
76812         * manual/stdio.texi: Likewise.
76813         * manual/terminal.texi: Likewise.
76814         (ONLCR): Document as POSIX.
76815         (OXTABS): Document availability on GNU/Linux as XTABS.
76816         (ONOEOT): Document availability separately from other bits.
76817         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
76818         * manual/time.texi: Likewise.
76819         * manual/users.texi: Likewise.
76820         * INSTALL: Regenerated.
76821         * sysdeps/gnu/errlist.c: Regenerated.
76823         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
76824         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
76825         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
76826         puts.
76827         * configure: Regenerated.
76829 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
76831         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
76832         default includes instead of AC_HEADER_CHECK.
76833         * sysdeps/i386/configure: Regenerated.
76835         [BZ #10716]
76836         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
76837         * math/s_cacoshf.c (__cacoshf): Likewise.
76838         * math/s_cacoshl.c (__cacoshl): Likewise.
76839         * math/s_casinh.c (__casinh): Set signs of result from argument.
76840         * math/s_casinhf.c (__casinhf): Likewise.
76841         * math/s_casinhl.c (__casinhl): Likewise.
76842         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
76843         (casinh_test): Add more tests.
76844         * sysdeps/i386/fpu/libm-test-ulps: Update.
76845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76847 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
76849         * po/zh_TW.po: Update from translation team.
76851         * login/Makefile (distribute): Remove variable.
76852         * catgets/Makefile: Likewise.
76853         * mach/Makefile: Likewise.
76854         * malloc/Makefile: Likewise.
76855         * misc/Makefile: Likewise.
76856         * iconv/Makefile: Likewise.
76857         * nscd/Makefile: Likewise.
76858         * hurd/Makefile: Likewise.
76859         * manual/Makefile: Likewise.
76860         * locale/Makefile: Likewise.
76861         * intl/Makefile: Likewise.
76862         * conform/Makefile: Likewise.
76863         * nss/Makefile: Likewise.
76864         * time/Makefile: Likewise.
76865         * soft-fp/Makefile: Likewise.
76866         * dirent/Makefile: Likewise.
76867         * gmon/Makefile: Likewise.
76868         * po/Makefile: Likewise.
76869         * rt/Makefile: Likewise.
76870         * socket/Makefile: Likewise.
76871         * math/Makefile: Likewise.
76872         * signal/Makefile: Likewise.
76873         * debug/Makefile: Likewise.
76874         * elf/Makefile: Likewise.
76875         * timezone/Makefile: Likewise.
76876         * stdlib/Makefile: Likewise.
76877         * iconvdata/Makefile: Likewise.
76878         * sunrpc/Makefile: Likewise.
76879         * io/Makefile: Likewise.
76880         * argp/Makefile: Likewise.
76881         * inet/Makefile: Likewise.
76882         * hesiod/Makefile: Likewise.
76883         * grp/Makefile: Likewise.
76884         * csu/Makefile: Likewise.
76885         * wctype/Makefile: Likewise.
76886         * crypt/Makefile: Likewise.
76887         * libio/Makefile: Likewise.
76888         * string/Makefile: Likewise.
76889         * nis/Makefile: Likewise.
76890         * resolv/Makefile: Likewise.
76891         * stdio-common/Makefile: Likewise.
76892         * wcsmbs/Makefile: Likewise.
76893         * dlfcn/Makefile: Likewise.
76894         * posix/Makefile: Likewise.
76896         [BZ #6959]
76897         * timezone/Makefile: Don't install timezone files, just the programs
76898         and scripts.
76900 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
76902         * nss/databases.def: Add missing gshadow entry.
76904         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
76906 2012-03-06  Marek Polacek  <polacek@redhat.com>
76908         [BZ #13726]
76909         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
76910         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
76911         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
76912         * stdio-common/tst-long-dbl-fphex.c: New file.
76914 2012-03-06  David S. Miller  <davem@davemloft.net>
76916         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
76917         (set_obp_int): New function.
76918         (get_obp_int): New function.
76919         (__get_clockfreq_via_dev_openprom): Likewise.
76920         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
76921         Avoid unused variable warnings on 'val' and use builtin_expect.
76922         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
76923         __builtin_expect.
76924         (INLINE_CLONE_SYSCALL): Likewise.
76926 2012-03-05  David S. Miller  <davem@davemloft.net>
76928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76930 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
76932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76934         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
76935         only for |x| >= 40.
76936         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76938 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
76940         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
76941         Replace gettimeofday with __vdso_gettimeofday.
76943         * sysdeps/unix/sysv/linux/x86_64/init-first.c
76944         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
76945         __vdso_clock_gettime and __vdso_getcpu.
76947         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
76948         time with __vdso_time.
76950 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76952         * manual/lang.texi (size_t): Note types to which size_t may be
76953         equivalent with the GNU C Library, but do not describe when
76954         differences between them are significant.
76956 2012-03-05  Andreas Jaeger  <aj@suse.de>
76958         * sysdeps/i386/fpu/libm-test-ulps: Update.
76960 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
76962         [BZ #3976]
76963         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
76964         (__ieee754_pow): Save and restore rounding mode and use
76965         round-to-nearest for main computations.
76966         * math/libm-test.inc (pow_test_tonearest): New function.
76967         (pow_test_towardzero): Likewise.
76968         (pow_test_downward): Likewise.
76969         (pow_test_upward): Likewise.
76970         (main): Call the new functions.
76971         * sysdeps/i386/fpu/libm-test-ulps: Update.
76972         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76974         [BZ #3976]
76975         * math/libm-test.inc (cosh_test_tonearest): New function.
76976         (cosh_test_towardzero): Likewise.
76977         (cosh_test_downward): Likewise.
76978         (cosh_test_upward): Likewise.
76979         (sinh_test_tonearest): Likewise.
76980         (sinh_test_towardzero): Likewise.
76981         (sinh_test_downward): Likewise.
76982         (sinh_test_upward): Likewise.
76983         (main): Call the new functions.
76984         * sysdeps/i386/fpu/libm-test-ulps: Update.
76985         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76987 2012-03-05  Tom de Vries  <tom@codesourcery.com>
76989         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
76990         default stack guard is set in last bytes.
76991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
76993 2012-03-05  Kees Cook  <keescook@chromium.org>
76995         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
76997         [BZ #13656]
76998         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
76999         possibly allocate from heap instead of stack.
77000         * stdio-common/bug-vfprintf-nargs.c: New file.
77001         * stdio-common/Makefile (tests): Add nargs overflow test.
77003 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
77005         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77007 2012-03-03  Marek Polacek  <polacek@redhat.com>
77009         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77010         * math/math_private.h: Likewise.
77011         * stdlib/tst-strtod.c: Likewise.
77012         * sysdeps/i386/i486/bits/atomic.h: Likewise.
77013         * sysdeps/x86_64/bits/atomic.h: Likewise.
77015 2012-03-02  David S. Miller  <davem@davemloft.net>
77017         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77018         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77019         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77020         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77021         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77022         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77023         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77024         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77026 2012-03-02  Roland McGrath  <roland@hack.frob.com>
77028         [BZ #13792]
77029         * manual/examples/README: New file, says the example source files
77030         can be used under GPL>=2.
77031         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77032         line containing just "*/".
77033         * manual/examples/add.c: Add copyright header (GPL>=2).
77034         * manual/examples/argp-ex1.c: Likewise.
77035         * manual/examples/argp-ex2.c: Likewise.
77036         * manual/examples/argp-ex3.c: Likewise.
77037         * manual/examples/argp-ex4.c: Likewise.
77038         * manual/examples/atexit.c: Likewise.
77039         * manual/examples/db.c: Likewise.
77040         * manual/examples/dir.c: Likewise.
77041         * manual/examples/dir2.c: Likewise.
77042         * manual/examples/execinfo.c: Likewise.
77043         * manual/examples/filecli.c: Likewise.
77044         * manual/examples/filesrv.c: Likewise.
77045         * manual/examples/fmtmsgexpl.c: Likewise.
77046         * manual/examples/genpass.c: Likewise.
77047         * manual/examples/inetcli.c: Likewise.
77048         * manual/examples/inetsrv.c: Likewise.
77049         * manual/examples/isockad.c: Likewise.
77050         * manual/examples/longopt.c: Likewise.
77051         * manual/examples/memopen.c: Likewise.
77052         * manual/examples/memstrm.c: Likewise.
77053         * manual/examples/mkfsock.c: Likewise.
77054         * manual/examples/mkisock.c: Likewise.
77055         * manual/examples/mygetpass.c: Likewise.
77056         * manual/examples/pipe.c: Likewise.
77057         * manual/examples/popen.c: Likewise.
77058         * manual/examples/rprintf.c: Likewise.
77059         * manual/examples/search.c: Likewise.
77060         * manual/examples/select.c: Likewise.
77061         * manual/examples/setjmp.c: Likewise.
77062         * manual/examples/sigh1.c: Likewise.
77063         * manual/examples/sigusr.c: Likewise.
77064         * manual/examples/stpcpy.c: Likewise.
77065         * manual/examples/strdupa.c: Likewise.
77066         * manual/examples/strftim.c: Likewise.
77067         * manual/examples/strncat.c: Likewise.
77068         * manual/examples/subopt.c: Likewise.
77069         * manual/examples/swapcontext.c: Likewise.
77070         * manual/examples/termios.c: Likewise.
77071         * manual/examples/testopt.c: Likewise.
77072         * manual/examples/testpass.c: Likewise.
77073         * manual/examples/timeval_subtract.c: Likewise.
77075         [BZ #13792]
77076         * manual/time.texi (Elapsed Time): Move timeval_subtract example
77077         function to ...
77078         * manual/timeval_subtract.c.texi: ... here, new file.
77080 2012-03-02  David S. Miller  <davem@davemloft.net>
77082         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77084 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
77086         [BZ #3976]
77087         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77088         (__sin): Save and restore rounding mode and use round-to-nearest
77089         for all computations.
77090         (__cos): Save and restore rounding mode and use round-to-nearest
77091         for all computations.
77092         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77093         <fenv.h>.
77094         (tan): Save and restore rounding mode and use round-to-nearest for
77095         all computations.
77096         * math/libm-test.inc (cos_test_tonearest): New function.
77097         (cos_test_towardzero): Likewise.
77098         (cos_test_downward): Likewise.
77099         (cos_test_upward): Likewise.
77100         (sin_test_tonearest): Likewise.
77101         (sin_test_towardzero): Likewise.
77102         (sin_test_downward): Likewise.
77103         (sin_test_upward): Likewise.
77104         (tan_test_tonearest): Likewise.
77105         (tan_test_towardzero): Likewise.
77106         (tan_test_downward): Likewise.
77107         (tan_test_upward): Likewise.
77108         (main): Call the new functions.
77109         * sysdeps/i386/fpu/libm-test-ulps: Update.
77110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77112         [BZ #10135]
77113         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77114         small n, then large n, before computing and testing k+n.
77115         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77116         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77117         Likewise.
77118         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77119         Likewise.
77120         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77121         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77122         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77123         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77124         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77125         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77126         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77127         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77128         * math/libm-test.inc (scalbn_test): Add more tests.
77129         (scalbln_test): Likewise.
77131         * manual/filesys.texi (mode_t): Describe constraints on size and
77132         signedness, not exact equivalence to a particular type.
77133         (ino_t): Likewise.
77134         (ino64_t): Likewise.
77135         (dev_t): Likewise.
77136         (nlink_t): Likewise.
77137         (blkcnt_t): Likewise.
77138         (blkcnt64_t): Likewise.
77139         * manual/llio.texi (off_t): Likewise.
77141         [BZ #3976]
77142         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77143         (__ieee754_exp): Save and restore rounding mode and use
77144         round-to-nearest for all computations.
77145         * math/libm-test.inc (exp_test_tonearest): New function.
77146         (exp_test_towardzero): Likewise.
77147         (exp_test_downward): Likewise.
77148         (exp_test_upward): Likewise.
77149         (main): Call the new functions.
77150         * sysdeps/i386/fpu/libm-test-ulps: Update.
77151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77153 2012-03-01  Chris Demetriou  <cgd@google.com>
77155         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77156         have predictable order.
77158 2012-03-01  David S. Miller  <davem@davemloft.net>
77160         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77162         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77163         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77164         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77165         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77167         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77168         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77169         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77171         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77172         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77173         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77174         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77175         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77179         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77180         * sysdeps/sparc/fpu/libm-test-ulps: to here.
77181         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77183         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77184         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77185         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77186         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77187         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77188         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77189         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77190         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77191         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77192         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77193         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77194         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77195         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77196         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77197         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77198         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77199         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77200         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77201         * sysdeps/sparc/elf/configure: Regenerated.
77203 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
77205         * configure.in (AS, LD): Require binutils 2.20 or later.
77206         * configure: Regenerated.
77207         * manual/install.texi (Tools for Compilation): Give binutils 2.20
77208         as required minimum version.
77209         * INSTALL: Regenerated.
77211         [BZ #2541]
77212         [BZ #4108]
77213         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77214         before squaring exponent.
77215         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77216         bottom long double and 27 bits of top long double before squaring
77217         exponent.
77218         * math/libm-test.inc (erfc_test): Add more tests.
77219         * sysdeps/i386/fpu/libm-test-ulps: Update.
77220         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77223 2012-03-01  Kai Tietz  <ktietz@redhat.com>
77225         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77226         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77227         containing bit-fields.
77228         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77229         * soft-fp/single.h (_FP_UNION_S): Likewise.
77230         * soft-fp/double.h (_FP_UNION_D): Likewise.
77232 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77234         [BZ #13786]
77235         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77236         not include ../strcmp.S.
77237         [USE_AS_STRNCASECMP_L]: Likewise.
77238         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77239         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77240         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77241         (__strncasecmp_l_ia32): Define as alias to
77242         __strncasecmp_l_nonascii.
77244         [BZ #5794]
77245         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77246         * sysdeps/i386/fpu/libm-test-ulps: Update.
77247         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77249         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77252 2012-02-29  Jeff Law  <law@redhat.com>
77254         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77255         out of bounds read.
77257 2012-02-29  Marek Polacek  <polacek@redhat.com>
77259         [BZ #13706]
77260         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77261         * elf/Makefile: Add rules to run tst-unused-dep.out.
77263 2012-02-28  David S. Miller  <davem@davemloft.net>
77265         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77266         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77267         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77268         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77269         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77270         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77272 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77274         * math/libm-test.inc (llround_test): Move one test from
77275         lround_test.  Use TEST_f_L in moved test.
77276         (lround_test): Move misplaced test to llround_test.  Add testcase
77277         from bug 2561.
77279 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77281         * sysdeps/x86_64/fpu/e_expf.S: New file.
77282         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77284 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77286         [BZ #13637]
77287         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77288         of remain_len that may cause incomplete multi-byte character and
77289         false match.
77290         * posix/bug-regex33.c: New file.
77291         * posix/Makefile (tests): Add bug-regex33.
77293 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77295         * manual/macros.texi: New file.
77296         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77297         * manual/libc.texinfo: Include macros.texi.
77298         * manual/creatute.texi: Likewise.
77299         * manual/install.texi: Likewise.
77300         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77301         @glibcadj{} in references to the GNU C Library.
77302         * manual/charset.texi: Likewise.
77303         * manual/conf.texi: Likewise.
77304         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77305         when not using those macros.
77306         * manual/creature.texi: Likewise.
77307         * manual/crypt.texi: Likewise.
77308         * manual/errno.texi: Likewise.
77309         * manual/filesys.texi: Likewise.
77310         * manual/header.texi: Likewise.
77311         * manual/install.texi: Likewise.
77312         * manual/intro.texi: Likewise.
77313         * manual/io.texi: Likewise.
77314         * manual/job.texi: Likewise.
77315         * manual/lang.texi: Likewise.
77316         * manual/libc.texiinfo: Likewise.
77317         * manual/llio.texi: Likewise.
77318         * manual/locale.texi: Likewise.
77319         * manual/maint.texi: Likewise.
77320         * manual/math.texi: Likewise.
77321         * manual/memory.texi: Likewise.
77322         * manual/message.texi: Likewise.
77323         * manual/nss.texi: Likewise.
77324         * manual/pattern.texi: Likewise.
77325         * manual/process.texi: Likewise.
77326         * manual/resource.texi: Likewise.
77327         * manual/search.texi: Likewise.
77328         * manual/setjmp.texi: Likewise.
77329         * manual/signal.texi: Likewise.
77330         * manual/socket.texi: Likewise.
77331         * manual/startup.texi: Likewise.
77332         * manual/stdio.texi: Likewise.
77333         * manual/string.texi: Likewise.
77334         * manual/sysinfo.texi: Likewise.
77335         * manual/syslog.texi: Likewise.
77336         * manual/terminal.texi: Likewise.
77337         * manual/time.texi: Likewise.
77338         * manual/users.texi: Likewise.
77339         * INSTALL: Regenerated.
77340         * NOTES: Regenerated.
77341         * sysdeps/gnu/errlist.c: Regenerated.
77343 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77345         * include/dirent.h: Include <dirstream.h> before
77346         <dirent/dirent.h>.
77348 2012-02-28  David S. Miller  <davem@davemloft.net>
77350         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77351         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77352         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77353         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77355 2012-02-27  David S. Miller  <davem@davemloft.net>
77357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77359         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77360         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77363         frame pointer instead of stack pointer relative arg slot.
77364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77365         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77366         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77368 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77370         [BZ #3992]
77371         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77373 2012-02-27  David S. Miller  <davem@davemloft.net>
77375         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77376         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77379         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77380         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77381         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77382         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77384 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77386         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77387         later.  Allow versions 5-9.
77388         * configure: Regenerated.
77389         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77390         required minimum version and 4.6 as recommended version.  Do not
77391         mention bugs in GCC 2.7 and 2.8.
77392         * INSTALL: Regenerated.
77394 2012-02-27  David S. Miller  <davem@davemloft.net>
77396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77400         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77401         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77402         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77403         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77405         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77406         manipulate bits before adding and subtracting TWO112[sx].
77407         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77409 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77411         [BZ #13775]
77412         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77413         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77414         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77415         being in POSIX, because they are in 1003.1-2008.
77417         * rt/tst-aio.c: Include <fcntl.h>.
77418         * rt/tst-aio7.c: Likewise.
77419         * rt/tst-aio64.c: Likewise.
77421         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77423 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77425         * manual/install.texi (--with-headers): Describe headers as
77426         interface headers, not private headers.
77427         (Specific advice for GNU/Linux systems): Describe use of headers
77428         from "make headers_install", not private headers from older
77429         kernels.
77430         * INSTALL: Regenerated.
77431         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77432         Change to 2.6.19.
77433         * sysdeps/unix/sysv/linux/configure: Regenerated.
77435         * manual/llio.texi (fclean): Remove documentation.
77437         * manual/Makefile (libc-texi-generated): New variable.  Include
77438         version.texi.
77439         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77440         $(libc-texi-generated), not duplicated list of files.
77441         (version.texi, stamp-version): New rules.
77442         (realclean): Remove $(libc-texi-generated), not individual files
77443         from that list.  Do not remove dir-add.texinfo.
77444         * manual/libc.texinfo: Comment out uses of edition numbers and
77445         references to printed manual.  Remove last-updated dates.
77446         (EDITION): Comment out.
77447         (ISBN): Likewise.
77448         (VERSION, UPDATED): Remove.
77449         (version.texi): Include.
77451 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77453         * sysdeps/posix/spawni.c: Include <signal.h>.
77454         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77455         * sysdeps/pthread/aio_fsync.c: Likewise.
77457 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77459         * conform/Makefile (tests): Run only when not cross-compiling and
77460         when fast-check is not defined.
77462         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77463         * conform/data/limits.h-data: Fixes for POSIX2008.
77464         * conform/run-conformtest.sh: Run all tests.
77465         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77466         headers.
77467         * include/bits/dlfcn.h: Likewise.
77468         * include/langinfo.h: Likewise.
77469         * include/monetary.h: Likewise.
77470         * include/sys/poll.h: Likewise.
77472         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77473         for __USE_GNU.
77474         * posix/spawn.h: Define __need_sigset_t.
77475         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77476         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77477         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77478         to get sigevent_t only.
77479         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77480         only for __USE_GNU.
77481         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77482         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77483         process_vm_writev only for __USE_GNU.
77484         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77486         * conform/Makefile: For now ignore errors from run-conformtest.
77487         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77488         POSIX to avoid namespace pollution.  Don't prepend headers.
77489         * conform/data/aio.h-data: Fixes for POSIX testing.
77490         * conform/data/fcntl.h-data: Likewise.
77491         * conform/data/glob.h-data: Likewise.
77492         * conform/data/grp.h-data: Likewise.
77493         * conform/data/pthread.h-data: Likewise.
77494         * conform/data/pwd.h-data: Likewise.
77495         * conform/data/signal.h-data: Likewise.
77496         * conform/data/spawn.h-data: Likewise.
77497         * conform/data/stdio.h-data: Likewise.
77498         * conform/data/stdlib.h-data: Likewise.
77499         * conform/data/stropts.h-data: Likewise.
77500         * conform/data/sys/mman.h-data: Likewise.
77501         * conform/data/sys/stat.h-data: Likewise.
77502         * conform/data/sys/types.h-data: Likewise.
77503         * conform/data/sys/wait.h-data: Likewise.
77504         * conform/data/time.h-data: Likewise.
77505         * conform/data/unistd.h-data: Likewise.
77506         * conform/data/utime.h-data: Likewise.
77508         * io/sys/stat.h: fchmod was always in POSIX.
77509         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77510         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77511         * rt/aio.h: Define __need_timespec before including <time.h>.
77512         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77513         struct.  Add forward declaration of pthread_attr_t and use it in
77514         sigevent.
77515         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77516         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77517         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77518         always remove CLK_TCK definition.
77520 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77522         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77524 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77526         * conform/run-conformtest.sh: New file.
77527         * conform/Makefile: Run run-conformtest for tests.
77528         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77529         support.
77531         * conform/data/uchar.h-data: New file.
77532         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77533         * conform/data/arpa/inet.h-data: Likewise.
77534         * conform/data/assert.h-data: Likewise.
77535         * conform/data/complex.h-data: Likewise.
77536         * conform/data/cpio.h-data: Likewise.
77537         * conform/data/ctype.h-data: Likewise.
77538         * conform/data/dirent.h-data: Likewise.
77539         * conform/data/dlfcn.h-data: Likewise.
77540         * conform/data/errno.h-data: Likewise.
77541         * conform/data/fcntl.h-data: Likewise.
77542         * conform/data/float.h-data: Likewise.
77543         * conform/data/fmtmsg.h-data: Likewise.
77544         * conform/data/fnmatch.h-data: Likewise.
77545         * conform/data/ftw.h-data: Likewise.
77546         * conform/data/glob.h-data: Likewise.
77547         * conform/data/grp.h-data: Likewise.
77548         * conform/data/iconv.h-data: Likewise.
77549         * conform/data/inttypes.h-data: Likewise.
77550         * conform/data/langinfo.h-data: Likewise.
77551         * conform/data/libgen.h-data: Likewise.
77552         * conform/data/limits.h-data: Likewise.
77553         * conform/data/locale.h-data: Likewise.
77554         * conform/data/math.h-data: Likewise.
77555         * conform/data/monetary.h-data: Likewise.
77556         * conform/data/mqueue.h-data: Likewise.
77557         * conform/data/ndbm.h-data: Likewise.
77558         * conform/data/net/if.h-data: Likewise.
77559         * conform/data/netdb.h-data: Likewise.
77560         * conform/data/netinet/in.h-data: Likewise.
77561         * conform/data/nl_types.h-data: Likewise.
77562         * conform/data/poll.h-data: Likewise.
77563         * conform/data/pthread.h-data: Likewise.
77564         * conform/data/pwd.h-data: Likewise.
77565         * conform/data/regex.h-data: Likewise.
77566         * conform/data/sched.h-data: Likewise.
77567         * conform/data/search.h-data: Likewise.
77568         * conform/data/semaphore.h-data: Likewise.
77569         * conform/data/setjmp.h-data: Likewise.
77570         * conform/data/signal.h-data: Likewise.
77571         * conform/data/spawn.h-data: Likewise.
77572         * conform/data/stdarg.h-data: Likewise.
77573         * conform/data/stdio.h-data: Likewise.
77574         * conform/data/stdlib.h-data: Likewise.
77575         * conform/data/string.h-data: Likewise.
77576         * conform/data/strings.h-data: Likewise.
77577         * conform/data/stropts.h-data: Likewise.
77578         * conform/data/sys/ipc.h-data: Likewise.
77579         * conform/data/sys/mman.h-data: Likewise.
77580         * conform/data/sys/msg.h-data: Likewise.
77581         * conform/data/sys/resource.h-data: Likewise.
77582         * conform/data/sys/select.h-data: Likewise.
77583         * conform/data/sys/sem.h-data: Likewise.
77584         * conform/data/sys/shm.h-data: Likewise.
77585         * conform/data/sys/socket.h-data: Likewise.
77586         * conform/data/sys/stat.h-data: Likewise.
77587         * conform/data/sys/statvfs.h-data: Likewise.
77588         * conform/data/sys/time.h-data: Likewise.
77589         * conform/data/sys/timeb.h-data: Likewise.
77590         * conform/data/sys/times.h-data: Likewise.
77591         * conform/data/sys/types.h-data: Likewise.
77592         * conform/data/sys/uio.h-data: Likewise.
77593         * conform/data/sys/un.h-data: Likewise.
77594         * conform/data/sys/utsname.h-data: Likewise.
77595         * conform/data/sys/wait.h-data: Likewise.
77596         * conform/data/syslog.h-data: Likewise.
77597         * conform/data/tar.h-data: Likewise.
77598         * conform/data/termios.h-data: Likewise.
77599         * conform/data/utime.h-data: Likewise.
77600         * conform/data/utmpx.h-data: Likewise.
77601         * conform/data/varargs.h-data: Likewise.
77602         * conform/data/wchar.h-data: Likewise.
77603         * conform/data/wctype.h-data: Likewise.
77604         * conform/data/wordexp.h-data: Likewise.
77606         * include/stropts.h: New file.
77607         * include/uchar.h: New file.
77608         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77609         * include/assert.h: Likewise.
77610         * include/ctype.h: Likewise.
77611         * include/dirent.h: Likewise.
77612         * include/dlfcn.h: Likewise.
77613         * include/fcntl.h: Likewise.
77614         * include/fnmatch.h: Likewise.
77615         * include/glob.h: Likewise.
77616         * include/grp.h: Likewise.
77617         * include/libio.h: Likewise.
77618         * include/locale.h: Likewise.
77619         * include/math.h: Likewise.
77620         * include/net/if.h: Likewise.
77621         * include/netdb.h: Likewise.
77622         * include/netinet/in.h: Likewise.
77623         * include/pthread.h: Likewise.
77624         * include/pwd.h: Likewise.
77625         * include/regex.h: Likewise.
77626         * include/sched.h: Likewise.
77627         * include/search.h: Likewise.
77628         * include/setjmp.h: Likewise.
77629         * include/signal.h: Likewise.
77630         * include/stdio.h: Likewise.
77631         * include/stdlib.h: Likewise.
77632         * include/string.h: Likewise.
77633         * include/sys/cdefs.h: Likewise.
77634         * include/sys/mman.h: Likewise.
77635         * include/sys/msg.h: Likewise.
77636         * include/sys/resource.h: Likewise.
77637         * include/sys/select.h: Likewise.
77638         * include/sys/socket.h: Likewise.
77639         * include/sys/stat.h: Likewise.
77640         * include/sys/statvfs.h: Likewise.
77641         * include/sys/time.h: Likewise.
77642         * include/sys/times.h: Likewise.
77643         * include/sys/uio.h: Likewise.
77644         * include/sys/utsname.h: Likewise.
77645         * include/sys/wait.h: Likewise.
77646         * include/termios.h: Likewise.
77647         * include/time.h: Likewise.
77648         * include/ulimit.h: Likewise.
77649         * include/unistd.h: Likewise.
77650         * include/utime.h: Likewise.
77651         * include/wchar.h: Likewise.
77652         * include/wctype.h: Likewise.
77653         * include/wordexp.h: Likewise.
77655         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77657         * time/time.h: TIME_UTC must be a macro.
77658         Make timespec_get available for ISO C11 only as well.
77660 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77662         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77663         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77665 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77667         * configure.in: Use -o not -a in test for unsupported multi-arch.
77669 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77671         * manual/texinfo.tex: Update to version 2012-01-19.16.
77673 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77675         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77677 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77679         [BZ #13738]
77680         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77681         * manual/fdl-1.3.texi: New file.
77682         * manual/fdl-1.1.texi: File removed.
77684         [BZ #13738]
77685         * manual/libc.texinfo (FDL_VERSION): New @set.
77686         Use it for mention of FDL in cover text.
77687         (Documentation License): Use it in @include file name.
77689 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77690             Roland McGrath  <roland@hack.frob.com>
77692         [BZ #5461]
77693         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77694         (not LONG_LONG_MAX and LONG_LONG_MIN.
77695         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77696         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
77697         name.
77698         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77700 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77702         [BZ #2547]
77703         [BZ #11365]
77704         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77705         manipulate bits before adding and subtracting TWO23[sx].
77706         * math/libm-test.inc (nearbyint_test): Add more tests.
77708 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77710         [BZ #2548]
77711         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77712         bits before adding and subtracting TWO23[sx].
77713         * math/libm-test.inc (rint_test): Add more tests.
77714         (rint_test_tonearest): Likewise.
77715         (rint_test_towardzero): Likewise.
77716         (rint_test_downward): Likewise.
77717         (rint_test_upward: Likewise.
77719 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77721         [BZ #10110]
77722         * include/stdc-predef.h: New file.  Extracted from features.h.
77723         * include/features.h: Include stdc-predef.h.
77724         * Makefile (headers): Add stdc-predef.h.
77725         * CONFORMANCE (Compiler limitations): Update.
77727 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77729         * manual/libc.texinfo (VERSION, UPDATED): Revert.
77731 2012-02-21  David S. Miller  <davem@davemloft.net>
77733         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77734         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77736 2012-02-20  David S. Miller  <davem@davemloft.net>
77738         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77739         using a normal save/restore sequence, rather than allocating a
77740         dummy stack frame just to store a frame pointer and restore.
77741         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77743 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77745         * manual/install.texi: Fix stray word in line-wrapped comment.
77747 2012-02-20  David S. Miller  <davem@davemloft.net>
77749         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77750         both binutils and gcc support GOTDATA.
77752         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77753         "rd %pc" in the PIC register setup sequences.
77755         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77756         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77757         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77758         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77759         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77761         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77762         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77764         (SYSCALL_ERROR_HANDLER): Likewise.
77765         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77766         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77767         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77768         (SYSCALL_ERROR_HANDLER): Likewise.
77770         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
77771         (HAVE_GCC_GOTDATA): New.
77772         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
77773         relocation support in both binutils and gcc.
77774         * sysdeps/sparc/elf/configure: Regenerate.
77776         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
77777         * sysdeps/sparc/sparc32/elf/configure: Delete.
77778         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
77779         * sysdeps/sparc/sparc64/elf/configure: Delete.
77780         * sysdeps/sparc/elf/configure.in: New file.
77781         * sysdeps/sparc/elf/configure: Generate.
77783         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
77784         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
77785         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77786         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
77787         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
77789 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77791         * manual/install.texi: Do not mention specific glibc version
77792         numbers.
77793         * manual/libc.texinfo (VERSION, UPDATED): Update.
77794         (@copying): Use @copyright{} and range of years.
77796 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
77798         [BZ #13695]
77799         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
77800         [crti.S not in sysdirs] (generated): Do not append.
77801         [crti.S not in sysdirs] (omit-deps): Likewise.
77802         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
77803         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
77804         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
77805         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
77806         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
77807         Likewise.
77808         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
77809         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
77810         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
77811         * csu/defs.awk: Remove file.
77812         * sysdeps/generic/initfini.c: Likewise.
77813         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
77814         variable.
77815         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
77816         Likewise.
77818 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77820         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
77821         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
77822         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
77823         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
77824         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
77825         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
77826         <bits/epoll.h>.
77827         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
77828         (__EPOLL_PACKED): Define to empty if not defined by
77829         <bits/epoll.h>.
77830         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
77831         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77832         bits/epoll.h.
77834 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77836         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
77837         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
77838         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
77839         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
77840         <bits/timerfd.h>.
77841         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
77842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77843         bits/timerfd.h.
77845 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
77847         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
77848         in C locale.
77849         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77850         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
77851         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
77852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77854 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
77856         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77857         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77859 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
77861         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
77862         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
77863         defined.
77864         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
77865         Likewise.
77866         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
77867         entry for 2.16.
77869 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
77871         * math/w_acos.c: Use non-signaling floating-point comparisons.
77872         * math/w_acosf.c: Likewise.
77873         * math/w_acosh.c: Likewise.
77874         * math/w_acoshf.c: Likewise.
77875         * math/w_acoshl.c: Likewise.
77876         * math/w_acosl.c: Likewise.
77877         * math/w_asin.c: Likewise.
77878         * math/w_asinf.c: Likewise.
77879         * math/w_asinl.c: Likewise.
77880         * math/w_atanh.c: Likewise.
77881         * math/w_atanhf.c: Likewise.
77882         * math/w_atanhl.c: Likewise.
77883         * math/w_exp2.c: Likewise.
77884         * math/w_exp2f.c: Likewise.
77885         * math/w_exp2l.c: Likewise.
77886         * math/w_j0.c: Likewise.
77887         * math/w_j0f.c: Likewise.
77888         * math/w_j0l.c: Likewise.
77889         * math/w_j1.c: Likewise.
77890         * math/w_j1f.c: Likewise.
77891         * math/w_j1l.c: Likewise.
77892         * math/w_jn.c: Likewise.
77893         * math/w_jnf.c: Likewise.
77894         * math/w_log.c: Likewise.
77895         * math/w_log10.c: Likewise.
77896         * math/w_log10f.c: Likewise.
77897         * math/w_log10l.c: Likewise.
77898         * math/w_log2.c: Likewise.
77899         * math/w_log2f.c: Likewise.
77900         * math/w_log2l.c: Likewise.
77901         * math/w_logf.c: Likewise.
77902         * math/w_logl.c: Likewise.
77903         * math/w_sqrt.c: Likewise.
77904         * math/w_sqrtf.c: Likewise.
77905         * math/w_sqrtl.c: Likewise.
77906         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
77907         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
77908         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
77909         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
77910         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
77912 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77914         [BZ #9739]
77915         * manual/string.texi (strnlen): Use correct parameter name in
77916         equivalent expression.
77918 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77920         [BZ #11174]
77921         * manual/users.texi (seteuid): Consistently use neweuid for
77922         argument name.
77924 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
77926         [BZ #13704]
77927         * manual/nss.texi (Services in the NSS configuration): Correct
77928         list of services in example configuration file.
77930 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
77932         [BZ #11322]
77933         * manual/arith.texi: Remove statements about negative zero
77934         behaving identically to zero.
77936 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77938         [BZ #5993]
77939         * manual/install.texi: Do not document upgrading from libc5.
77941 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
77943         [BZ #4596]
77944         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
77946 2012-02-18  David S. Miller  <davem@davemloft.net>
77948         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
77949         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
77950         %o7 across the call.
77951         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
77952         instead.
77953         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
77954         SETUP_PIC_REG_LEAF.
77955         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77956         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
77957         * sysdeps/sparc/crtn.S: Likewise.
77959 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
77961         * aout/Makefile: Remove.
77963 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
77965         [BZ #13058]
77966         * manual/examples/argp-ex1.c (main): Format definition in GNU
77967         style.
77968         * manual/examples/argp-ex2.c (main): Likewise.
77969         * manual/examples/argp-ex3.c (main): Likewise.
77970         * manual/examples/argp-ex4.c (main): Likewise.
77971         * manual/examples/longopt.c (main): Use new-style prototype
77972         definition.
77973         * manual/examples/strncat.c (main): Specify return type and use
77974         (void) for arguments.
77975         * manual/examples/subopt.c (main): Use char **argv argument.
77977 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77979         [BZ #5077]
77980         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
77981         rounding modes.
77983 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
77985         [BZ #6907]
77986         * manual/string.texi (strchr): Change when strchrnul is
77987         recommended.
77989 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
77991         [BZ #174]
77992         * manual/locale.texi (setlocale): Document LOCPATH.
77994 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
77996         [BZ #10210]
77997         * manual/process.texi (execle): Move @dots{} before last argument.
77999 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
78001         [BZ #12047]
78002         * manual/charset.texi (Generic Charset Conversion): Fix typo
78003         (LC_TYPE -> LC_CTYPE).
78005 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
78007         [BZ #5805]
78008         * manual/arith.texi (scalbn): Use @var{} on parameter names.
78009         (scalbnf): Likewise.
78010         (scalbnl): Likewise.
78011         (scalbln): Likewise.
78012         (scalblnf): Likewise.
78013         (scalblnl): Likewise.
78014         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78015         (vwarnx): Likewise.
78016         (verr): Likewise.
78017         (verrx): Likewise.
78018         * manual/filesys.texi (telldir): Use braces around return type.
78019         * manual/llio.texi (mmap): Add space after comma.
78020         (mmap64): Likewise.
78021         * manual/math.texi (jn): Use @var{} on parameter names.
78022         (jnf): Likewise.
78023         (jnl): Likewise.
78024         (yn): Likewise.
78025         (ynf): Likewise.
78026         (ynl): Likewise.
78027         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78028         line.
78029         * manual/resource.texi (ulimit): Use @dots{} instead of literal
78030         "...".
78031         (sched_get_priority_min): Remove semicolon on @deftypefun line.
78032         (sched_get_priority_max): Likewise.
78033         * manual/signal.texi (sigvec): Add space after comma.
78034         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78035         names.
78036         (if_indextoname): Likewise.
78037         (if_freenameindex): Likewise.
78038         (sendto): Use ',' instead of '.' in prototype.
78039         * manual/startup.texi (syscall): Use @dots{} instead of literal
78040         "...".
78041         * manual/stdio.texi (__fpending): Separate initial words of
78042         paragraph from @deftypefun line.
78043         * manual/syslog.texi (syslog): Use @dots{} instead of literal
78044         "...".
78045         (vsyslog): Use @var{} on parameter names.
78046         * manual/terminal.texi (stty): Use @var{} on parameter names.
78047         * manual/users.texi (getutmp): Use @var{} on parameter names.
78048         (getutmpx): Likewise.
78050 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78052         [BZ #6884]
78053         * manual/stdio.texi (fopen): Fix typos in description of
78054         ",ccs=STRING".
78056 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
78058         [BZ #4026]
78059         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78060         get clock_id definition.
78062 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
78064         [BZ #4822]
78065         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78066         (madvise): Cast every argument to void on its own.
78068 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78070         [BZ #9902]
78071         * manual/startup.texi (Exit Status): Fix typo.
78073 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78075         [BZ #10140]
78076         * manual/examples/argp-ex1.c: Include <stdlib.h>.
78077         * manual/examples/argp-ex2.c: Likewise.
78078         * manual/examples/argp-ex3.c: Likewise.
78080 2012-02-16  Richard Henderson  <rth@redhat.com>
78082         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78083         * sysdeps/s390/s390-32/initfini.c: Remove.
78084         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78085         * sysdeps/s390/s390-64/initfini.c: Remove.
78087 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78089         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78090         compiler output for sysdeps/generic/initfini.c.
78091         * sysdeps/sh/elf/initfini.c: Remove file.
78093 2012-02-16  David S. Miller  <davem@davemloft.net>
78095         [BZ #11494]
78096         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78098         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78099         * sysdeps/sparc/crti.S: New file.
78100         * sysdeps/sparc/crtn.S: New file.
78101         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78102         * sysdeps/sparc/sparc64/Makefile: Likewise.
78104 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
78106         [BZ #3335]
78107         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78109 2012-02-15  Roland McGrath  <roland@hack.frob.com>
78111         [BZ #4822]
78112         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78114         * mach/devstream.c (cookie_io_functions_t): Macro removed.
78115         (write, read, close): Likewise.
78116         Patch by Aurelien Jarno <aurelien@aurel32.net>.
78118 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
78120         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78121         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78122         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78123         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78124         <bits/signalfd.h>.
78125         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78126         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78127         bits/signalfd.h.
78129 2012-02-14  Marek Polacek  <polacek@redhat.com>
78131         * sysdeps/x86_64/crti.S: New file.
78132         * sysdeps/x86_64/crtn.S: New file.
78133         * sysdeps/x86_64/elf/initfini.c: Remove file.
78135 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78137         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78138         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78139         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78140         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78141         <bits/inotify.h>.
78142         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78143         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78144         bits/inotify.h.
78146 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78148         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78149         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78150         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78151         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78152         <bits/eventfd.h>.
78153         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78154         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78155         bits/eventfd.h.
78157 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
78159         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78160         __feraiseexcept instead of feraiseexcept.
78162         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78163         nanosleep invocations.
78164         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78165         strings, and add error checking for a nanosleep invocations.
78167 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
78169         Replace FSF snail mail address with URLs, as per GNU coding standards.
78170         Most of the snail mail addresses were wrong anyway, and omitting
78171         them makes the source code easier to maintain.  Almost all of the
78172         changes are to license notices and to locale LC_IDENTIFICATION
78173         addresses, except for this one:
78174         * manual/libc.texinfo: In "Published by", give the FSF's URL,
78175         not its snail mail address.
78177 2012-02-09  Richard Henderson  <rth@twiddle.net>
78179         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78180         of kernel-features.h.
78182         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78184 2012-02-08  Marek Polacek  <polacek@redhat.com>
78186         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78187         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78188         * sysdeps/gnu/_G_config.h: Likewise.
78189         * sysdeps/generic/_G_config.h: Likewise.
78191 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78193         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78194         tests.
78195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78197         * sysdeps/powerpc/powerpc32/crti.S: New file.
78198         * sysdeps/powerpc/powerpc32/crtn.S: New file.
78199         * sysdeps/powerpc/powerpc64/crti.S: New file.
78200         * sysdeps/powerpc/powerpc64/crtn.S: New file.
78202         * Makeconfig (have-initfini): Don't set.
78203         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78204         * configure.in (nopic_initfini): Don't substitute.
78205         * config.h.in (HAVE_INITFINI): Don't #undef.
78206         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78207         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78209 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
78211         Support crti.S and crtn.S provided directly by architectures.
78212         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78213         [crti.S in sysdirs] (omit-deps): Likewise.
78214         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78215         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78216         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78217         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78218         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78219         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78220         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78221         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78222         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78223         compiler output for sysdeps/generic/initfini.c.
78224         * sysdeps/i386/elf/Makefile: Remove file.
78225         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78227 2012-02-07  Marek Polacek  <polacek@redhat.com>
78229         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78230         * sysdeps/gnu/_G_config.h: Likewise.
78231         * sysdeps/mach/hurd/_G_config.h: Likewise.
78233 2012-02-07  Marek Polacek  <polacek@redhat.com>
78235         * math/Makefile (tests): Add tst-CMPLX2.
78236         * math/tst-CMPLX2.c: New file.
78238 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78240         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78242         * math/libm-test.inc (jn_test): Add missing L suffix.
78244 2012-02-06  Marek Polacek  <polacek@redhat.com>
78246         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78247         * sysdeps/i386/fpu/e_powf.S: Likewise.
78248         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78249         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78250         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78251         * sysdeps/i386/fpu/e_pow.S: Likewise.
78252         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78253         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78254         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78255         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78256         * sysdeps/i386/fpu/e_log2.S: Likewise.
78257         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78258         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78259         * sysdeps/i386/fpu/e_powl.S: Likewise.
78260         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78261         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78262         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78263         * sysdeps/i386/fpu/e_logl.S: Likewise.
78264         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78265         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78266         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78267         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78268         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78269         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78270         * sysdeps/i386/fpu/e_log.S: Likewise.
78271         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78272         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78273         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78274         * sysdeps/i386/fpu/e_logf.S: Likewise.
78275         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78276         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78277         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78278         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78279         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78280         * sysdeps/i386/fpu/e_log10.S: Likewise.
78281         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78282         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78283         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78284         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78285         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78286         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78287         * sysdeps/i386/asm-syntax.h: Likewise.
78288         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78289         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78290         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78291         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78292         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78293         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78294         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78295         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78296         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78297         * sysdeps/powerpc/sysdep.h: Likewise.
78298         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78299         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78301 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78303         [BZ #411]
78304         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78306 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78308         * sysdeps/i386/sysdep.h: Include <features.h>.
78309         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78310         version.
78312 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78314         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78315         Define.
78316         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78317         LOAD_PIC_REG_STR.
78319 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78321         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78322         (SETUP_PIC_REG): Use GET_PC_THUNK.
78323         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78324         macro.
78326 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78328         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78329         for non-PIC compilation.
78330         (SETUP_PIC_REG): Add .p2align directive.
78331         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78332         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78333         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78334         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78335         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78336         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78337         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78338         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78339         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78340         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78341         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78342         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78343         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78344         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78345         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78346         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78347         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78348         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78349         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78350         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78351         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78352         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78353         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78354         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78355         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78356         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78357         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78358         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78359         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78360         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78361         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78362         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78363         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78364         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78365         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78366         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78367         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78368         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78369         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78370         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78371         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78373 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78375         * math/tst-CMPLX.c: Include <stdio.h>.
78377 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78379         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78380         float.
78381         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78382         * sysdeps/sparc/bits/mathdef.h: Likewise.
78384 2012-01-31  Marek Polacek  <polacek@redhat.com>
78386         * libio/libio.h: Don't define _PARAMS.
78387         * locale/programs/config.h: Don't define PARAMS.
78388         * stdlib/strtol_l.c: Likewise.
78389         (__strtol_l): Remove PARAMS from the prototype.
78391 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78393         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78394         names.  Just use the correct names.  Remove unnecessary wrapper
78395         functions.
78396         * malloc/arena.c: Likewise.
78397         * malloc/hooks.c: Likewise.
78399         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78400         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78401         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78403 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78405         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78406         into tail calls.
78407         (update_get_addr): New function.
78408         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78409         GET_ADDR_MODULE parameter.
78411 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78413         * crypt/cert.c: Remove __STDC__ conditionals.
78414         * crypt/crypt-entry.c: Likewise.
78415         * crypt/crypt_util.c: Likewise.
78416         * libio/filedoalloc.c: Likewise.
78417         * libio/fileops.c: Likewise.
78418         * libio/genops.c: Likewise.
78419         * libio/iofclose.c: Likewise.
78420         * libio/iofdopen.c: Likewise.
78421         * libio/iofopen.c: Likewise.
78422         * libio/iofopen64.c: Likewise.
78423         * libio/iogetdelim.c: Likewise.
78424         * libio/iopopen.c: Likewise.
78425         * libio/obprintf.c: Likewise.
78426         * libio/oldfileops.c: Likewise.
78427         * libio/oldiofclose.c: Likewise.
78428         * libio/oldiofdopen.c: Likewise.
78429         * libio/oldiofopen.c: Likewise.
78430         * libio/oldiopopen.c: Likewise.
78431         * libio/wfiledoalloc.c: Likewise.
78432         * libio/wgenops.c: Likewise.
78433         * locale/programs/xmalloc.c: Likewise.
78434         * misc/syslog.c: Likewise.
78435         * stdio-common/xbug.c: Likewise.
78436         * string/memchr.c: Likewise.
78437         * string/memcmp.c: Likewise.
78438         * string/memrchr.c: Likewise.
78439         * string/rawmemchr.c: Likewise.
78440         * sysdeps/posix/getcwd.c: Likewise.
78441         * time/strftime_l.c: Likewise.
78443 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78445         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78446         * config.make.in (config-cflags-sse2avx): Define.
78447         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78448         Fix typo.
78450 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78452         * scripts/config.guess: Update from upstream config git repository.
78453         * scripts/config.sub: Likewise.
78455 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78457         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78458         (EM_NUM): Update.
78459         (R_TILEPRO_*, R_TILEGX_*): New macros.
78461         * scripts/firstversions.awk: Fix bug in version range handling.
78463         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78465         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78467         * include/sys/epoll.h: New file.
78468         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78469         libc_hidden_def.
78471 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78473         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78474         Avoid unnecessary __WORDSIZE == 64 test.
78475         (fmaxf): Use VEX format if possible.
78476         (fmax): Likewise.
78477         (fminf): Likewise.
78478         (fmin): Likewise.
78480         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78481         * math/math_private.h: Remove libc_fegetround* and
78482         libc_fesetround*.
78483         * sysdeps/i386/configure.in: Check for -msse2avx.
78484         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78485         also if SSE2AVX is defined.
78486         Remove libc_fegetround* and libc_fesetround*.
78487         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78488         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78489         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78490         of HAS_YMM_USABLE.
78491         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78492         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78493         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78494         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78495         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78497         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78499 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78501         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78502         size is not set.
78503         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78505 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78507         [BZ #13618]
78508         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78509         relocation.
78510         * Makeconfig (libm): Define.
78511         * elf/Makefile: Add rules to build and run tst-relsort1.
78512         * elf/tst-relsort1.c: New file.
78513         * elf/tst-relsort1mod1.c: New file.
78514         * elf/tst-relsort1mod2.c: New file.
78516 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78518         * math/s_ldexp.c: Remove __STDC__ conditionals.
78519         * math/s_ldexpf.c: Likewise.
78520         * math/s_ldexpl.c: Likewise.
78521         * math/s_nextafter.c: Likewise.
78522         * math/s_nexttowardf.c: Likewise.
78523         * math/s_significand.c: Likewise.
78524         * math/s_significandf.c: Likewise.
78525         * math/s_significandl.c: Likewise.
78526         * math/w_jnl.c: Likewise.
78527         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78528         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78529         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78530         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78531         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78532         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78533         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78534         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78535         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78536         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78537         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78538         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78539         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78540         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78541         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78542         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78543         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78544         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78545         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78546         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78547         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78548         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78549         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78550         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78551         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78552         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78553         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78554         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78555         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78556         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78557         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78558         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78559         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78560         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78561         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78562         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78563         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78564         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78565         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78566         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78567         * sysdeps/ieee754/k_standard.c: Likewise.
78568         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78569         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78570         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78571         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78572         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78573         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78574         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78575         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78576         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78577         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78578         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78579         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78580         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78581         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78582         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78583         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78584         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78585         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78586         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78587         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78588         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78589         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78590         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78591         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78592         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78593         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78594         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78595         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78596         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78597         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78598         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78599         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78600         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78601         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78602         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78603         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78604         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78605         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78606         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78607         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78608         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78609         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78610         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78611         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78612         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78613         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78614         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78615         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78616         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78617         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78618         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78619         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78620         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78621         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78622         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78623         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78624         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78625         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78626         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78627         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78628         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78629         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78630         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78631         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78632         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78633         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78634         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78635         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78636         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78637         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78638         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78639         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78640         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78641         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78642         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78643         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78644         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78645         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78646         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78647         * sysdeps/ieee754/s_matherr.c: Likewise.
78648         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78649         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78650         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78651         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78653 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78655         * crypt/md5.h: Remove __STDC__ conditionals.
78656         * libio/libioP.h: Likewise.
78657         * locale/programs/config.h: Likewise.
78658         * sysdeps/generic/sysdep.h: Likewise.
78659         * sysdeps/i386/asm-syntax.h: Likewise.
78660         * sysdeps/s390/asm-syntax.h: Likewise.
78661         * sysdeps/unix/sysdep.h: Likewise.
78662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78665 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78667         * libio/libio.h: Remove __STDC__ conditionals.
78668         * malloc/obstack.h: Likewise.
78669         * math/complex.h: Likewise.
78670         * math/math.h: Likewise.
78671         * sysdeps/generic/_G_config.h: Likewise.
78672         * sysdeps/gnu/_G_config.h: Likewise.
78673         * sysdeps/mach/hurd/_G_config.h: Likewise.
78674         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78675         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78676         * sysdeps/sparc/bits/mathdef.h: Likewise.
78678 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78680         [BZ #13583]
78681         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78682         Clean up HAS_* macros.
78683         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78684         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78685         possible.
78686         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78687         HAS_AVX.
78688         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78689         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78690         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78691         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78692         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78694 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
78696         * elf/tst-unique3.cc (gets): Remove declaration.
78697         * elf/tst-unique3lib.cc (gets): Likewise.
78698         * elf/tst-unique3lib2.cc (gets): Likewise.
78699         * elf/tst-unique4.cc (gets): Likewise.
78701 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
78703         * include/stdio.h: Add C++ protection.  Add gets declarations and
78704         definitions.
78705         * debug/tst-chk1.c: Don't declare gets here.
78706         * stdio-common/tst-gets.c: Likewise.
78708 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78710         * posix/glob: Remove directory.
78712 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
78714         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78716 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
78718         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78719         of the non-standard EPFNOSUPPORT.
78721 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78723         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78724         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78725         ANYWHERE set to 1 only on KERN_NO_SPACE error.
78727 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
78729         * wcsmbs/uchar.h: Test __STDC_VERSION__.
78731 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
78733         * nscd/aicache.c (addhstaiX): Do not cache negative results of
78734         transient errors.
78735         * nscd/grpcache.c (cache_addgr): Likewise.
78736         * nscd/hstcache.c (cache_addhst): Likewise.
78737         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78738         * nscd/pwdcache.c (cache_addpw): Likewise.
78739         * nscd/servicescache.c (cache_addserv): Likewise.
78741 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
78743         * malloc/malloc.c: Various cleanups.
78744         * malloc/hooks.c: Likewise.
78746         * stdlib/Makefile (tests): Add bug-fmtmsg1.
78747         * stdlib/bug-fmtmsg1.c: New file.
78749         * stdlib/fmtmsg.c (init): Add missing unlock.
78750         Patch by Peng Haitao <penght@cn.fujitsu.com>.
78752 2012-01-12  Marek Polacek  <polacek@redhat.com>
78754         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78755         and _GNU_SOURCE.
78757 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
78759         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78760         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78761         macro to ensure uniqueness of label name.
78762         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78763         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78765 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
78767         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78769         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
78770         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
78771         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
78772         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
78774 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
78776         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
78778         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
78779         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
78780         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
78782         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
78784         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
78785         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
78786         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
78787         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
78789         * math/bits/math-finite.h: Add ldexp support.
78791 2012-01-10  Marek Polacek  <polacek@redhat.com>
78793         * locale/programs/localedef.h (show_archive_content): Add noreturn
78794         attribute.
78796 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
78798         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
78800 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78802         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
78804         * io/Makefile (headers): Add bits/poll2.h.
78806 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
78808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
78809         typo #include statement.
78811 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78813         * include/sys/cdefs.h: Define __attribute_alloc_size.
78814         * catgets/gencat.c: Add alloc_size attribute and apply consistently
78815         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
78816         * elf/pldd.c: Likewise.
78817         * iconv/iconv_charmap.c: Likewise.
78818         * iconv/iconvconfig.c: Likewise.
78819         * iconv/strtab.c: Likewise.
78820         * locale/programs/locale.c: Likewise.
78821         * locale/programs/localedef.h: Likewise.
78822         * locale/programs/simple-hash.c: Likewise.
78823         * nscd/nscd.h: Likewise.
78824         * nss/makedb.c: Likewise.
78825         * sysdeps/generic/ldconfig.h: Likewise.
78826         * locale/programs/localedef.c: Remove xmalloc prototype.
78827         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
78829 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
78831         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
78832         appropriate.
78834 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
78836         * math/Makefile (tests): Add tst-CMPLX.
78837         * math/tst-CMPLX.c: New file.
78839         * math/complex.h (CMPLXL): Fix typo.
78841         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
78842         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
78843         GLIBC_2.16.
78844         * debug/tst-chk1.c: Add poll and ppoll tests.
78845         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
78846         * include/sys/poll.h: Add hidden proto for ppoll.
78847         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
78848         * sysdeps/mach/hurd/ppoll.c: Likewise.
78849         * io/ppoll.c: Likewise.
78850         * debug/poll_chk.c: New file.
78851         * debug/ppoll_chk.c: New file.
78852         * include/bits/poll2.h: New file.
78853         * io/bits/poll2.h: New file.
78855         [BZ #1350]
78856         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
78858         * configure.in: static is always set to yes.  Remove.
78859         * config.make.in: Don't set build-static.
78860         * Makeconfig: Remove use of build-static.
78861         * dlfcn/Makefile: Likewise.
78862         * elf/Makefile: Likewise.
78863         * math/Makefile: Likewise.
78864         * misc/Makefile: Likewise.
78865         * nptl/Makefile: Likewise.
78866         * sysdeps/mach/hurd/Makefile: Likewise.
78868         * configure.in: PWD_P is not used anymore.
78869         * config.make.in: Remove PWD_P entry.
78871         * configure.in: Remove last remnants of RANLIB.
78872         No need to check for signed size_t anymore.
78873         Don't set libc_commonpagesize and libc_relro_required here for Alpha
78874         and IA-64.
78875         Remove __builtin_expect test because we require at least gcc 3.4.
78876         * aclocal.m4: Likewise.
78878         * wcsmbs/mbrtoc16.c: Implement using towc function.
78879         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
78880         * wcsmbs/wcsmbsload.c: Likewise.
78881         * iconv/gconv_simple.c: Likewise.
78882         * iconv/gconv_int.h: Likewise.
78883         * iconv/gconv_builtin.h: Likewise.
78884         * iconv/iconv_prog.c: Remove CHAR16 handling.
78886         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
78888         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
78890         * configure.in: Remove --with-elf and --enable-bounded options.
78891         Dont set base_machine for ia64.  More non-ELF conditions removed.
78892         Remove testing and setting of leading underscore information.
78893         * config.make.in (build-bounded): Set to no.
78894         * config.h.in: Remove NO_UNDERSCORES entry.
78895         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
78896         them.
78897         * csu/start.c: Remove !NO_UNDERSCORE code.
78898         * locale/localeinfo.h: Likewise.
78899         * sysdeps/generic/machine-gmon.h: Likewise.
78900         * sysdeps/generic/sysdep.h: Likewise.
78901         * sysdeps/i386/sysdep.h: Likewise.
78902         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
78903         * sysdeps/mach/sysdep.h: Likewise.
78904         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78905         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78906         * sysdeps/sh/sysdep.h: Likewise.
78907         * sysdeps/sparc/sparc32/alloca.S: Likewise.
78908         * sysdeps/unix/i386/sysdep.S: Likewise.
78909         * sysdeps/unix/sparc/start.c: Likewise.
78910         * sysdeps/unix/sparc/sysdep.S: Likewise.
78911         * sysdeps/unix/sparc/sysdep.h: Likewise.
78912         * sysdeps/unix/start.c: Likewise.
78913         * sysdeps/unix/x86_64/sysdep.S: Likewise.
78914         * sysdeps/x86_64/sysdep.h: Likewise.
78916 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
78918         [BZ #13553]
78919         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
78920         for non-gcc.
78921         * argp/argp-fmtstream.h: Use const instead __const.
78922         * argp/argp.h: Likewise.
78923         * assert/assert.h: Likewise.
78924         * bits/fenv.h: Likewise.
78925         * bits/sched.h: Likewise.
78926         * bits/sigset.h: Likewise.
78927         * bits/sigthread.h: Likewise.
78928         * catgets/nl_types.h: Likewise.
78929         * conform/data/pthread.h-data: Likewise.
78930         * crypt/crypt-private.h: Likewise.
78931         * crypt/crypt.h: Likewise.
78932         * crypt/crypt_util.c: Likewise.
78933         * ctype/ctype.h: Likewise.
78934         * debug/execinfo.h: Likewise.
78935         * debug/mbsnrtowcs_chk.c: Likewise.
78936         * debug/mbsrtowcs_chk.c: Likewise.
78937         * debug/wcsnrtombs_chk.c: Likewise.
78938         * debug/wcsrtombs_chk.c: Likewise.
78939         * debug/wcstombs_chk.c: Likewise.
78940         * dirent/dirent.h: Likewise.
78941         * dlfcn/dlfcn.h: Likewise.
78942         * elf/neededtest4.c: Likewise.
78943         * grp/grp.h: Likewise.
78944         * gshadow/gshadow.h: Likewise.
78945         * iconv/gconv.h: Likewise.
78946         * iconv/gconv_int.h: Likewise.
78947         * iconv/gconv_simple.c: Likewise.
78948         * iconv/iconv.h: Likewise.
78949         * iconv/loop.c: Likewise.
78950         * iconv/skeleton.c: Likewise.
78951         * include/aio.h: Likewise.
78952         * include/aliases.h: Likewise.
78953         * include/argz.h: Likewise.
78954         * include/arpa/inet.h: Likewise.
78955         * include/assert.h: Likewise.
78956         * include/dirent.h: Likewise.
78957         * include/dlfcn.h: Likewise.
78958         * include/execinfo.h: Likewise.
78959         * include/fcntl.h: Likewise.
78960         * include/fenv.h: Likewise.
78961         * include/glob.h: Likewise.
78962         * include/grp.h: Likewise.
78963         * include/libintl.h: Likewise.
78964         * include/mntent.h: Likewise.
78965         * include/netdb.h: Likewise.
78966         * include/pwd.h: Likewise.
78967         * include/rpc/netdb.h: Likewise.
78968         * include/sched.h: Likewise.
78969         * include/search.h: Likewise.
78970         * include/shadow.h: Likewise.
78971         * include/signal.h: Likewise.
78972         * include/stdio.h: Likewise.
78973         * include/stdlib.h: Likewise.
78974         * include/string.h: Likewise.
78975         * include/sys/socket.h: Likewise.
78976         * include/sys/stat.h: Likewise.
78977         * include/sys/statfs.h: Likewise.
78978         * include/sys/statvfs.h: Likewise.
78979         * include/sys/syslog.h: Likewise.
78980         * include/sys/time.h: Likewise.
78981         * include/sys/uio.h: Likewise.
78982         * include/time.h: Likewise.
78983         * include/unistd.h: Likewise.
78984         * include/utmp.h: Likewise.
78985         * include/wchar.h: Likewise.
78986         * include/wctype.h: Likewise.
78987         * inet/aliases.h: Likewise.
78988         * inet/arpa/inet.h: Likewise.
78989         * inet/netinet/ether.h: Likewise.
78990         * inet/netinet/in.h: Likewise.
78991         * intl/libintl.h: Likewise.
78992         * io/bits/fcntl2.h: Likewise.
78993         * io/fcntl.h: Likewise.
78994         * io/ftw.h: Likewise.
78995         * io/sys/poll.h: Likewise.
78996         * io/sys/stat.h: Likewise.
78997         * io/sys/statfs.h: Likewise.
78998         * io/sys/statvfs.h: Likewise.
78999         * io/utime.h: Likewise.
79000         * libio/bits/stdio.h: Likewise.
79001         * libio/bits/stdio2.h: Likewise.
79002         * libio/libio.h: Likewise.
79003         * libio/libioP.h: Likewise.
79004         * libio/stdio.h: Likewise.
79005         * locale/lc-ctype.c: Likewise.
79006         * locale/locale.h: Likewise.
79007         * login/utmp.h: Likewise.
79008         * malloc/arena.c: Likewise.
79009         * malloc/malloc.c: Likewise.
79010         * malloc/malloc.h: Likewise.
79011         * malloc/mcheck.c: Likewise.
79012         * malloc/mtrace.c: Likewise.
79013         * math/bits/mathcalls.h: Likewise.
79014         * math/fenv.h: Likewise.
79015         * math/math_private.h: Likewise.
79016         * misc/bits/error.h: Likewise.
79017         * misc/bits/syslog.h: Likewise.
79018         * misc/err.h: Likewise.
79019         * misc/error.h: Likewise.
79020         * misc/fstab.h: Likewise.
79021         * misc/mntent.h: Likewise.
79022         * misc/regexp.h: Likewise.
79023         * misc/search.h: Likewise.
79024         * misc/sgtty.h: Likewise.
79025         * misc/sys/mman.h: Likewise.
79026         * misc/sys/syslog.h: Likewise.
79027         * misc/sys/uio.h: Likewise.
79028         * misc/sys/xattr.h: Likewise.
79029         * misc/ttyent.h: Likewise.
79030         * nis/rpcsvc/ypclnt.h: Likewise.
79031         * nss/nss.h: Likewise.
79032         * posix/bits/unistd.h: Likewise.
79033         * posix/fnmatch.h: Likewise.
79034         * posix/glob.h: Likewise.
79035         * posix/sched.h: Likewise.
79036         * posix/spawn.h: Likewise.
79037         * posix/sys/wait.h: Likewise.
79038         * posix/unistd.h: Likewise.
79039         * posix/wordexp.h: Likewise.
79040         * pwd/pwd.h: Likewise.
79041         * resolv/netdb.h: Likewise.
79042         * resource/sys/resource.h: Likewise.
79043         * rt/aio.h: Likewise.
79044         * rt/bits/mqueue2.h: Likewise.
79045         * rt/mqueue.h: Likewise.
79046         * shadow/shadow.h: Likewise.
79047         * signal/signal.h: Likewise.
79048         * socket/send.c: Likewise.
79049         * socket/sendto.c: Likewise.
79050         * socket/sys/socket.h: Likewise.
79051         * stdio-common/printf.h: Likewise.
79052         * stdlib/bits/stdlib.h: Likewise.
79053         * stdlib/fmtmsg.h: Likewise.
79054         * stdlib/monetary.h: Likewise.
79055         * stdlib/stdlib.h: Likewise.
79056         * stdlib/ucontext.h: Likewise.
79057         * streams/stropts.h: Likewise.
79058         * string/argz.h: Likewise.
79059         * string/bits/string2.h: Likewise.
79060         * string/string.h: Likewise.
79061         * string/strings.h: Likewise.
79062         * sunrpc/rpc/auth.h: Likewise.
79063         * sunrpc/rpc/auth_des.h: Likewise.
79064         * sunrpc/rpc/clnt.h: Likewise.
79065         * sunrpc/rpc/netdb.h: Likewise.
79066         * sunrpc/rpc/pmap_clnt.h: Likewise.
79067         * sunrpc/rpc/xdr.h: Likewise.
79068         * sysdeps/generic/inttypes.h: Likewise.
79069         * sysdeps/generic/net/if.h: Likewise.
79070         * sysdeps/generic/sys/swap.h: Likewise.
79071         * sysdeps/gnu/net/if.h: Likewise.
79072         * sysdeps/gnu/utmpx.h: Likewise.
79073         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79074         * sysdeps/i386/i486/bits/string.h: Likewise.
79075         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79076         * sysdeps/s390/bits/string.h: Likewise.
79077         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79078         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79079         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79080         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79081         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79082         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79083         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79084         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79085         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79086         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79087         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79088         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79089         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79090         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79091         * sysdeps/unix/sysv/linux/readv.c: Likewise.
79092         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79093         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79094         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79095         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79096         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79097         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79098         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79099         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79100         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79101         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79102         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79103         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79104         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79105         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79106         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79107         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79108         * sysvipc/sys/ipc.h: Likewise.
79109         * sysvipc/sys/msg.h: Likewise.
79110         * sysvipc/sys/sem.h: Likewise.
79111         * sysvipc/sys/shm.h: Likewise.
79112         * termios/termios.h: Likewise.
79113         * time/sys/time.h: Likewise.
79114         * time/time.h: Likewise.
79115         * wcsmbs/bits/wchar2.h: Likewise.
79116         * wcsmbs/uchar.h: Likewise.
79117         * wcsmbs/wchar.h: Likewise.
79118         * wctype/wctype.h: Likewise.
79120         [BZ #13551]
79121         * Makeconfig: Remove all but ELF support including AIX support.
79122         * Makerules: Likewise.
79123         * config.h.in: Likewise.
79124         * config.make.in: Likewise.
79125         * configure: Likewise.
79126         * configure.in: Likewise.
79127         * csu/Makefile: Likewise.
79128         * csu/version.c: Likewise.
79129         * debug/Makefile: Likewise.
79130         * dlfcn/Makefile: Likewise.
79131         * elf/Makefile: Likewise.
79132         * extra-lib.mk: Likewise.
79133         * iconv/Makefile: Likewise.
79134         * include/libc-symbols.h: Likewise.
79135         * include/shlib-compat.h: Likewise.
79136         * resolv/Makefile: Likewise.
79137         * resolv/res_libc.c: Likewise.
79138         * rt/Makefile: Likewise.
79139         * sysdeps/i386/asm-syntax.h: Likewise.
79140         * sysdeps/i386/sysdep.h: Likewise.
79141         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79142         * sysdeps/mach/sysdep.h: Likewise.
79143         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79144         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79145         * sysdeps/s390/asm-syntax.h: Likewise.
79146         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79147         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79148         * sysdeps/sh/sysdep.h: Likewise.
79149         * sysdeps/unix/sparc/sysdep.h: Likewise.
79150         * sysdeps/wordsize-32/divdi3.c: Likewise.
79151         * sysdeps/x86_64/sysdep.h: Likewise.
79153         * argp/Versions: Remove _argp_unlock_xxx.
79155         [BZ #13559]
79156         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
79157         * abilist/libBrokenLocale.abilist: Likewise.
79158         * abilist/libanl.abilist: Likewise.
79159         * abilist/libc.abilist: Likewise.
79160         * abilist/libcrypt.abilist: Likewise.
79161         * abilist/libdl.abilist: Likewise.
79162         * abilist/libm.abilist: Likewise.
79163         * abilist/libnsl.abilist: Likewise.
79164         * abilist/libpthread.abilist: Likewise.
79165         * abilist/libresolv.abilist: Likewise.
79166         * abilist/librt.abilist: Likewise.
79167         * abilist/libthread_db.abilist: Likewise.
79168         * abilist/libutil.abilist: Likewise.
79169         * abilist/libnss_db.abilist: New file.
79171         * scripts/abilist.awk: Add support for indirect functions.
79173         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79175         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79177         * shlib-versions: Remove entries for ports architectures.
79179         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
79180         files in ports.
79181         * elf/stackguard-macros.h: Remove support for IA-64.
79182         * elf/tst-auditmod1.c: Likewise.
79183         * sysdeps/generic/ldsodefs.h: Likewise.
79185         * sysdeps/unix/sysv/linux/configure.in: Ports should define
79186         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79187         configure files.
79189         [BZ #13552]
79190         * configure.in: Remove --enable-omitfp support.
79191         * FAQ.in: Adjust.
79192         * config.make.in: Likewise.
79193         * Makeconfig: Likewise.
79194         * manual/install.texi: Likewise.
79196         In case anyone cares, the IA-64 architecture could move to ports.
79197         * sysdeps/ia64/*: Removed.
79198         * sysdeps/unix/sysv/linux/ia64/*: Removed.
79199         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79201         [BZ #13555]
79202         * configure.in: Remove entries for unsupported architectures.
79204         [BZ #13533]
79205         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79206         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
79207         routines.
79208         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79209         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79210         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
79211         fall back to using wcrtomb.
79212         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79213         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
79214         renaming.
79215         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79216         * wcsmbs/tst-c16c32-1.c: New file.
79218         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79219         local variable.
79221         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79223         * elf/tst-unique3.cc: Add explicit declaration of gets.
79224         * elf/tst-unique3lib.cc: Likewise.
79225         * elf/tst-unique3lib2.cc: Likewise.
79226         * elf/tst-unique4.cc: Likewise.
79228         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79230 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79232         [BZ #13566]
79233         * assert/assert.h (static_assert): Don't define for C++.
79234         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79235         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79237 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79239         * iconv/loop.c (single loop): Fix assertion in storing of
79240         remaining bytes.
79242         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79244 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79246         * posix/getconf.c: Update copyright year.
79247         * nss/getent.c: Likewise.
79248         * nss/makedb.c: Likewise.
79249         * iconv/iconvconfig.c: Likewise.
79250         * iconv/iconv_prog.c: Likewise.
79251         * elf/ldconfig.c: Likewise.
79252         * elf/pldd.c: Likewise.
79253         * elf/sotruss.ksh: Likewise.
79254         * catgets/gencat.c: Likewise.
79255         * csu/version.c: Likewise.
79256         * elf/ldd.bash.in: Likewise.
79257         * elf/sprof.c (print_version): Likewise.
79258         * locale/programs/locale.c: Likewise.
79259         * locale/programs/localedef.c: Likewise.
79260         * login/programs/pt_chown.c: Likewise.
79261         * nscd/nscd.c (print_version): Likewise.
79262         * debug/xtrace.sh: Likewise.
79263         * malloc/memusage.sh: Likewise.
79264         * malloc/mtrace.pl: Likewise.
79265         * debug/catchsegv.sh: Likewise.
79267 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79269         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79270         pure attribute.
79272 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79274         [BZ #13533]
79275         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79276         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79277         transformations.
79278         * iconv/gconv_int.h: Likewise.
79279         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79280         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79281         from libc for GLIBC_2.16.
79282         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79283         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79284         * wcsmbs/uchar.h: Really define mbstate_t.
79285         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79286         * wcsmbs/c16rtomb.c: New file.
79287         * wcsmbs/mbrtoc16.c: New file.
79288         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79289         for C/POSIX locale.
79290         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79291         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79293         * wcsmbs/wchar.h: Add missing __restrict.
79295 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79297         [BZ #13532]
79298         * time/Makefile (routines): Add timespec_get.
79299         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79300         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79301         timespec for ISO C11.
79302         * time/timespec_get.c: New file.
79303         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79304         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79306         [BZ #13531]
79307         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79308         * stdlib/stdlib.h: Declare aligned_alloc.
79309         * Versions.def: Add GLIBC_2.16 for libc.
79310         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79312         [BZ 13527]
79313         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79314         ISO C11.
79316         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79317         code.
79319         [BZ #13528]
79320         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79322         [BZ #13529]
79323         * assert/assert.h (static_assert): Define.
79325         * version.h: Update for 2.16 development version.
79327         [BZ #13526]
79328         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79329         _ISOC11_SOURCE.
79331         * version.h (RELEASE): Bump for 2.15 release.
79332         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79334         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79335         Patch by Marek Polacek <mpolacek@redhat.com>.
79337         * bits/byteswap.h: Protect long long constants with __extension__.
79338         * sysdeps/i386/bits/byteswap.h: Likewise.
79339         * sysdeps/ia64/bits/byteswap.h: Likewise.
79340         * sysdeps/s390/bits/byteswap.h: Likewise.
79341         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79343 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79345         [BZ #13540]
79346         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79347         destination buffer.
79348         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79350 2011-12-23  Marek Polacek  <polacek@redhat.com>
79352         * elf/dl-addr.c (determine_info): Add inline keyword.
79353         * elf/tst-auditmod4b.c (check_avx): Likewise.
79354         * elf/tst-auditmod6b.c (check_avx): Likewise.
79355         * elf/tst-auditmod6c.c (check_avx): Likewise.
79356         * elf/tst-auditmod7b.c (check_avx): Likewise.
79358 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79360         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79361         !__SSE_MATH__.
79363 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79365         [BZ #13540]
79366         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79367         processing for last bytes.
79369 2011-08-06  Bruno Haible  <bruno@clisp.org>
79371         [BZ #13061]
79372         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79373         U+0385, not to U+1FEE.
79375         [BZ #13062]
79376         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79377         entry for U+00A5 U+0301.
79379 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79381         [BZ #13166]
79382         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79383         buffer for the output is too small.
79385         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79386         optimization.
79388         [BZ #13185]
79389         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79390         SSE flags if possible.
79392 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79394         [BZ #13540]
79395         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79396         processing for last bytes.
79398 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79400         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79401         (syscall-list-default-options, syscall-list-default-condition)
79402         (syscall-list-includes): Define.
79403         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79404         list of ABIs and options and #if conditions for each ABI.  Do not
79405         handle common syscalls between ABIs specially.
79406         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79407         Remove.
79408         (syscall-list-variants, syscall-list-32bit-options)
79409         (syscall-list-32bit-condition, syscall-list-64bit-options)
79410         (syscall-list-64bit-condition): Define.
79411         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79412         (syscall-list-variants, syscall-list-32bit-options)
79413         (syscall-list-32bit-condition, syscall-list-64bit-options)
79414         (syscall-list-64bit-condition): Define.
79415         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79416         Remove.
79417         (syscall-list-variants, syscall-list-32bit-options)
79418         (syscall-list-32bit-condition, syscall-list-64bit-options)
79419         (syscall-list-64bit-condition): Define.
79420         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79421         Remove.
79422         (syscall-list-variants, syscall-list-32bit-options)
79423         (syscall-list-32bit-condition, syscall-list-64bit-options)
79424         (syscall-list-64bit-condition): Define.
79426 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79428         * locale/iso-639.def: Add brx entry.
79430         [BZ #13328]
79431         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79432         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79434         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79435         __feraiseexcept_renamed.
79437 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79439         [BZ #13538]
79440         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79441         EPOLLET with unsigned values.
79442         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79443         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79445         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79446         to large cancellation.
79447         * math/s_cacoshf.c: Likewise.
79448         * math/s_cacoshl.c: Likewise.
79450 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79452         [BZ #13305]
79453         [BZ #12786]
79454         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79455         * math/s_cacoshf.c: Likewise.
79456         * math/s_cacoshl.c: Likewise.
79458 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79460         [BZ #13439]
79461         * iconv/gconv.h: Define __GCONV_SWAP.
79462         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79463         * iconvdata/utf-16.c: Likewise.
79464         * iconvdata/utf-32.c: Likewise.
79466 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79468         [BZ #13524]
79469         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79470         numerator after shifting it by one limb.
79472 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79474         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79475         under [__USE_EXTERN_INLINES].
79477 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79479         [BZ #13446]
79480         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79482 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79484         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79485         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79486         optimized code.
79487         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79488         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79489         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79490         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79491         for strncasecmp/strncasecmp_l compilation.
79492         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79493         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79495 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79497         [BZ #13484]
79498         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79499         of __asm__.
79501 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79503         [BZ #13506]
79504         * time/tzfile.c (__tzfile_read): Check values from file header.
79506 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79508         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79509         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79510         * powerpc/powerpc32/dl-start.S: Likewise.
79511         * powerpc/powerpc32/elf/start.S: Likewise.
79512         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79513         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79514         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79515         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79516         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79517         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79518         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79519         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79520         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79521         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79522         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79523         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79524         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79525         * powerpc/powerpc32/memset.S: Likewise.
79526         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79527         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79528         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79529         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79530         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79531         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79532         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79533         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79534         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79535         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79536         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79537         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79538         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79540 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79542         * math/libm-test.inc: Added more nearbyint tests.
79543         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79544         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79546         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79548 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79550         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79551         FD_CLOEXEC.
79553 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79555         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79556         Add wcscpy-ssse3 wcscpy-c.
79557         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79558         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79559         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79560         * sysdeps/x86_64/wcschr.S: New file.
79561         * sysdeps/x86_64/wcsrchr.S: New file.
79562         * string/test-strcmp.c: Remove checking of wcscmp function for
79563         wrong alignments.
79564         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79565         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79566         wcsrchr-sse2 wcsrchr-c.
79567         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79568         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79569         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79570         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79571         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79572         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79573         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79574         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79575         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79576         * wcsmbc/wcschr.c (WCSCHR): New macro.
79578 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79580         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79581         * wcsmbs/test-wcsrchr.c: New file.
79582         * string/test-strrchr.c: Add wcsrchr support.
79583         (WIDE): New macro.
79584         * wcsmbs/test-wcscpy.c: New file.
79585         * string/test-strcpy.c: Add wcscpy support.
79586         (WIDE): New macro.
79588 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79590         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79591         the inner loop.
79593 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79595         [BZ #13472]
79596         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79598 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79600         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79601         Minor optimizations.
79603         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79604         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79605         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79607 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79609         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79610         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79611         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79612         for gcc to avoid warnings.
79613         * inet/Makefile (tests): Add tst-checks.
79614         * inet/tst-checks.c: New file.
79616         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79617         warning.
79619         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79620         __wmemcmp_sse2.
79622         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79623         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79625         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79627 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79629         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79630         problem.
79632         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79634 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79636         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79637         conditional on GCC version.
79638         (__arch_compare_and_exchange_val_8_acq)
79639         (__arch_compare_and_exchange_val_16_acq)
79640         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79641         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79642         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79644 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79646         * sysdeps/sh/backtrace.c: New file.
79648 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79650         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79651         parenthesis.
79653 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79655         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79656         falling back to utime.
79658 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79660         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79661         expectations for float.
79663 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79665         * locale/weight.h (findidx): Add parameter len.
79666         * locale/weightwc.h (findidx): Likewise.
79667         * posix/fnmatch_loop.c (FCT): Adjust caller.
79668         * posix/regcomp.c (build_equiv_class): Likewise.
79669         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79670         * posix/regexec.c (check_node_accept_bytes): Likewise.
79671         * string/strcoll_l.c (STRCOLL): Likewise.
79672         * string/strxfrm_l.c (STRXFRM): Likewise.
79674 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79676         * Makefile.in: Remove CVSOPT handling.
79677         * configure.in: Remove use of AC_REVISION.
79678         * iconvdata/Makefile (distribute): No need to filter out CVS.
79679         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79680         handling.
79682 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79684         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79685         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79686         [USE_AS_STRNCASECMP_L]: Likewise.
79687         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79688         NO_TLS_DIRECT_SEG_REFS.
79689         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79690         Fix argument offsets for non-PIC.
79691         [USE_AS_STRNCASECMP_L]: Likewise.
79692         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79693         NO_TLS_DIRECT_SEG_REFS.
79695 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79697         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79698         O_CLOEXEC.
79699         * locale/loadlocale.c (_nl_load_locale): Likewise.
79701 2011-11-15  Andreas Schwab  <schwab@redhat.com>
79703         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79704         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79705         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79706         (SYSCALL_GETTIME): Set errno on error.
79708         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79709         count references to noai6ai_cached.
79711 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
79713         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79715         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79716         FD_CLOEXEC for /proc/self/maps.
79718         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79719         FD_CLOEXEC for /proc/meminfo.
79721         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79722         gai.conf.
79724         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
79725         FD_CLOEXEC for given file.
79727         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79729         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79730         FD_CLOEXEC for /etc/hosts.
79731         (_gethtent): Likewise.
79733         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79735         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79736         cancellation and set FD_CLOEXEC for /etc/netgroup.
79738         * nss/nss_files/files-key.c (search): Don't allow cancellation when
79739         reading /etc/publickey.
79741         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79742         allow cancellation when reading /etc/group.
79744         * nss/nss_files/files-alias.c (internal_setent): Don't allow
79745         cancellation.
79746         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
79748         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79749         when using data file.
79751         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79753         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79754         (write_nis_obj): Use "c" and "e" in fopen.
79756         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79758         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79760         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79762         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79764         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79765         locale.alias.
79767         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79769         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
79771         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
79773         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
79774         file parsing and set FD_CLOEXEC.
79776 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79778         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
79780 2011-11-14  Andreas Schwab  <schwab@redhat.com>
79782         * malloc/arena.c (arena_get2): Don't call reused_arena when
79783         _int_new_arena failed.
79785 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
79787         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
79788         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
79789         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
79790         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
79791         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
79792         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
79793         to compile strcasecmp and strncasecmp.
79794         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
79795         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
79797         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
79799 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
79801         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
79802         locale-defines.sym to gen-as-const-headers.
79803         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
79804         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
79805         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
79806         to compile strcasecmp and strncasecmp.
79807         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
79808         strcasecmp_l and strncasecmp_l.
79809         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
79810         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
79811         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
79812         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
79813         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
79814         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
79815         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
79816         * sysdeps/i386/i686/multiarch/strncase.S: New file.
79817         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
79818         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
79819         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
79821 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
79823         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
79824         result of SYSDEP_GETTIME_CPU to retval.
79825         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
79826         parameter list to macro.  Remove trailing semicolon.  Adjust users.
79828         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
79829         variable.
79831         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
79832         mantissa words.
79833         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
79835         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
79836         from unused variable.
79838         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
79839         DWARF definitions.
79840         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
79841         for assembling.
79843         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
79844         over namespaces.
79846         * sunrpc/rpc_prot.c (rejected): Fix case value.
79848         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
79849         unsigned long long int to avoid warnings in shift.
79851         * posix/regex_internal.c (re_string_reconstruct): Actually use result
79852         of use of trans.
79853         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
79854         variable tmp.
79856         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
79857         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
79858         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
79860         * nis/nis_table.c (nis_list): Use variable of correct type for
79861         result of __follow_path call.
79863 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79865         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
79866         of math functions ceil, trunc, floor, round, and sqrt, when
79867         avaliable on the platform.
79868         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
79869         name clash.
79870         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
79871         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
79872         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
79874 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
79876         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
79877         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
79879 2011-11-11  Roland McGrath  <roland@hack.frob.com>
79881         * include/unistd.h: Fix __readlink return type.
79882         Reported by Chris Metcalf <cmetcalf@tilera.com>.
79884 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
79886         * stdlib/ucontext.h: Undo last change for makecontext.
79888 2011-11-11  Andreas Schwab  <schwab@redhat.com>
79890         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
79892         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
79893         * setjmp/setjmp.h: Mark functions as non-leaf.
79894         * setjmp/bits/setjmp2.h: Likewise.
79895         * stdlib/ucontext.h: Likewise.
79897 2011-11-10  Andreas Schwab  <schwab@redhat.com>
79899         * malloc/arena.c (_int_new_arena): Don't increment narenas.
79900         (reused_arena): Don't check arena limit.
79901         (arena_get2): Atomically check arena limit.
79903 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
79905         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
79906         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
79908         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
79909         instructions.
79911 2011-11-07  Andreas Schwab  <schwab@redhat.com>
79913         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
79914         handler when locking.
79916         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
79917         Fix size of allocated buffer.
79919 2011-11-04  Andreas Schwab  <schwab@redhat.com>
79921         [BZ #10103]
79922         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
79923         declarations for long double functions.
79924         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
79926         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
79928 2011-11-03  Andreas Schwab  <schwab@redhat.com>
79930         * nscd/nscd.c (main): Don't start AVC thread until credentials are
79931         installed.
79933         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
79934         is disabled.
79936 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79938         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
79940 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
79942         * include/alloca.h (stackinfo_alloca_round): Define.
79943         (extend_alloca): Use it.
79944         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
79945         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
79946         here.
79948         * scripts/check-local-headers.sh: Ignore libaudit.h.
79950         * nscd/Makefile (extra-objs): Make recursively expanded.
79952 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
79954         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
79955         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
79957         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
79958         * posix/tst-rfc3484-2.c: Likewise.
79959         * posix/tst-rfc3484-3.c: Likewise.
79961         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
79962         process_vm_writev.
79963         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
79964         process_vm_writev.
79965         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
79966         process_vm_writev from libc using GLIBC_2.15 version.
79968         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
79970 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
79972         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
79973         stack usage.
79975 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
79977         [BZ #13367]
79978         * nss/getent.c (initgroups_keys): Show error message in case no group
79979         names are given.
79981         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
79982         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
79983         __bump_nl_timestamp.
79984         * nscd/connections (nscd_init): When host database is served open
79985         netlink socket and request notification about configuration changes.
79986         (main_loop_poll): Track netlink file descriptor and bump timestamp
79987         in case data becomes available.
79988         (main_loop_epoll): Likewise.
79989         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
79990         (database_pers_head): Add extra_data fileds.
79991         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
79992         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
79993         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
79994         Adjust caller.
79995         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
79996         in6ai data, call __free_in6ai.
79997         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
79998         Add -DHAVE_NETLINK.
79999         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
80000         interface information.  Reuse previous data if netlink timestamp
80001         is not changed.
80002         (__bump_nl_timestamp): New function.
80003         (__free_in6ai): New function.
80005 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
80007         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80008         close_not_cancel_no_status here.
80009         (__check_pf): Reorganize code a bit to not call close twice if OOM.
80011 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80013         [BZ #13276]
80014         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80015         return value.
80017         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80018         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80019         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80021 2011-07-03  Andreas Jaeger  <aj@suse.de>
80023         [BZ #10709]
80024         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80025         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80026         * math/libm-test.inc (sin_test): Add test case.
80028 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80030         [BZ #13337]
80031         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80032         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80034         * elf/chroot_canon.c (chroot_canon): Cleanups.
80036         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80038         [BZ #13335]
80039         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80040         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80042         * string/test-strchr.c: Make usable for strchrnul testing.
80043         * string/test-strchrnul.c: New file.
80044         * string/Makefile (strop-tests): Add strchrnul.
80046         * po/it.po: Update from translation team.
80047         * po/es.po: Likewise.
80049 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
80051         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80052         the three constants needed as parameters.  Drop the others.
80053         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80054         __m128i_strloadu_tolower.
80055         Create and initialize variable zero and use it in all the places
80056         where _mm_setzero_si128 was used.
80058         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80059         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80060         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80061         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80062         anymore.
80063         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80064         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80065         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80066         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80067         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80068         __mpranred, __mptan.
80069         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80070         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80071         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80072         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80073         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80074         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80075         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80076         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80077         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80079 2011-10-28  Andreas Schwab  <schwab@redhat.com>
80081         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80082         redefine if SHARED.
80083         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80085         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80086         wide char related routines to wcsmbs subdir.
80088 2011-10-27  Andreas Schwab  <schwab@redhat.com>
80090         [BZ #13344]
80091         * misc/sys/cdefs.h (__THROWNL): Define.
80092         * posix/unistd.h: Use __THREADNL instead of __THREAD
80093         for memory synchronization functions.
80095 2011-10-26  Roland McGrath  <roland@hack.frob.com>
80097         [BZ #13349]
80098         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80099         doesn't exist.
80100         * manual/stdio.texi (Obstack Streams): Node removed.
80102 2011-10-26  Andreas Schwab  <schwab@redhat.com>
80104         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80105         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80106         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80108         * math/math_private.h (math_force_eval): Allow non-addressable
80109         arguments.
80110         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80112 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80114         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80115         file is not needed.
80117         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80118         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80119         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80120         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80121         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80122         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80123         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80124         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80125         Add AVX variants.
80126         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80127         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80128         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80129         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80130         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80131         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80132         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80133         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80134         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80135         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80136         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80137         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80138         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80139         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80140         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80141         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80142         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80143         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80144         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80146         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80147         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
80149         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80150         place.  Use VEX encoding when compiling for AVX.
80152 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80154         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80155         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80157         * string/test-strchr.c (do_test): Don't generate NUL bytes.
80159 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80161         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80162         useless if() expression.
80163         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80164         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80165         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80166         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80167         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80168         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80169         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80170         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80171         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80172         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80173         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80174         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80175         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80176         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80177         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80178         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80179         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80180         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80181         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80183         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80185 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80187         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80188         condition.
80189         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80191 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80193         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80194         .text section.  Avoid duplicate constants.
80195         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80196         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80197         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80198         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80199         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80200         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80201         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80203         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80204         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80205         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80206         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80207         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80208         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80209         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80210         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80211         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80212         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80213         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80214         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80215         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80216         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80217         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80218         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80219         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80220         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80221         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80222         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80223         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80224         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80225         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80226         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80227         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80228         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80229         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80230         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80231         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80232         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80233         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80234         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80235         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80236         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80237         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80238         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80239         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80241 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80243         * sysdeps/x86_64/dla.h: Move to ...
80244         * sysdeps/x86_64/fpu/dla.h: ...here.
80245         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80246         situations.  Use __builtin_fma only for gcc 4.6 and up.
80248         * config.make.in: Add have-mfma4 entry.
80249         * configure.in: Substitute libc_cv_cc_fma4.
80250         * math/Makefile (dbl-only-routines): Add sincostab.
80251         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80252         Use __sincostab not sincos.
80253         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80254         name is a macro.
80255         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80256         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80257         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80258         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80259         using __copysign.
80260         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80261         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80262         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80263         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80264         and __inv.
80265         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80266         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80267         __copysign.
80268         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80269         define aliases when function name is a macro.
80270         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80271         sysdeps/ieee754/dbl-64/sincos.tbl.
80272         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80273         fma4-enabled routines.
80274         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80275         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80276         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80277         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80278         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80279         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80280         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80281         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80282         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80283         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80284         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80285         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80286         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80287         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80288         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80289         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80290         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80291         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80292         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80293         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80294         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80295         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80296         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80297         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80298         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80299         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80300         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80301         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80302         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80303         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80305         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80306         rename.
80307         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80308         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80309         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80310         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80311         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80312         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80313         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80316 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80318         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80320 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80322         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80324         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80325         prediction.
80326         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80328         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80329         Remove unused variable magic_bits.
80330         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80332         * string/strnlen.c: Define and use STRNLEN macro.
80333         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80334         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80336         * wcsmbs/wcslen.c: Define and use WCSLEN.
80337         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80338         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80339         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80340         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80341         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80342         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80343         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80345 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80347         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80348         strnlen-sse2-no-bsf.
80349         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80350         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80351         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80352         Add strnlen support.
80353         (USE_AS_STRNLEN): New macro.
80354         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80355         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80356         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80357         * sysdeps/x86_64/wcslen.S: New file.
80359 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80361         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80362         XMM-moves are used for copying on small sizes.
80364 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80366         * wcsmbs/Makefile (strop-tests): Add wcschr.
80367         * wcsmbs/test-wcschr.c: New file.
80368         * string/test-strchr.c: Update.
80369         Add wcschr support.
80370         (WIDE): New macro.
80372 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80374         * wcsmbs/Makefile (strop-tests): Add wcslen.
80375         * wcsmbs/test-wcslen.c: New file.
80376         * string/test-strlen.c: Update.
80377         Add wcslen support.
80378         (WIDE): New macro.
80380 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80382         * po/it.po: Update from translation team.
80384 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80386         * sysdeps/x86_64/wcscmp.S: Update.
80387         Fix wrong comparison semantics.
80388         wcscmp shall use signed comparison not unsigned.
80389         Don't use substraction to avoid overflow bug.
80390         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80391         * wcsmbc/wcscmp.c: Likewise.
80392         * string/test-strcmp.c: Likewise.
80393         Add new tests to check cases with negative values.
80395 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80397         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80398         * sysdeps/x86_64/dla.h: ...here.  New file.
80399         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80401         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80404         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80405         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80406         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80407         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80409 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80412         __ynl_finite aliases.
80414 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80416         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80418         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80419         define DLA_FMA.
80420         [DLA_FMA] (EMULV): Use DLA_FMA.
80421         [DLA_FMA] (MUL12): Use EMULV.
80422         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80423         that are not needed.
80424         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80425         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80426         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80427         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80428         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80429         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80430         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80432 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80434         * math/s_nan.c: Undef __nan.
80435         * math/s_nanf.c: Undef __nanf.
80436         * math/s_nanl.c: Undef __nanl.
80437         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80438         "math_private.h".
80440 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80442         * math/s_catan.c: Add branch predictions.
80443         * math/s_catanf.c: Likewise.
80444         * math/s_catanh.c: Likewise.
80445         * math/s_catanhf.c: Likewise.
80446         * math/s_catanhl.c: Likewise.
80447         * math/s_catanl.c: Likewise.
80448         * math/s_cexp.c: Likewise.
80449         * math/s_cexpf.c: Likewise.
80450         * math/s_cexpl.c: Likewise.
80451         * math/s_clog.c: Likewise.
80452         * math/s_clog10.c: Likewise.
80453         * math/s_clog10f.c: Likewise.
80454         * math/s_clog10l.c: Likewise.
80455         * math/s_clogf.c: Likewise.
80456         * math/s_clogl.c: Likewise.
80457         * math/s_csqrt.c: Likewise.
80458         * math/s_csqrtf.c: Likewise.
80459         * math/s_csqrtl.c: Likewise.
80460         * math/s_ctanf.c: Likewise.
80461         * math/s_ctanh.c: Likewise.
80462         * math/s_ctanhf.c: Likewise.
80463         * math/s_ctanhl.c: Likewise.
80464         * math/s_ctanl.c: Likewise.
80466         * math/math_private.h: Define __nan, __nanf, __nanl.
80467         * math/s_cacosh.c: Include <math_private.h>.
80468         * math/s_cacoshl.c: Likewise.
80469         * math/s_casinh.c: Likewise.
80470         * math/s_casinhf.c: Likewise.
80471         * math/s_casinhl.c: Likewise.
80472         * math/s_ccos.c: Rely entire on ccosh.
80473         * math/s_ccosf.c: Rely entire on ccoshf.
80474         * math/s_ccosl.c: Rely entirely on ccoshl.
80475         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80476         Remove tests for FE_INVALID.
80477         * math/s_ccoshf.c: Likewise.
80478         * math/s_ccoshl.c: Likewise.
80479         * math/s_csin.c: Likewise.
80480         * math/s_csinf.c: Likewise.
80481         * math/s_csinh.c Likewise.
80482         * math/s_csinhf.c: Likewise.
80483         * math/s_csinhl.c: Likewise.
80484         * math/s_csinl.c: Likewise.
80485         * math/s_ctan.c: Likewise.
80486         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80487         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80488         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80490 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80492         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80493         compilation problems.
80495         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80496         __builtin_expect.
80498 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80500         * sysdeps/i386/configure.in: Test for -mfma4 option.
80501         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80502         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80503         COMMON_CPUID_INDEX_80000001.
80504         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80505         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80506         use it if FMA3 is not supported.
80507         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80509         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80510         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80512 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80514         [BZ #12892]
80515         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80516         it would create a cycle with a link time dependency.
80518 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80520         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80521         instruction.
80522         * string/Makefile (strop-tests): Add rawmemchr.
80523         * string/test-rawmemchr.c: New file.
80525         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80526         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80527         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80528         when compiling str{,n}casecmp and when AVX is available.  Hook up
80529         new optimized code in initializers.
80531 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80533         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80534         __feraiseexcept instead of feraiseexcept.
80536 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80538         * math/math_private.h: Define defaults for libc_fetestexcept and
80539         libc_feupdateenv.
80540         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80541         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80542         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80543         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80544         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80545         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80546         libc_fetestexcept and libc_feupdateenv.
80548         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80549         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80550         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80551         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80552         libc_feholdexcept_setround.
80554         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80555         Add s_nearbyint-c and s_nearbyintf-c.
80556         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80557         nearbyintf inlines.
80558         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80559         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80560         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80561         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80563         * math/math_private.h: Define defaults for libc_fegetround,
80564         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80565         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80566         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80567         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80568         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80569         standard functions.
80570         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80571         Remove comments and hacks for old compiler versions.
80572         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80573         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80574         libc_feholdexceptl.
80576 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80578         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80579         (__feraiseexcept_renamed): Add __NTH.
80580         (feraiseexcept): Add __NTH.  Rename local variables to fix
80581         namespace violations.
80583 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80585         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80587         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80589         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80590         recently added interfaces.
80591         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80593         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80594         about macro parameter expansion.
80596         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80597         __NO_MATH_INLINES is defined.  Cleanups.
80599         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80600         and __floorf is target has SSE4.1.
80601         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80602         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80603         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80604         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80606         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80607         name.
80608         (floorf): Likewise.
80610         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80612 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80614         * misc/sys/cdefs.h: Fix last change.
80616         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80617         database lookup.
80619 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80621         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80623         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80624         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80625         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80626         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80627         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80628         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80629         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80630         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80631         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80632         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80633         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80634         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80635         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80636         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80637         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80638         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80639         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80640         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80641         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80642         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80643         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80644         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80646         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80647         ceil, ceilf, floor, floorf.
80649         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80650         Perform IRELATIVE relocations last.
80652         * elf/do-rel.h: Add another parameter nrelative, replacing the
80653         local variable with the same name.  Change name of the function
80654         to end in Rel or Rela (uppercase).
80655         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80656         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80657         elf_dynamic_do_##reloc function.
80659 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80661         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80662         is sufficient, at least on modern CPUs.
80664         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80666         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80667         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80669         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80670         __expl_finite.
80671         * math/bits/math-finite.h: Add entries for exp.
80672         * math/e_expl.c: Add __*_finite alias.
80673         * sysdeps/i386/fpu/e_exp.S: Likewise.
80674         * sysdeps/i386/fpu/e_expf.S: Likewise.
80675         * sysdeps/i386/fpu/e_expl.c: Likewise.
80676         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80677         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80678         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80680         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80681         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80682         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80684         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80685         is sufficient, at least on modern CPUs.
80687         * ctype/ctype-info.c (__ctype_init): Define.
80688         * include/ctype.h (__ctype_init): Declare.
80689         (__ctype_b_loc): The variable is always initialized.
80690         (__ctype_toupper_loc): Likewise.
80691         (__ctype_tolower_loc): Likewise.
80692         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80693         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80695 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
80697         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80699         * configure.in: Also look in $cxxmachine/include for C++ system
80700         headers.
80702 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80704         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80705         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80706         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80707         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
80708         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80709         (USE_AS_WMEMCMP): New macro.
80710         Fixing indents.
80711         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80712         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80713         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80714         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80715         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80716         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80717         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80718         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80719         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80720         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80721         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80722         (USE_AS_WMEMCMP): New macro.
80723         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80724         * sysdeps/string/test-memcmp.c: Update.
80725         Fix simple_wmemcmp.
80726         Add new tests.
80727         * wcsmbs/wmemcmp.c: Update.
80728         (WMEMCMP): New macro.
80729         Fix overflow bug.
80731 2011-10-12  Andreas Jaeger  <aj@suse.de>
80733         [BZ #13268]
80734         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80736 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80738         * libio/iofwide.c (do_length): Avoid warning.
80740         * ctype/ctype.h (__isctype_f): Add missing __THROW.
80742 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
80744         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80746         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80747         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80748         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80749         * sysdeps/i386/i686/fpu/e_log.S: New file.
80750         * sysdeps/i386/i686/fpu/e_logf.S: New file.
80751         * sysdeps/i386/i686/fpu/e_logl.S: New file.
80753         * ctype/ctype.h: Add support for inlined isXXX functions when
80754         compiling C++ code.
80756 2011-10-14  Andreas Schwab  <schwab@redhat.com>
80758         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80760         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80762 2011-10-13  Roland McGrath  <roland@hack.frob.com>
80764         [BZ #13291]
80765         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80767 2011-10-13  Andreas Schwab  <schwab@redhat.com>
80769         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
80770         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
80771         feraiseexcept.
80773         * sysdeps/x86_64/memrchr.S: Check for zero size.
80775         * string/stratcliff.c: Add memrchr tests.
80777 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80779         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80780         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
80781         rawmemchr-sse2 rawmemchr-sse2-bsf.
80782         * sysdeps/i386/i686/multiarch/memchr.S: New file.
80783         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
80784         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
80785         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
80786         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
80787         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
80788         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
80789         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
80790         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
80791         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
80792         * string/memrchr.c (MEMRCHR): New macro.
80794 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
80796         Add integration with gcc's -ffinite-math-only and optimize wrapper
80797         functions in libm.
80798         * Versions.def: Define GLIBC_2.15 version for libm.
80799         * math/Makefile (headers): Add bits/math-finite.h.
80800         * math/bits/math-finite.h: New file.
80801         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
80802         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
80803         * math/e_acoshl.c: Add __*_finite alias.
80804         * math/e_acosl.c: Likewise.
80805         * math/e_asinl.c: Likewise.
80806         * math/e_atan2l.c: Likewise.
80807         * math/e_atanhl.c: Likewise.
80808         * math/e_coshl.c: Likewise.
80809         * math/e_exp10.c: Likewise.
80810         * math/e_exp10f.c: Likewise.
80811         * math/e_exp10l.c: Likewise.
80812         * math/e_exp2l.c: Likewise.
80813         * math/e_fmodl.c: Likewise.
80814         * math/e_gammal_r.c: Likewise.
80815         * math/e_hypotl.c: Likewise.
80816         * math/e_j0l.c: Likewise.
80817         * math/e_j1l.c: Likewise.
80818         * math/e_jnl.c: Likewise.
80819         * math/e_lgammal_r.c: Likewise.
80820         * math/e_log10l.c: Likewise.
80821         * math/e_log2l.c: Likewise.
80822         * math/e_logl.c: Likewise.
80823         * math/e_powl.c: Likewise.
80824         * math/e_sinhl.c: Likewise.
80825         * math/e_sqrtl.c: Likewise.
80826         * math/e_scalb.c: Completely rewritten and optimized.
80827         * math/e_scalbf.c: Likewise.
80828         * math/e_scalbl.c: Likewise.
80829         * math/w_acos.c: Likewise.
80830         * math/w_acosf.c: Likewise.
80831         * math/w_acosl.c: Likewise.
80832         * math/w_acosh.c: Likewise.
80833         * math/w_acoshf.c: Likewise.
80834         * math/w_acoshl.c: Likewise.
80835         * math/w_asin.c: Likewise.
80836         * math/w_asinf.c: Likewise.
80837         * math/w_asinl.c: Likewise.
80838         * math/w_atan2.c: Likewise.
80839         * math/w_atan2f.c: Likewise.
80840         * math/w_atan2l.c: Likewise.
80841         * math/w_atanh.c: Likewise.
80842         * math/w_atanhf.c: Likewise.
80843         * math/w_atanhl.c: Likewise.
80844         * math/w_exp10.c: Likewise.
80845         * math/w_exp10f.c: Likewise.
80846         * math/w_exp10l.c: Likewise.
80847         * math/w_fmod.c: Likewise.
80848         * math/w_fmodf.c: Likewise.
80849         * math/w_fmodl.c: Likewise.
80850         * math/w_j0.c: Likewise.
80851         * math/w_j0f.c: Likewise.
80852         * math/w_j0l.c: Likewise.
80853         * math/w_j1.c: Likewise.
80854         * math/w_j1f.c: Likewise.
80855         * math/w_j1l.c: Likewise.
80856         * math/w_jn.c: Likewise.
80857         * math/w_jnf.c: Likewise.
80858         * math/w_log.c: Likewise.
80859         * math/w_logf.c: Likewise.
80860         * math/w_logl.c: Likewise.
80861         * math/w_log10.c: Likewise.
80862         * math/w_log10f.c: Likewise.
80863         * math/w_log10l.c: Likewise.
80864         * math/w_log2.c: Likewise.
80865         * math/w_log2f.c: Likewise.
80866         * math/w_log2l.c: Likewise.
80867         * math/w_pow.c: Likewise.
80868         * math/w_powf.c: Likewise.
80869         * math/w_powl.c: Likewise.
80870         * math/w_remainder.c: Likewise.
80871         * math/w_remainderf.c: Likewise.
80872         * math/w_remainderl.c: Likewise.
80873         * math/w_scalb.c: Likewise.
80874         * math/w_scalbf.c: Likewise.
80875         * math/w_scalbl.c: Likewise.
80876         * math/w_sqrt.c: Likewise.
80877         * math/w_sqrtf.c: Likewise.
80878         * math/w_sqrtl.c: Likewise.
80879         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
80880         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
80881         used.
80882         * math/math_private.h: Declare __kernel_standard_f.
80883         * math/w_cosh.c: Remove cruft and optimize a bit.
80884         * math/w_coshf.c: Likewise.
80885         * math/w_coshl.c: Likewise.
80886         * math/w_exp2.c: Likewise.
80887         * math/w_exp2f.c: Likewise.
80888         * math/w_exp2l.c: Likewise.
80889         * math/w_hypot.c: Likewise.
80890         * math/w_hypotf.c: Likewise.
80891         * math/w_hypotl.c: Likewise.
80892         * math/w_lgamma.c: Likewise.
80893         * math/w_lgamma_r.c: Likewise.
80894         * math/w_lgammaf.c: Likewise.
80895         * math/w_lgammaf_r.c: Likewise.
80896         * math/w_lgammal.c: Likewise.
80897         * math/w_lgammal_r.c: Likewise.
80898         * math/w_sinh.c: Likewise.
80899         * math/w_sinhf.c: Likewise.
80900         * math/w_sinhl.c: Likewise.
80901         * math/w_tgamma.c: Likewise.
80902         * math/w_tgammaf.c: Likewise.
80903         * math/w_tgammal.c: Likewise.
80904         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
80905         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80906         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
80907         Minor optimizations.  Pretty printing.  Remove cruft.
80908         * sysdeps/i386/fpu/e_acosf.S: Likewise.
80909         * sysdeps/i386/fpu/e_acosh.S: Likewise.
80910         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
80911         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
80912         * sysdeps/i386/fpu/e_acosl.c: Likewise.
80913         * sysdeps/i386/fpu/e_asin.S: Likewise.
80914         * sysdeps/i386/fpu/e_asinf.S: Likewise.
80915         * sysdeps/i386/fpu/e_atan2.S: Likewise.
80916         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
80917         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
80918         * sysdeps/i386/fpu/e_atanh.S: Likewise.
80919         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
80920         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
80921         * sysdeps/i386/fpu/e_exp10.S: Likewise.
80922         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
80923         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
80924         * sysdeps/i386/fpu/e_exp2.S: Likewise.
80925         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
80926         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
80927         * sysdeps/i386/fpu/e_fmod.S: Likewise.
80928         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
80929         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
80930         * sysdeps/i386/fpu/e_hypot.S: Likewise.
80931         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
80932         * sysdeps/i386/fpu/e_log.S: Likewise.
80933         * sysdeps/i386/fpu/e_log10.S: Likewise.
80934         * sysdeps/i386/fpu/e_log10f.S: Likewise.
80935         * sysdeps/i386/fpu/e_log10l.S: Likewise.
80936         * sysdeps/i386/fpu/e_log2.S: Likewise.
80937         * sysdeps/i386/fpu/e_log2f.S: Likewise.
80938         * sysdeps/i386/fpu/e_log2l.S: Likewise.
80939         * sysdeps/i386/fpu/e_logf.S: Likewise.
80940         * sysdeps/i386/fpu/e_logl.S: Likewise.
80941         * sysdeps/i386/fpu/e_pow.S: Likewise.
80942         * sysdeps/i386/fpu/e_powf.S: Likewise.
80943         * sysdeps/i386/fpu/e_powl.S: Likewise.
80944         * sysdeps/i386/fpu/e_remainder.S: Likewise.
80945         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
80946         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
80947         * sysdeps/i386/fpu/e_scalb.S: Likewise.
80948         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
80949         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
80950         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
80951         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
80952         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
80953         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
80954         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80956         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
80957         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80958         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
80959         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
80960         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
80961         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80962         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
80963         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
80964         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
80965         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80966         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
80967         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
80968         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80969         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
80970         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
80971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80973         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
80974         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
80975         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
80976         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
80977         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
80978         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
80979         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80980         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
80981         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
80982         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
80983         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80984         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
80985         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
80986         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
80987         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
80988         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
80989         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
80990         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
80991         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
80992         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
80993         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
80994         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
80995         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
80996         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
80997         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
80998         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
80999         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81000         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81001         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81002         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81003         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81004         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81005         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81006         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81007         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81008         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81009         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81010         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81011         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81012         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81013         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81014         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81015         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81016         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81017         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81018         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81019         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81020         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81021         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81022         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81023         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81024         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81025         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81026         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81027         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81028         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81029         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81030         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81031         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81032         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81033         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81034         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81035         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81036         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81037         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81038         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81039         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81040         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81041         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81042         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81043         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81046         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81048         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81049         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81050         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81051         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81052         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81053         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81054         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81055         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81056         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81057         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81058         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81059         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81060         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81061         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81062         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81063         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
81064         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81065         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81066         (__isnanf): Likewise.
81067         (__isinf_ns): Likewise.
81068         (__isinf_nsf): Likewise.
81069         (__finite): Likewise.
81070         (__finitef): Likewise.
81071         (__ieee754_sqrt): Define as macro.
81072         (__ieee754_sqrtf): Define as macro.
81073         (__ieee754_sqrtl): Define as macro.
81074         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81075         inlined copy.
81076         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81077         __FINITE_MATH_ONLY__ consistent.
81078         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81080 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
81082         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81083         of rawmemchr.
81085         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81087 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
81089         * po/ja.po: Update from translation team.
81091 2011-10-08  Roland McGrath  <roland@hack.frob.com>
81093         * locale/programs/locarchive.c (prepare_address_space): New function.
81094         (create_archive, enlarge_archive, open_archive): Use it.
81096         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81097         inside [SHARED], where it is used.
81099         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81101         * nss/getent.c (netgroup_keys): Remove unused variable.
81102         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81104 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
81106         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81107         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81108         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81109         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81110         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81111         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81112         * math/Makefile (libm-calls): Add s_isinf_ns.
81113         * math/divtc3.c: Use __isinf_nsl instead of isinf.
81114         * math/multc3.c: Likewise.
81115         * math/s_casin.c: Likewise.
81116         * math/s_casinf.c: Likewise.
81117         * math/s_casinl.c: Likewise.
81118         * math/s_ccos.c: Likewise.
81119         * math/s_ccosf.c: Likewise.
81120         * math/s_ccosl.c: Likewise.
81121         * math/s_ctan.c: Likewise.
81122         * math/s_ctanf.c: Likewise.
81123         * math/s_ctanh.c: Likewise.
81124         * math/s_ctanhf.c: Likewise.
81125         * math/s_ctanhl.c: Likewise.
81126         * math/s_ctanl.c: Likewise.
81127         * math/w_fmod.c: Likewise.
81128         * math/w_fmodf.c: Likewise.
81129         * math/w_fmodl.c: Likewise.
81130         * math/w_remainder.c: Likewise.
81131         * math/w_remainderf.c: Likewise.
81132         * math/w_remainderl.c: Likewise.
81133         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81134         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81135         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81136         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81137         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81138         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81139         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81140         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81142         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81143         of the number.
81144         * stdio-common/printf_fphex.c: Likewise.
81145         * stdio-common/printf_size.c: Likewise.
81147         * math/e_exp10.c: Include math_private.h using <...> not "...".
81148         * math/e_exp10f.c: Likewise.
81149         * math/e_exp10l.c: Likewise.
81150         * math/e_exp2l.c: Likewise.
81151         * math/e_j0l.c: Likewise.
81152         * math/e_j1l.c: Likewise.
81153         * math/e_jnl.c: Likewise.
81154         * math/e_lgammal_r.c: Likewise.
81155         * math/e_rem_pio2l.c: Likewise.
81156         * math/e_scalb.c: Likewise.
81157         * math/e_scalbf.c: Likewise.
81158         * math/e_scalbl.c: Likewise.
81159         * math/k_cosl.c: Likewise.
81160         * math/k_sinl.c: Likewise.
81161         * math/k_tanl.c: Likewise.
81162         * math/s_cacoshf.c: Likewise.
81163         * math/s_catan.c: Likewise.
81164         * math/s_catanf.c: Likewise.
81165         * math/s_catanh.c: Likewise.
81166         * math/s_catanhf.c: Likewise.
81167         * math/s_catanhl.c: Likewise.
81168         * math/s_catanl.c: Likewise.
81169         * math/s_ccosh.c: Likewise.
81170         * math/s_ccoshf.c: Likewise.
81171         * math/s_ccoshl.c: Likewise.
81172         * math/s_cexp.c: Likewise.
81173         * math/s_cexpf.c: Likewise.
81174         * math/s_cexpl.c: Likewise.
81175         * math/s_clog.c: Likewise.
81176         * math/s_clog10.c: Likewise.
81177         * math/s_clog10f.c: Likewise.
81178         * math/s_clog10l.c: Likewise.
81179         * math/s_clogf.c: Likewise.
81180         * math/s_clogl.c: Likewise.
81181         * math/s_csin.c: Likewise.
81182         * math/s_csinf.c: Likewise.
81183         * math/s_csinh.c: Likewise.
81184         * math/s_csinhf.c: Likewise.
81185         * math/s_csinhl.c: Likewise.
81186         * math/s_csinl.c: Likewise.
81187         * math/s_csqrt.c: Likewise.
81188         * math/s_csqrtf.c: Likewise.
81189         * math/s_csqrtl.c: Likewise.
81190         * math/s_ctan.c: Likewise.
81191         * math/s_ctanf.c: Likewise.
81192         * math/s_ctanh.c: Likewise.
81193         * math/s_ctanhf.c: Likewise.
81194         * math/s_ctanhl.c: Likewise.
81195         * math/s_ctanl.c: Likewise.
81196         * math/s_ldexp.c: Likewise.
81197         * math/s_ldexpf.c: Likewise.
81198         * math/s_ldexpl.c: Likewise.
81199         * math/s_significand.c: Likewise.
81200         * math/s_significandf.c: Likewise.
81201         * math/s_significandl.c: Likewise.
81202         * math/w_acos.c: Likewise.
81203         * math/w_acosf.c: Likewise.
81204         * math/w_acosh.c: Likewise.
81205         * math/w_acoshf.c: Likewise.
81206         * math/w_acoshl.c: Likewise.
81207         * math/w_acosl.c: Likewise.
81208         * math/w_asin.c: Likewise.
81209         * math/w_asinf.c: Likewise.
81210         * math/w_asinl.c: Likewise.
81211         * math/w_atan2.c: Likewise.
81212         * math/w_atan2f.c: Likewise.
81213         * math/w_atan2l.c: Likewise.
81214         * math/w_atanh.c: Likewise.
81215         * math/w_atanhf.c: Likewise.
81216         * math/w_atanhl.c: Likewise.
81217         * math/w_cosh.c: Likewise.
81218         * math/w_coshf.c: Likewise.
81219         * math/w_coshl.c: Likewise.
81220         * math/w_dremf.c: Likewise.
81221         * math/w_exp10.c: Likewise.
81222         * math/w_exp10f.c: Likewise.
81223         * math/w_exp10l.c: Likewise.
81224         * math/w_exp2.c: Likewise.
81225         * math/w_exp2f.c: Likewise.
81226         * math/w_fmod.c: Likewise.
81227         * math/w_fmodf.c: Likewise.
81228         * math/w_fmodl.c: Likewise.
81229         * math/w_hypot.c: Likewise.
81230         * math/w_hypotf.c: Likewise.
81231         * math/w_hypotl.c: Likewise.
81232         * math/w_j0.c: Likewise.
81233         * math/w_j0f.c: Likewise.
81234         * math/w_j0l.c: Likewise.
81235         * math/w_j1.c: Likewise.
81236         * math/w_j1f.c: Likewise.
81237         * math/w_j1l.c: Likewise.
81238         * math/w_jn.c: Likewise.
81239         * math/w_jnf.c: Likewise.
81240         * math/w_jnl.c: Likewise.
81241         * math/w_lgamma.c: Likewise.
81242         * math/w_lgamma_r.c: Likewise.
81243         * math/w_lgammaf.c: Likewise.
81244         * math/w_lgammaf_r.c: Likewise.
81245         * math/w_lgammal.c: Likewise.
81246         * math/w_lgammal_r.c: Likewise.
81247         * math/w_log.c: Likewise.
81248         * math/w_log10.c: Likewise.
81249         * math/w_log10f.c: Likewise.
81250         * math/w_log10l.c: Likewise.
81251         * math/w_log2.c: Likewise.
81252         * math/w_log2f.c: Likewise.
81253         * math/w_log2l.c: Likewise.
81254         * math/w_logf.c: Likewise.
81255         * math/w_logl.c: Likewise.
81256         * math/w_pow.c: Likewise.
81257         * math/w_powf.c: Likewise.
81258         * math/w_powl.c: Likewise.
81259         * math/w_remainder.c: Likewise.
81260         * math/w_remainderf.c: Likewise.
81261         * math/w_remainderl.c: Likewise.
81262         * math/w_scalb.c: Likewise.
81263         * math/w_scalbf.c: Likewise.
81264         * math/w_scalbl.c: Likewise.
81265         * math/w_sinh.c: Likewise.
81266         * math/w_sinhf.c: Likewise.
81267         * math/w_sinhl.c: Likewise.
81268         * math/w_sqrt.c: Likewise.
81269         * math/w_sqrtf.c: Likewise.
81270         * math/w_sqrtl.c: Likewise.
81271         * math/w_tgamma.c: Likewise.
81272         * math/w_tgammaf.c: Likewise.
81273         * math/w_tgammal.c: Likewise.
81275         * po/ja.po: Update from translation team.
81277 2011-09-29  Andreas Jaeger  <aj@suse.de>
81279         [BZ #13179]
81280         * sunrpc/netname.c (netname2host): Fix logic.
81282         [BZ #6779]
81283         [BZ #6783]
81284         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81285         correctly.
81286         * math/w_remainder.c (__remainder): Likewise.
81287         * math/w_remainderf.c (__remainderf): Likewise.
81288         * math/libm-test.inc (remainder_test): Add test cases.
81290 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81292         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81293         sdiv_qrnnd.
81295 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81297         * string/test-memcmp.c: Avoid unncessary #defines.
81298         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81300 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81302         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81303         Use new sse2 version for core i3 - i7 as it's faster
81304         than sse42 version.
81305         (bit_Prefer_PMINUB_for_stringop): New.
81306         * sysdeps/x86_64/rawmemchr.S: Update.
81307         Replace with faster SSE2 version.
81308         * sysdeps/x86_64/memrchr.S: New file.
81309         * sysdeps/x86_64/memchr.S: Update.
81310         Replace with faster SSE2 version.
81312 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81314         * elf/dl-load.c (lose): Add cast to avoid warning.
81316 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81318         * po/ca.po: Update from translation team.
81320         * inet/getnetgrent_r.c: Hook up nscd.
81321         * nscd/Makefile (routines): Add nscd_netgroup.
81322         (nscd-modules): Add netgroupcache.
81323         (CFLAGS-netgroupcache.c): Define.
81324         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81325         (cache_search): Add const to second parameter.
81326         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81327         INNETGR.
81328         (dbs): Add netgrdb entry.
81329         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81330         (verify_persistent_db): Handle netgrdb.
81331         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81332         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81333         GETFDNETGR.
81334         (netgroup_response_header): Define.
81335         (innetgroup_response_header): Define.
81336         (datahead): Add netgroup_response_header and innetgroup_response_header
81337         elements.
81338         * nscd/nscd.conf: Add entries for netgroup cache.
81339         * nscd/nscd.h (dbtype): Add netgrdb.
81340         (_PATH_NSCD_NETGROUP_DB): Define.
81341         (netgroup_iov_disabled): Declare.
81342         (xmalloc, xcalloc, xrealloc): Move declarations here.
81343         (cache_search): Adjust prototype.
81344         Add netgroup-related prototypes.
81345         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81346         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81347         (__nscd_innetgr): Declare.
81348         * nscd/selinux.c (perms): Use access_vector_t as element type and
81349         add netgroup-related initializers.
81350         * nscd/netgroupcache.c: New file.
81351         * nscd/nscd_netgroup.c: New file.
81352         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81353         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81354         For four parameters use innetgr.
81355         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81356         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81357         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81358         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81360         * nscd/connections.c (register_traced_file): Don't register file
81361         for disabled databases.
81363 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81365         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81367         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81368         from tree and freeing node.
81370 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81372         * nss/nsswitch.c (__nss_database_lookup): Handle
81373         nss_parse_service_list out of memory case.
81375 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81377         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81378         out of memory case.
81380 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81382         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81383         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81384         pass it down.
81385         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81386         elf_machine_rela, elf_machine_lazy_rel.
81387         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81388         (ELF_DYNAMIC_DO_REL): Likewise.
81389         (ELF_DYNAMIC_DO_RELA): Likewise.
81390         (ELF_DYNAMIC_RELOCATE): Likewise.
81391         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81392         to ELF_DYNAMIC_DO_REL.
81393         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81394         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81395         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81396         elf_machine_rela.
81397         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81398         skip_ifunc, don't call ifunc function if non-zero.
81399         (elf_machine_rela): Likewise.
81400         (elf_machine_lazy_rel): Likewise.
81401         (elf_machine_lazy_rela): Likewise.
81402         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81403         (elf_machine_lazy_rel): Likewise.
81404         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81405         Likewise.
81406         (elf_machine_lazy_rel): Likewise.
81407         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81408         Likewise.
81409         (elf_machine_lazy_rel): Likewise.
81410         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81411         (elf_machine_lazy_rel): Likewise.
81412         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81413         (elf_machine_lazy_rel): Likewise.
81414         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81415         (elf_machine_lazy_rel): Likewise.
81416         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81417         (elf_machine_lazy_rel): Likewise.
81418         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81419         (elf_machine_lazy_rel): Likewise.
81420         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81421         (elf_machine_lazy_rel): Likewise.
81423 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81425         * nss/nss_files/files-init.c (_nss_files_init): Use static
81426         initialization for all the *_traced_file variables.
81428 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81430         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81432 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81434         [BZ #13226]
81435         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81437 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81439         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81440         Reread the line before reparsing it.
81442 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81444         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81446 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81447             Maxim Kuvyrkov  <maxim@codesourcery.com>
81448             Joseph Myers  <joseph@codesourcery.com>
81450         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81451         if needed for __stack_chk_guard.
81453 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81455         * sysdeps/posix/spawni.c (script_execute): Always define it.
81456         It will be optimized away if unused.
81457         (maybe_script_execute): New function.
81458         (__spawni): Call it.
81460         * Makerules: Don't include tls.make.
81461         (config-tls): Always set to thread.
81462         * tls.make.c: File removed.
81464 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81466         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81467         * config.make.in (CPPFLAGS-config): New substituted variable.
81469 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81471         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81473         [BZ #13192]
81474         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81475         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81477 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81479         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81480         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81481         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81482         (CALL_FAIL): Likewise.
81483         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81484         (CALL_FAIL): Macro removed.
81485         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81487 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81489         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81490         for __FINITE_MATH_ONLY__ == 1.
81492 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81494         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81495         __ieee754_sqrt instead of sqrt.
81496         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81497         __ieee754_sqrtf instead of sqrtf.
81498         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81499         __floorf instead of floorf.
81500         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81501         __floorf, __truncf instead of floorf, truncf.
81503 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81505         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81507         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81508         __extern_always_inline.
81509         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81510         32-bit.
81512 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81514         * elf/rtld.c (dl_main): Also relocate in dependency order when
81515         doing symbol dependency testing.
81517 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81519         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81520         Always define `refsym'.
81522 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81524         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81525         (__FD_ELT): Renamed from __FDELT.
81526         * misc/bits/select2.h (__FD_ELT): Likewise.
81527         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81528         __FD_MASK instead of __FDELT, __FDMASK.
81529         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81530         Likewise.
81531         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81532         Likewise.
81534         * elf/Makefile (gen-ldd): Fix pattern.
81536         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81537         (init_tls): Likewise.
81539 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81541         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81543 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81545         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81546         `struct cmsghdr *' instead of `void *'.
81547         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81548         Likewise.
81550 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81552         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81553         if non-absolute.
81554         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81555         ldd_rewrite_script.
81557 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81559         * configure.in: Remove --with-tls option.
81560         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81561         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81562         out in case it is missing.
81563         * sysdeps/ia64/elf/configure.in: Likewise.
81564         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81565         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81566         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81567         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81568         * sysdeps/sh/elf/configure.in: Likewise.
81569         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81570         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81571         * sysdeps/x86_64/elf/configure.in: Likewise.
81572         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81573         * sysdeps/mach/hurd/tls.h: Likewise.
81575         [BZ #13067]
81576         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81578         [BZ #13090]
81579         * configure.in: Fix use of AC_INIT.
81581         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81583 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81585         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81586         __set_errno.
81587         * malloc/hooks.c: Likewise.
81589         [BZ #11929]
81590         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81591         variables statically.
81592         (narenas): Initialize.
81593         (list_lock): Initialize.
81594         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81595         initializtion of main_arena and list_lock.  Small cleanups.
81596         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81597         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81598         Add initializers to main_arena and mp_.
81599         (malloc_state): Remove pagesize member.  Change all users to use
81600         GLRO(dl_pagesize).
81602         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81603         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81604         is always initialized.
81606         * malloc/malloc.c: Removed unused configurations and dead code.
81607         * malloc/arena.c: Likewise.
81608         * malloc/hooks.c: Likewise.
81609         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81611         * include/tls.h: Removed.  USE___THREAD must always be defined.
81612         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81613         * elf/dl-libc.c: Likewise.
81614         * elf/dl-tsd.c: Likewise.
81615         * include/errno.h: Likewise.
81616         * include/netdb.h: Likewise.
81617         * include/resolv.h: Likewise.
81618         * inet/herrno-loc.c: Likewise.
81619         * inet/herrno.c: Likewise.
81620         * malloc/arena.c: Likewise.
81621         * malloc/hooks.c: Likewise.
81622         * malloc/malloc.c: Likewise.
81623         * resolv/res-state.c: Likewise.
81624         * resolv/res_libc.c: Likewise.
81625         * sysdeps/i386/dl-machine.h: Likewise.
81626         * sysdeps/ia64/dl-machine.h: Likewise.
81627         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81628         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81629         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81630         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81631         * sysdeps/sh/dl-machine.h: Likewise.
81632         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81633         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81634         * sysdeps/unix/i386/sysdep.S: Likewise.
81635         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81636         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81637         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81638         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81639         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81640         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81641         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81642         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81643         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81644         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81645         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81646         * sysdeps/x86_64/dl-machine.h: Likewise.
81647         * tls.make.c: Likewise.
81649         * configure.in: Remove --with-__thread option.  Make tests for
81650         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81651         tls_model attribute fail if no support is available.  Remove
81652         USE_IN_LIBIO.
81653         * Makeconfig: Adjust for dropped configure option.  All features are
81654         now mandatory.
81655         * Makerules: Likewise.
81656         * Versions.def: Likewise.
81657         * argp/argp-fmtstream.c: Likewise.
81658         * argp/argp-fmtstream.h: Likewise.
81659         * argp/argp-help.c: Likewise.
81660         * assert/assert.c: Likewise.
81661         * config.h.in: Likewise.
81662         * config.make.in: Likewise.
81663         * configure: Likewise.
81664         * configure.in: Likewise.
81665         * csu/Versions: Likewise.
81666         * csu/init.c: Likewise.
81667         * elf/tst-audit2.c: Likewise.
81668         * elf/tst-tls10.c: Likewise.
81669         * elf/tst-tls10.h: Likewise.
81670         * elf/tst-tls11.c: Likewise.
81671         * elf/tst-tls12.c: Likewise.
81672         * elf/tst-tls14.c: Likewise.
81673         * elf/tst-tlsmod11.c: Likewise.
81674         * elf/tst-tlsmod12.c: Likewise.
81675         * elf/tst-tlsmod13.c: Likewise.
81676         * elf/tst-tlsmod13a.c: Likewise.
81677         * elf/tst-tlsmod14a.c: Likewise.
81678         * elf/tst-tlsmod15b.c: Likewise.
81679         * elf/tst-tlsmod16a.c: Likewise.
81680         * elf/tst-tlsmod16b.c: Likewise.
81681         * elf/tst-tlsmod7.c: Likewise.
81682         * elf/tst-tlsmod8.c: Likewise.
81683         * elf/tst-tlsmod9.c: Likewise.
81684         * gmon/gmon.c: Likewise.
81685         * grp/fgetgrent_r.c: Likewise.
81686         * grp/putgrent.c: Likewise.
81687         * hurd/fopenport.c: Likewise.
81688         * include/libc-symbols.h: Likewise.
81689         * include/tls.h: Likewise.
81690         * intl/gettextP.h: Likewise.
81691         * intl/loadinfo.h: Likewise.
81692         * locale/global-locale.c: Likewise.
81693         * locale/localeinfo.h: Likewise.
81694         * mach/devstream.c: Likewise.
81695         * malloc/arena.c: Likewise.
81696         * malloc/set-freeres.c: Likewise.
81697         * misc/err.c: Likewise.
81698         * misc/getttyent.c: Likewise.
81699         * misc/mntent_r.c: Likewise.
81700         * posix/getopt.c: Likewise.
81701         * posix/wordexp.c: Likewise.
81702         * pwd/fgetpwent_r.c: Likewise.
81703         * resolv/Versions: Likewise.
81704         * resolv/res_hconf.c: Likewise.
81705         * shadow/fgetspent_r.c: Likewise.
81706         * shadow/putspent.c: Likewise.
81707         * stdio-common/printf_fphex.c: Likewise.
81708         * stdio-common/tmpfile.c: Likewise.
81709         * stdlib/abort.c: Likewise.
81710         * stdlib/fmtmsg.c: Likewise.
81711         * sunrpc/auth_unix.c: Likewise.
81712         * sunrpc/clnt_perr.c: Likewise.
81713         * sunrpc/clnt_tcp.c: Likewise.
81714         * sunrpc/clnt_udp.c: Likewise.
81715         * sunrpc/clnt_unix.c: Likewise.
81716         * sunrpc/openchild.c: Likewise.
81717         * sunrpc/svc_simple.c: Likewise.
81718         * sunrpc/svc_tcp.c: Likewise.
81719         * sunrpc/svc_udp.c: Likewise.
81720         * sunrpc/svc_unix.c: Likewise.
81721         * sunrpc/xdr.c: Likewise.
81722         * sunrpc/xdr_array.c: Likewise.
81723         * sunrpc/xdr_rec.c: Likewise.
81724         * sunrpc/xdr_ref.c: Likewise.
81725         * sunrpc/xdr_stdio.c: Likewise.
81727 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81729         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81731 2011-07-03  Andreas Jaeger  <aj@suse.de>
81733         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81734         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81735         regenerate with gen-libm-tests.pl.
81737 2010-05-12  Petr Baudis  <pasky@suse.cz>
81739         [BZ #11589]
81740         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81741         around j0() zero points by switching to j1().
81742         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81743         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81744         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81745         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81747 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81749         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81750         instead of 0.
81751         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81752         instead of 0.
81753         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81754         Patch in part by Pavel Roskin <proski@gnu.org>.
81756         [BZ #13138]
81757         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81758         realloc.
81759         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
81760         Free memory block if necessary.
81762         [BZ #12847]
81763         * libio/genops.c (INTDEF): For string streams the _lock pointer can
81764         be NULL.  Don't lock in this case.
81766 2011-09-09  Roland McGrath  <roland@hack.frob.com>
81768         * elf/elf.h (ELFOSABI_GNU): New macro.
81769         (ELFOSABI_LINUX): Define to that.
81771 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
81773         * string/strncat.c (strncat): Undef the symbol in case it has been
81774         defined in bits/string.h.
81776 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
81778         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
81780         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
81781         link map.
81783 2011-08-17  Andreas Jaeger  <aj@suse.de>
81785         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
81787 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
81788             Ian Lance Taylor  <iant@google.com>
81790         * math/libm-test.inc (lround_test): New testcase.
81791         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
81793 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
81795         * Makefile: Remove support for automatic cvs check-ins.
81796         * Makerules: Likewise.
81797         * config.make.in: Likewise.
81798         * configure.in: Likewise.
81799         * intl/Makefile: Likewise.
81800         * locale/Makefile: Likewise.
81801         * po/Makefile: Likewise.
81802         * posix/Makefile: Likewise.
81803         * sysdeps/gnu/Makefile: Likewise.
81804         * sysdeps/mach/hurd/Makefile: Likewise.
81805         * sysdeps/sparc/sparc32/Makefile: Likewise.
81807         [BZ #13118]
81808         * posix/Makefile (bug-regex32-ENV): Define.
81809         Patch by John Stanley <jpsinthemix@verizon.net>.
81811         * misc/Makefile (headers): Add bits/select2.h.
81812         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
81813         * misc/bits/select2.h: New file.
81814         * include/bits/select2.h: New file.
81815         * debug/Makefile (routines): Add fdelt_chk.
81816         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
81817         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
81818         FD_ISSET.
81819         * debug/fdelt_chk.c: New file.
81821         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
81822         * wcsmbs/test-wmemcmp.c: Likewise.
81823         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
81824         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
81826 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81828         * string/Makefile (strop-tests): Add memcmp.
81829         * string/test-wmemcmp.c: New file.
81830         * string/test-memcmp.c: Add wmemcmp support.
81832 2011-09-08  Roland McGrath  <roland@hack.frob.com>
81834         [BZ #13153]
81835         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
81836         2011-07-19 change.
81838         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
81839         garbage value in a __mach_port_mod_refs call in the cases of the
81840         task-self and thread-self ports.
81842 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81844         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
81846 2011-09-08  Andreas Schwab  <schwab@redhat.com>
81848         * elf/dl-load.c (lose): Check for non-null L.
81850 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81852         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
81854         * elf/dl-libc.c (dlerror_run): Pass back error code from
81855         dl_catch_error.
81857         [BZ #13123]
81858         * elf/dl-load.c (lose): Free l_origin if it is valid.
81860         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
81861         names.
81862         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
81863         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81864         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
81865         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81866         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
81867         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
81869 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81871         * sysdeps/powerpc/fpu/e_hypot.c: New file.
81872         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
81873         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
81874         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
81875         * sysdeps/powerpc/fpu/k_cosf.c: New file.
81876         * sysdeps/powerpc/fpu/k_sinf.c: New file.
81877         * sysdeps/powerpc/fpu/s_cosf.c: New file.
81878         * sysdeps/powerpc/fpu/s_sinf.c: New file.
81879         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
81880         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
81882 2011-08-15  Alan Modra  <amodra@gmail.com>
81884         [BZ #13092]
81885         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
81886         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
81887         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
81888         ppc_mcount to static-only-routines.
81889         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
81890         __mcount_internal.
81891         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
81892         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
81894 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
81896         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
81897         for finite and infinity parameters.
81899 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
81901         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
81902         and add nop instructions for throughput optimization.
81903         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
81905 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
81907         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
81908         aligned copy for power7 with vector-scalar instructions.
81909         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
81911 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
81913         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
81914         AVX check.
81916 2011-09-07  Andreas Schwab  <schwab@redhat.com>
81918         [BZ #13144]
81919         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
81920         last change.
81922 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
81924         * sysdeps/unix/sysv/linux/x86_64/init-first.c
81925         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
81926         syscall wrapper around clock_gettime in __vdso_clock_gettime.
81927         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
81928         clock_gettime.
81930 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81932         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
81933         Forgot to demangle the pointer.
81935         * sysdeps/i386/sysdep.h: Define atom_text_section.
81936         * sysdeps/x86_64/sysdep.h: Likewise.
81937         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
81938         section with atom_text_section.
81939         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
81940         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
81941         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
81942         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
81943         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
81945         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
81946         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
81947         already be defined.  Change to take two parameters and don't assign
81948         result to variable.  Adjust all users.
81949         Define INTERNAL_GETTIME if not already defined.
81950         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
81951         call.
81952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
81953         HAVE_CLOCK_GETTIME_VSYSCALL.
81954         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
81956         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
81957         gettimeofday vsyscall, just use time.
81959 2011-09-06  Andreas Schwab  <schwab@redhat.com>
81961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
81962         <errno.h>.
81964 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
81966         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
81967         syscall on x86-64.
81968         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
81969         syscall.
81970         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
81971         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
81972         syscall if possible.
81974 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81976         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
81977         e_ident.  Don't pass to find_mapsXX.
81978         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
81980 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
81982         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81983         strchr-sse2-no-bsf strrchr-sse2-no-bsf
81984         * sysdeps/x86_64/multiarch/strchr.S: Update.
81985         Check bit_slow_BSF bit.
81986         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
81987         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
81988         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
81990 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
81992         [BZ #13134]
81993         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
81994         before glibc 2.15.
81995         (tryshell): Define.
81996         (__spawni): Change last parameter to be flag.  Test
81997         SPAWN_XFLAGS_USE_PATH flag to use path or not.
81998         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
81999         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82000         * posix/spawni.c: Likewise.
82001         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82002         * posix/spawnp.c: Likewise.  Change normal version to use
82003         SPAWN_XFLAGS_USE_PATH.
82004         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82005         SPAWN_XFLAGS_TRY_SHELL.
82007         [BZ #13150]
82008         * posix/glob.h: Remove gcc 1.x support.
82010         [BZ #13068]
82011         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82013 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82015         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82016         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82017         strrchr-sse2-bsf
82018         * sysdeps/i386/i686/multiarch/strchr.S: New file.
82019         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82020         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82021         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82022         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82023         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82025 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82027         * sysdeps/x86_64/wcscmp.S: New file.
82029         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82030         wcscmp-c wcscmp-sse2
82031         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82032         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82033         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82034         * wcsmbs/wcscmp.c: Allow renaming.
82036 2011-09-05  David S. Miller  <davem@davemloft.net>
82038         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82039         stack slot, rather than the struct return pointer slot.
82040         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82041         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82042         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82043         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82045 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82047         * po/ja.po: Update from translation team.
82049         [BZ #13144]
82050         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82051         kernel in 64-bit binaries.
82053 2011-09-01  David S. Miller  <davem@davemloft.net>
82055         * elf/elf.h (HWCAP_SPARC_*): Move to..
82056         * sysdeps/sparc/sysdep.h: this new file and add new values.
82057         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82058         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82059         _DL_HWCAP_COUNT to 24.
82060         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82061         entries.
82062         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82063         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82064         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82065         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82066         instead of magic constants.
82067         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82069 2011-08-31  David S. Miller  <davem@davemloft.net>
82071         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82072         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82073         Reimplement to do errno handling inline.
82074         (SYSCALL_ERROR_HANDLER): New macro.
82075         (__SYSCALL_STRING): Do not do errno handling in asm.
82076         (__CLONE_SYSCALL_STRING): Delete.
82077         (__INTERNAL_SYSCALL_STRING): Delete.
82078         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82079         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82080         (PSEUDO): Reimplement to do errno handling inline.
82081         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82082         (SYSCALL_ERROR_HANDLER): New macro.
82083         (__SYSCALL_STRING): Do not do errno handling in asm.
82084         (__CLONE_SYSCALL_STRING): Delete.
82085         (__INTERNAL_SYSCALL_STRING): Delete.
82086         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82087         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82088         i386.
82089         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82090         (inline_syscall*): Add 'err' argument.
82091         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82092         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82093         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82094         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82096         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82097         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82099 2011-08-30  Andreas Schwab  <schwab@redhat.com>
82101         * elf/rtld.c (dl_main): Relocate objects in dependency order.
82103 2011-08-29  Jiri Olsa <jolsa@redhat.com>
82105         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82106         directive.
82108 2011-08-24  David S. Miller  <davem@davemloft.net>
82110         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82112 2011-08-24  Andreas Schwab  <schwab@redhat.com>
82114         * elf/Makefile: Add rules to build and run unload8 test.
82115         * elf/unload8.c: New file.
82116         * elf/unload8mod1.c: New file.
82117         * elf/unload8mod1x.c: New file.
82118         * elf/unload8mod2.c: New file.
82119         * elf/unload8mod3.c: New file.
82121         * elf/dl-close.c (_dl_close_worker): Reset private search list if
82122         it wasn't used.
82124 2011-08-23  David S. Miller  <davem@davemloft.net>
82126         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82127         subtract stack bias.
82128         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82129         %sp not %fp in calculations.
82130         (_JMPBUF_UNWINDS_ADJ): Likewise.
82132         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82133         (aio_suspend): Call it to force an exception region around the
82134         AIO_MISC_WAIT() invocation.
82136 2011-08-23  Andreas Schwab  <schwab@redhat.com>
82138         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82139         backslash.
82141 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
82143         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82144         protection macro.
82145         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82146         and <dl-machine.h>.
82147         (Elf64_FuncDesc): Remove.
82149 2011-08-22  David S. Miller  <davem@davemloft.net>
82151         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82152         sigaltstack check, add missing cfi directives.
82153         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82154         missing cfi directives, and sigaltstack handling.
82156 2011-08-16  Andreas Schwab  <schwab@redhat.com>
82158         [BZ #11724]
82159         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82160         object is seen twice.
82161         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82163         * elf/Makefile (distribute): Add tst-initorder2.c.
82164         (tests): Add tst-initorder2.
82165         (modules-names): Add tst-initorder2a tst-initorder2b
82166         tst-initorder2c tst-initorder2d.  Add rules to build them.
82167         ($(objpfx)tst-initorder2.out): New rule.
82168         * elf/tst-initorder2.c: New file.
82169         * elf/tst-initorder2.exp: New file.
82171 2011-08-22  Andreas Schwab  <schwab@redhat.com>
82173         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82175         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82176         dependencies back to end of function.
82178         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82179         $(elfobjdir)/ld.so.
82181 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
82183         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82184         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82185         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82186         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82187         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82188         of __vdso_gettimeofday.
82189         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82190         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
82191         attribute_hidden.
82192         (_libc_vdso_platform_setup): Remove initialization of
82193         __vdso_gettimeofday and __vdso_time.
82195 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82197         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82198         and fgetc_unlocked.
82199         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82200         getc_unlocked.
82202         * elf/dl-open.c (add_to_global): Report additions to the global scope
82203         for LD_DEBUG=scopes.
82204         (dl_open_worker): Also print scope of newly loaded dependencies.
82205         (_dl_show_scope): Indicate if there is no scope.
82207         [BZ #13114]
82208         * stdio-common/Makefile (tests): Add bug24.
82209         * stdio-common/bug24.c: New file.
82211 2011-08-19  Andreas Jaeger  <aj@suse.de>
82213         [BZ #13114]
82214         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82215         non-existant file when using close-on-exec mode.
82217 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82219         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82220         the very first instruction.
82222         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82223         the CFI state in the end.
82224         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82225         inclusion of dl-trampoline.h.
82226         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82228 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82230         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82231         expectations for long double.
82233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82234         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82236 2011-08-14  David S. Miller  <davem@davemloft.net>
82238         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82239         artificual limit depends upon the system page size.
82241 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82243         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82244         * resolv/Makefile: Define CFLAGS-libresolv.
82246 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82248         * nss/makedb.c (compute_tables): Make variables used in nested
82249         function static.
82251 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82253         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82254         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82255         if buffer was too small.
82257         * elf/pldd.c (main): Attach to all threads in the process.
82258         Rewrite /proc handling to use *at functions.
82260 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82262         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82263         specifies first scope to show.
82264         (dl_open_worker): Update callers.  Move printing scope of new
82265         object to before the relocation.
82266         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82267         * sysdeps/generic/ldsodefs.h: Update declaration.
82269         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82270         string for the scope number.
82272 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82274         * nscd/servicescache.c (cache_addserv): Make sure written is always
82275         initialized.
82277 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82279         * sysdeps/i386/i486/bits/atomic.h
82280         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82281         statement expression, so as to suppress "set but not used" warning.
82282         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82284         * string/strncat.c (STRNCAT): Use prototype definition.
82286         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82287         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82288         -Iprograms here.
82289         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82290         (localedef-modules): Add localedef.
82291         (locale-modules): Add locale.
82293         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82294         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82295         to avoid a warning.
82297 2011-08-14  David S. Miller  <davem@davemloft.net>
82299         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82300         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82302 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82304         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82305         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82306         * elf/rtld.c (dl_main): Set l_name of vDSO.
82307         Call _dl_show_scope when DL_DEBUG_SCOPES.
82308         (process_dl_debug): Recognize scopes flag and also set it for all.
82309         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82310         Declare _dl_show_scope.
82312         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82313         (do_dlopen): Pass caller_dlopen to dl_open.
82314         (__libc_dlopen_mode): Initialize caller_dlopen.
82316         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82317         of libc.  Make tolower call locale-independent.  Optimize a bit by
82318         using isdigit instead of isalnum.
82319         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82321 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82323         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82324         was a dependency or dynamically loaded.
82326 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82328         * intl/l10nflist.c: Allow architecture-specific pop function.
82329         * sysdeps/x86_64/l10nflist.c: New file.
82331         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82332         classification.
82334 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82336         * include/dirent.h: Add libc_hidden_proto for scandirat and
82337         scandirat64.  Don't declare __scandirat64.
82338         * dirent/scandirat.c: Add libc_hidden_def.
82339         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82340         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82342 2011-08-10  David S. Miller  <davem@davemloft.net>
82344         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82345         enum.
82346         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82347         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82348         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82350 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82352         * Versions.def [libc]: Add GLIBC_2.15.
82353         * dirent/Makefile (routines): Add scandirat and scandirat64.
82354         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82355         GLIBC_2.15.
82356         * dirent/dirent.h: Declare scandirat and scandirat64.
82357         * dirent/scandirat.c: New file.
82358         * dirent/scandirat64.c: New file.
82359         * sysdeps/wordsize-64/scandirat.c: New file.
82360         * sysdeps/wordsize-64/scandirat64.c: New file.
82361         * dirent/opendir.c: Define opendirat.
82362         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82363         using scandirat.
82364         * dirent/scandir64.c: Adjust for scandir.c change.
82365         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82366         __scandirat64, and __scandir_cancel_handler.
82367         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82368         additional parameter and use openat instead of open (outside of ld.so).
82369         Add new __opendir as wrapper around __opendirat.
82370         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82371         here without requiring old scandirat implementation.
82373 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82375         * dirent/scandir.c (cancel_handler): Renamed to
82376         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82377         defined.  Adjust users.
82378         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82379         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82381 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82383         * string/test-string.h (IMPL): Use __STRING to expand name and then
82384         stringify it.
82386         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82387         of cleanups.
82389 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82391         * string/Makefile: Update.
82392         (strop-tests): Append strncat.
82393         * string/test-wcscmp.c: New file.
82394         New comprehensive test for wcscmp.
82395         * string/test-strcmp.c: Update.
82396         (WIDE): New define.
82398 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82400         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82401         line.
82403 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82405         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82406         encoding to ACE if AI_IDN.
82408 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82410         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82411         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82413 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82415         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82416         Fix overflow bug in strncat.
82417         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82419         * string/test-strncat.c: Update.
82420         Add new tests for checking overflow bugs.
82422 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82424         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82425         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82426         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82427         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82428         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82429         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82430         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82431         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82432         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82434         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82435         (USE_AS_STRCAT): Define.
82436         Add strcat and strncat support.
82437         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82439 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82441         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82442         __n bigger than INT_MAX+1.
82443         (__strncmp_g): Likewise.
82445 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82447         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82448         * libio/stido.h: Likewise.
82450         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82451         (AF_NFC): Define.
82452         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82453         (AF_NFC): Define.
82455         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82456         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82457         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82458         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82459         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82461         [BZ #13021]
82462         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82463         installed.
82465         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82466         typo.
82467         (_dl_x86_64_save_sse): Likewise.
82469 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82471         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82472         OSXSAVE.
82473         (_dl_x86_64_save_sse): Likewise.
82475         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82477         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82479 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82481         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82482         change.
82483         (_dl_x86_64_save_sse): Use correct AVX check.
82485 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82487         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82488         bug in strncpy/strncat.
82489         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82491 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82493         * string/tester.c (test_strcat): Add tests for different alignments
82494         of source and destination.
82495         (test_strncat): Likewise.
82497 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82499         [BZ #12852]
82500         * posix/glob.c (glob): Check passed in values before using them in
82501         expressions to avoid some overflows.
82502         (glob_in_dir): Likewise.
82504         [BZ #13007]
82505         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82506         check for AVX enablement so that we don't crash with old kernels and
82507         new hardware.
82508         * elf/tst-audit4.c: Add same checks here.
82509         * elf/tst-audit6.c: Likewise.
82511         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82513 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82515         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82517 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82519         * po/cs.po: Update from translation team.
82520         * po/bg.po: Likewise.
82522 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82524         * misc/sys/cdefs.h: Add support for const attribute.
82525         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82526         to gnu_dev_{major,minor,makedev} functions.
82528 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82530         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82532 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82534         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82535         strlen results.
82537 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82540         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82541         register in order to avoid conflicts with the soft frame pointer
82542         being held in r11 when necessary.
82543         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82544         (INTERNAL_VSYSCALL_NCS): Likewise.
82546 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82548         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82549         * elf/dl-fini.c (_dl_fini): Adjust caller.
82550         * elf/dl-close.c (_dl_close_worker): Likewise.
82551         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82553 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82555         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82556         "aux_cache->nlibs < 0".
82558         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82559         in the reload-count case.
82561 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82563         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82564         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82565         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82566         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82567         * sysdeps/x86_64/multiarch/strcat.S: New file.
82568         * sysdeps/x86_64/multiarch/strncat.S: New file.
82569         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82570         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82571         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82572         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82573         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82574         (USE_AS_STRCAT): Define.
82575         Add strcat and strncat support.
82576         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82577         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82578         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82579         * string/strncat.c: Update.
82580         (USE_AS_STRNCAT): Define.
82581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82582         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82583         and i7.
82584         * sysdeps/x86_64/multiarch/init-arch.h
82585         (bit_Prefer_PMINUB_for_stringop): New.
82586         (index_Prefer_PMINUB_for_stringop): Likewise.
82587         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82588         bit_Prefer_PMINUB_for_stringop.
82590 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82592         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82593         buffer64.
82594         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82595         of casting of buffer.
82596         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82597         buffer32 and buffer64.
82598         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82599         writes instead of casting of buffer.
82600         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82601         buffer32.
82602         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82603         casting of buffer.
82605 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82607         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82609 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82611         * nscd/nscd.c (termination_handler): Don't do anything for a database
82612         if it has not yet been initialized.
82614 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82616         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82618 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82620         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82622 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82624         * po/nl.po: Update from translation team.
82625         * po/sv.po: Likewise.
82627 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82629         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82630         now disallowed by GCC.
82632         * configure.in (use-default-link): Default to yes if a test -shared
82633         link meets our qualifications.
82634         * configure: Regenerated.
82636         * config.make.in (output-format): New variable.
82637         * configure.in: Check for ld --print-output-format support.
82638         * configure: Regenerated.
82639         * Makerules ($(common-objpfx)format.lds)
82640         [$(output-format) != unknown]: Just use $(output-format),
82641         instead of the linker-script munging.
82643 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82645         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82646         of $(common-objpfx)shlib.lds.
82647         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82649         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82650         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82652         * configure.in (-z relro check): Adjust test code to add a large
82653         writable data section after it.
82654         * configure: Regenerated.
82656 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82658         * configure.in (-z relro check): Fix test code to make the variable
82659         truly const.
82660         * configure: Regenerated.
82662 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82664         * nscd/nscd.h (struct traced_file): Define.
82665         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82666         elements.  Add traced_files.
82667         (inotify_fd): Declare.
82668         (register_traced_file): Declare.
82669         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82670         (inotify_fd): Export.
82671         (resolv_conf_descr): Remove.
82672         (nscd_init): Move inotify descriptor creation to main.
82673         Don't register files for notification here.
82674         (register_traced_file): New function.
82675         (invalidate_cache): Don't use reset_res to determine whether to call
82676         res_init, go through the list of registered files.
82677         (main_loop_poll): The inotify descriptors are now stored in the
82678         structures for the traced files.
82679         (main_loop_epoll): Likewise.
82680         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82681         to __nss_disable_nscd.
82682         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82683         for a database anymore.  Check the records for all the registered
82684         files instead.
82685         * nss/Makefile (libnss_files-routines): Add files-init.
82686         (libnss_db-routines): Add db-init.
82687         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82688         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82689         * nss/nss_db/db-init.c: New file.
82690         * nss/nss_files/files-init.c: New file.
82691         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
82692         __nss_lookup_function.
82693         (__nss_lookup_function): Call nss_load_library.
82694         (nss_load_all_libraries): New function.
82695         (__nss_disable_nscd): Take parameter with callback function for files
82696         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
82697         used for the cached services.
82698         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82699         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82700         options for features to all the files in nscd.
82702         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82704 2011-07-10  Roland McGrath  <roland@hack.frob.com>
82706         * csu/elf-init.c (__libc_csu_init): Comment typo.
82708 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
82710         * po/pl.po: Update from translation team.
82711         * po/ja.po: Likewise.
82712         * po/ru.po: Likewise.
82713         * po/ko.po: Likewise.
82714         * po/fr.po: Likewise.
82716 2011-07-09  Roland McGrath  <roland@hack.frob.com>
82718         * configure.in (.ctors/.dtors header and trailer check):
82719         Use an empirical test on a built program.
82720         * configure: Regenerated.
82722         * configure.in (-z relro check): Use an empirical test on a built DSO.
82723         Detect, but do not require, on ia64.
82724         * configure: Regenerated.
82726         * configure.in (READELF): Find it with AC_CHECK_TOOL.
82727         Update tests that use readelf to use $READELF instead.
82728         * configure: Regenerated.
82730 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
82732         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82733         if the result is not used.
82735 2011-07-05  Andreas Jaeger  <aj@suse.de>
82737         [BZ#9696]
82738         * stdlib/tst-strtod.c: Add testcase.
82740 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
82742         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82743         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82744         The latter has a higher limit.  Take additional parameter to pass to
82745         the new function.
82746         (__pathconf): Pass file to __statfs_link_max.
82747         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82748         __statfs_link_max.
82749         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82750         __statfs_link_max.
82752         [BZ #12868]
82753         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82754         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82755         Handle Lustre.
82756         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82757         (__statfs_filesize_max): Likewise.
82758         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82760 2011-07-05  Andreas Jaeger  <aj@suse.de>
82762         * resolv/res_comp.c (dn_skipname): Remove unused variable.
82764 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
82766         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82767         `status' variable.
82768         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
82769         Likewise.
82771 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
82773         * Makefile (strop-tests): Add strncat.
82774         * string/test-strncat.c: New file.
82776 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
82778         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
82780 2011-06-21  Andreas Jaeger  <aj@suse.de>
82782         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
82783         Copy rule from iconvdata/Makefile.
82785 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82787         [BZ #12922]
82788         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
82789         but no long options are defined, just return 'W'.
82791 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
82793         [BZ #9696]
82794         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
82796 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
82798         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
82799         netgroups to read.
82800         (innetgr): Likewise.
82802 2011-07-05  Roland McGrath  <roland@hack.frob.com>
82804         * config.make.in (install_root): Default to $(DESTDIR).
82806 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
82808         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
82810 2011-07-02  Roland McGrath  <roland@hack.frob.com>
82812         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
82814         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
82815         containing directory rather than embedding absolute directory names.
82817         * scripts/check-local-headers.sh: Rewritten using awk.
82818         Match by word, not by line.  Print error messages for matches.
82819         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
82821         * Makerules [shlib-lds-flags empty]:
82822         ($(common-objpfx)libc_pic.opts): New target.
82823         ($(common-objpfx)libc_pic.os.clean): New target.
82824         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
82826         * config.make.in (OBJCOPY): New variable.
82827         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
82828         * configure: Regenerated.
82830         * config.make.in (use-default-link): New variable.
82831         * configure.in (use_default_link): Grok --with-default-link to set it.
82832         * configure: Regenerated.
82833         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
82834         (shlib-lds, shlib-lds-flags): Define to empty.
82836         * Makerules (shlib-lds): New variable.
82837         (shlib-lds-flags): New variable.
82838         (build-shlib, build-moduile, build-module-asneeded): Use it.
82839         ($(common-objpfx)libc.so): Use $(shlib-lds).
82840         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
82841         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
82843         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
82844         DT_FLAGS/DT_FLAGS_1 with zero flags.
82846         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
82847         linker script munging.
82849 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
82851         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
82852         as 128-bit value.
82853         * crypt/sha512.c (sha512_process_block): Perform total addition using
82854         128-bit if possible.
82855         (__sha512_finish_ctx): Likewise.
82856         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
82857         as 64-bit value.
82858         * crypt/sha256.c (SWAP64): Define.
82859         (sha256_process_block): Perform total addition using 64-bit if
82860         possible.
82861         (__sha256_finish_ctx): Likewise.
82863 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
82865         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
82866         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82867         * nscd/hstcache.c (cache_addhst): Likewise.
82868         * nscd/grpcache.c (cache_addgr): Likewise.
82869         * nscd/aicache.c (addhstaiX): Likewise.
82870         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
82872 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
82874         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
82875         * nscd/initgrcache.c (addinitgroupsX): Likewise.
82876         * nscd/hstcache.c (cache_addhst): Likewise.
82877         * nscd/grpcache.c (cache_addgr): Likewise.
82878         * nscd/aicache.c (addhstaiX): Likewise.
82880 2011-07-01  Andreas Schwab  <schwab@redhat.com>
82882         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
82883         domain only when needed.
82885 2011-06-30  Andreas Schwab  <schwab@redhat.com>
82887         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
82888         is always restored.
82890 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
82892         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
82893         are re-adding the entry.
82894         * nscd/servicescache.c (cache_addserv): Likewise.
82896 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
82898         * sysdeps/generic/dl-irel.h: fix protection against multiple
82899         inclusions.
82900         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
82902 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
82904         [BZ #12935]
82905         * malloc/memusage.sh: Fix quoting in message.
82906         * debug/xtrace.sh: Likewise.
82908         * configure.in: Remove support for --experimental-malloc option, make
82909         it the default.
82910         * config.make.in: Likewise.
82911         * malloc/Makefile: Likewise.
82913 2011-06-27  Andreas Schwab  <schwab@redhat.com>
82915         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
82916         two-byte characters.
82918 2011-06-27  Roland McGrath  <roland@hack.frob.com>
82920         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
82921         AC_CACHE_CHECK invocation.
82922         * configure: Regenerated.
82924         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
82926 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
82928         [BZ #12350]
82929         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
82930         bit from old_res_options.
82932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
82934         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
82935         value type for setfct.
82937 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
82939         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
82940         __gettimeofday instead of gettimeofday.
82942 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
82944         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
82946 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
82948         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
82950         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
82951         info.
82953 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82955         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82956         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82957         strcpy-sse2-unaligned strncpy-sse2-unaligned
82958         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
82959         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
82960         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
82961         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
82962         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
82963         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
82964         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
82965         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
82966         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
82967         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
82968         (STRCPY): Support SSE2 and SSSE3 versions.
82970 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
82972         [BZ #12874]
82973         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
82974         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
82975         kernels which artificially limit size of requests.
82977 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
82979         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82980         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
82981         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
82982         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
82983         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
82984         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
82985         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
82986         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
82987         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
82988         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
82989         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
82990         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
82991         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
82992         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
82993         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
82994         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82995         Enable unaligned load optimization for Intel Core i3, i5 and i7
82996         processors.
82997         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
82998         Define.
82999         (index_Fast_Unaligned_Load): Define.
83000         (HAS_FAST_UNALIGNED_LOAD): Define.
83002 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
83004         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83006 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83008         [BZ #12907]
83009         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83010         until it is clear that the information is realy needed.
83011         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83013 2011-06-22  Andreas Schwab  <schwab@redhat.com>
83015         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83017 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83019         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83020         /sys/devices/system/cpu/online if it is usable.
83022         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83023         reading the information from the /proc filesystem to once a second.
83025 2011-06-21  Andreas Jaeger  <aj@suse.de>
83027         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83028         NULL after inclusion of kernel headers.
83030 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
83032         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83033         calls to internal_setent.
83035         [BZ #12885]
83036         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83037         addresses using gethostbyname4_r ignore IPv4 addresses.
83039         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83040         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
83042         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83044 2011-06-20  David S. Miller  <davem@davemloft.net>
83046         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83047         inclusions.
83048         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83050         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83051         (elf_irel): Use it.
83052         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83053         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83054         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83055         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83056         * sysdeps/x86_64/dl-irel.h: Likewise.
83058         * elf/dl-runtime.c: Use elf_ifunc_invoke.
83059         * elf/dl-sym.c: Likewise.
83061 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83063         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
83064         need to dereference resplen2.
83066 2011-06-14  Andreas Schwab  <schwab@redhat.com>
83068         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83070 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83072         * Makeconfig: Define vardbdir and inst_vardbdir.
83073         * nss/Makefile: Add rules to install db-Makefile.
83075         * nss/nss_db/db-XXX.c: Cleanup.
83077         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83078         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83079         GLIBC_PRIVATE.
83080         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83081         * nss/makedb.c: Implement -g option to specify that value strings
83082         are generated and should not be added to table iterated over for
83083         get*ent calls.
83084         * nss/nss_db/db-initgroups.c: New file.
83086         * nss/getent.c: Add support for initgroups lookups through getgrouplist
83087         interface.
83089         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83090         (internal_getgrouplist): Adjust to name change.
83091         Update use_initgroups_entry if this is not the first call.
83092         * nss/databases.def: Add initgroups entry.
83094         * nss/makedb.c (compute_tables): Check result of multiple hash table
83095         sizes to minimize maximum chain length.
83097 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
83099         * Versions.def: Add entry for libnss_db.
83100         * shlib-versions: Likewise.
83101         * nss/Makefile: Add rules to build libnss_db.
83102         * nss/Versions: Add libnss_db information.  Organize libnss_files
83103         entries better.
83104         * nss/db-Makefile: Add gshadow support.  Change rules for the new
83105         makedb progra.  Some minor improvements to generate smaller files.
83106         * nss/nss_db/nss_db.h: Move NSS database header data structures to
83107         here from...
83108         * nss/makedb.c: ...here.
83109         Improve database format to be smaller and require less memory at
83110         runtime.
83111         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
83112         db anymore.
83113         * nss/nss_db/db-netgrp.c: Likewise.
83114         * nss/nss_db/db-open.c: Likewise.
83115         * nss/nss_files/flies-XXX.x: Adjust comments.
83116         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83117         * nss/nss_files/files-grp.c: Likewise.
83118         * nss/nss_files/files-hosts.c: Likewise.
83119         * nss/nss_files/files-network.c: Likewise.
83120         * nss/nss_files/files-proto.c: Likewise.
83121         * nss/nss_files/files-pwd.c: Likewise.
83122         * nss/nss_files/files-rpc.c: Likewise.
83123         * nss/nss_files/files-service.c: Likewise.
83124         * nss/nss_files/files-sgrp.c: Likewise.
83125         * nss/nss_files/files-spwd.c: Likewise.
83126         * nss/nss_db/db-alias.c: Removed.
83127         * nss/nss_db/dummy-db.h: Removed.
83129 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
83131         * nss/makedb.c: Rewritten to not use database library.
83132         * nss/Makefile: Update to build new makedb program.
83134 2011-06-14  Andreas Jaeger  <aj@suse.de>
83136         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83137         memset declaration.
83139 2011-06-10  Andreas Schwab  <schwab@redhat.com>
83141         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83142         tmpbuf.
83144 2011-06-10  Roland McGrath  <roland@hack.frob.com>
83146         * Makerules (shlib.lds): Fail if the linker script comes out empty.
83147         * elf/Makefile ($(objpfx)ld.so): Likewise.
83149         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83150         Don't list ld.so twice in dependencies.
83152         * posix/bug-regex31.c: Include <stdlib.h>.
83154         * nscd/hstcache.c (cache_addhst): Remove unused variable.
83156         * nis/nss_compat/compat-spwd.c
83157         (getspent_next_nss_netgr): Remove unused variable.
83158         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83160         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83161         nonmembers" output to use the right array.
83163         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83165         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83167         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83168         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83169         * catgets/gencat.c (read_input_file): Likewise.
83170         * locale/programs/locarchive.c (enlarge_archive): Likewise.
83172         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83173         variable definition inside #if's controlling its use.
83175         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83177         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83179         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83181         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83182         unreachable code.
83184         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83186         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83187         * configure: Regenerated.
83189         * Makerules: Revert last change.
83190         * elf/Makefile: Likewise.
83192 2011-06-09  Roland McGrath  <roland@hack.frob.com>
83194         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83195         * elf/Makefile ($(objpfx)librtld.os): Likewise.
83196         (reloc-link): Likewise.
83198 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
83200         * elf/Makefile: Add rules to build pldd.
83201         * elf/pldd.c: New file.
83202         * elf/pldd-xx.c: New file.
83204 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
83206         * version.h: Update for 2.15 development version.
83208 2011-06-07  David S. Miller  <davem@davemloft.net>
83210         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83211         ifuncs.
83212         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83213         elf_machine_lazy_rel): Likewise.
83214         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83215         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83216         elf_machine_lazy_rel): Likewise.
83217         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83218         dl_hwcap via passed in argument.
83219         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83220         Likewise.
83222 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83224         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
83226 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83228         [BZ #12849]
83229         * manual/fdl-1.1.texi: New file, verbatim from:
83230         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83231         * manual/lgpl-2.1.texi: New file, verbatim from:
83232         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83233         * manual/Makefile (licenses): New variable, list those new file names.
83234         (texis): Use it.
83235         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83237         * manual/fdl.texi: File removed.
83238         * manual/lesser.texi: File removed.
83239         * manual/libc.texinfo (Copying, Documentation License):
83240         Use new @include file names, put @appendix directive before @include.
83242 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83244         [BZ #12841]
83245         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83246         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83247         (mq_open): Add __NTH.
83249 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83251         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83252         Assume Intel Core i3/i5/i7 processor if AVX is available.
83254 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83256         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83257         typo.
83259 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83261         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83262         memory.  Use alloca_account.  Fix memory leak when retrying.
83264 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83266         * version.h (RELEASE): Bump for 2.14 release.
83267         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83269         * config.make.in (RANLIB): Remove entry.
83271 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83273         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83274         (libc.pot): Work around missing support for .ksh extension in xgettext.
83276         [BZ #12684]
83277         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83278         if both request failed.
83279         (send_dg): In case of server errors clear resplen or *resplen2.
83281         [BZ #12454]
83282         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83283         when there are multiple maps.
83284         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83285         (_dl_fini): Remove test here.
83287         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83289 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83291         [BZ #12350]
83292         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83293         bit from old_res_options.
83294         (gaih_inet): Likewise.
83296         [BZ #11099]
83297         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83298         as signed.
83300         * resolv/res_init.c (res_setoptions): Make the code more compact.
83302         [BZ #11558]
83303         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83304         set RES_USEVC.
83306         [BZ #11634]
83307         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83309         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83311         [BZ #11781]
83312         * malloc/malloc.h: Declare malloc hook variables as volatile.
83314         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83315         in last patch.
83317         [BZ #11799]
83318         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83319         raise in the comment.
83320         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83321         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83322         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83324 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83326         [BZ #12811]
83327         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83328         grow the buffers more if it already has to be sufficient.
83329         (build_wcs_upper_buffer): Likewise.
83330         * posix/regexec.c (check_matching): Likewise.
83331         (clean_state_log_if_needed): Likewise.
83332         (extend_buffers): Don't enlarge buffers beyond size of the input
83333         buffer.
83334         Patches mostly by Emil Wojak <emil@wojak.eu>.
83335         * posix/bug-regex32.c: New file.
83336         * posix/Makefile (tests): Add bug-regex32.
83338         * locale/findlocale.c (_nl_find_locale): Return right away if
83339         _nl_explode_name failed.
83340         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83342         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83344         * debug/xtrace.sh: Unify messages.
83345         * malloc/memusage.sh: Likewise.
83347         [BZ #12813]
83348         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83349         time symbol from vDSO.  Substitute with vsyscall if not available.
83350         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83351         __vdso_time.
83353         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83354         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83355         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83356         Add sendmmsg and internal_sendmmsg.
83357         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83358         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83359         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83361         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83362         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83363         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83365 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83367         [BZ #12813]
83368         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83369         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83370         available.
83371         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83372         __vdso_getcpu.
83374         [BZ #12814]
83375         * iconvdata/Makefile (tests): Add bug-iconv9.
83376         * iconvdata/bug-iconv9.c: New file.
83378 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83380         [BZ #12814]
83381         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83383 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83385         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83386         (struct user_regs_struct): Change intcs field back to cs.
83388 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83390         * po/ja.po: Update from translation team.
83392 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83394         [BZ #12795]
83395         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83396         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83398 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83400         * stdlib/longlong.h: Update from GCC.
83402 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83404         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83405         parameter name.
83406         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83407         Add parameter name.
83408         (__sysconf): Pass it down.
83410 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83412         [BZ #12671]
83413         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83414         some situations.
83415         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83416         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83417         add in in __libc_use_alloca calls.  Adjust callers.
83418         (glob): Use malloc in some situations.
83420         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83421         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83422         pltexit.
83424 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83426         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83427         and CLOCK_BOOTTIME_ALARM.
83429         [BZ #12782]
83430         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83431         is returned.
83433         * string/_strerror.c (__strerror_r): Print negative errors as signed
83434         numbers.
83436         [BZ #12777]
83437         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83438         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83439         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83441         * configure.in: Fix typo in redirection and correct removal of test
83442         files in two cases.
83444         [BZ #12788]
83445         * locale/setlocale.c (new_composite_name): Fix test to check for
83446         identical name of all categories.
83448         [BZ #12792]
83449         * libio/filedoalloc.c (local_isatty): New function.
83450         (_IO_file_doallocate): Use local_isatty.
83451         * stdio-common/perror.c (perror): In case a new stream is used
83452         forward the stream error.
83453         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83454         error flag.
83456 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83458         [BZ #11884]
83459         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83460         alloca.
83461         * include/alloca.h (extend_alloca_account): Define.
83463         [BZ #11857]
83464         * posix/regex.h: Fix comments with documentation of user-accessible
83465         fields after compilation and describe correct free'ing of pattern
83466         after re_compile_pattern.
83467         Patch by Reuben Thomas <rrt@sc3d.org>.
83469 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83471         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83472         and -mno-altivec to prevent the compiler from using Altivec and/or
83473         VSX instructions when the corresponding registers are not available.
83475 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83477         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83479 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83481         * libio/freopen.c (freopen): Use __dup2, not dup2.
83482         * libio/freopen64.c (freopen64): Likewise.
83484 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83486         [BZ #12775]
83487         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83488         * math/Makefile (tests): Add test-powl.
83489         (CFLAGS-test-powl.c): Define.
83490         * math/test-powl.c: New file.
83492 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83494         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83496 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83498         [BZ #11837]
83499         * iconvdata/gb18030.c: Update to GB18020-2005.
83501 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83503         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83504         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83505         Patch by Aharon Robbins <arnold@skeeve.com>.
83507         [BZ #11892]
83508         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83509         on the stack.
83511         [BZ #11895]
83512         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83513         through underflows.
83515         [BZ #12766]
83516         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83517         point to strings before performing equality test for error_one_per_line
83518         mode.
83520         [BZ #11697]
83521         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83523         [BZ #11820]
83524         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83525         (struct user_fpregs_struct): Avoid __uint*_t types.
83527         [BZ #6420]
83528         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83529         symbol info.  Use it instead of calling _dl_addr locally.
83530         (lock_and_info): New function.
83531         (tr_freehook): Call lock_and_info and pass symbol info as additional
83532         parameter to tr_where.
83533         (tr_mallochook): Likewise.
83534         (tr_reallochook): Likewise.
83535         (tr_memalignhook): Likewise.
83537         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83538         used and couldn't be at all thread-safe.
83540 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83542         * libio/freopen.c (freopen): Don't close old file descriptor
83543         before the new one is opened.  Instead dup the new file descriptor
83544         to the old one after the new stream is created.
83545         * libio/freopen64.c (freopen64): Likewise.
83546         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83547         * libio/fileops.c (_IO_new_file_close_it): Handle new
83548         _IO_FLAGS2_NOCLOSE flag.
83549         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83550         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83551         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83552         _IO_FLAGS2_NOCLOSE flag.
83553         * include/unistd.h: Add hidden_proto for dup3.
83554         Define __have_dup3.
83555         * io/dup3.c: Define hidden symbol.
83556         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83558         [BZ #7101]
83559         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83560         when an incomplete long option is used.
83561         * posix/tst-getopt_long1.c: New file.
83562         * posix/Makefile (tests): Add tst-getopt_long1.
83564         [BZ #10138]
83565         * scripts/config.guess: Update from autoconf-2.68.
83566         * scripts/config.sub: Likewise.
83568         [BZ #10157]
83569         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83570         tests into ...
83571         (has_cpuclock): ...this.  New function.
83572         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83573         macro here based on has_cpuclock code.
83575         [BZ #10149]
83576         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83577         First byte (not low byte) is now always NUL.
83578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83581         Use non-cancelable interfaces.
83583         [BZ #9809]
83584         * locale/iso-639.def: Add entry for Sorani.
83586         [BZ #11901]
83587         * include/stdlib.h: Move include protection to the right place.
83588         Define abort_msg_s.  Declare __abort_msg with it.
83589         * stdlib/abort.c (__abort_msg): Adjust type.
83590         * assert/assert.c (__assert_fail_base): New function.  Majority
83591         of code from __assert_fail.  Allocate memory for __abort_msg with
83592         mmap.
83593         (__assert_fail): Now call __assert_fail_base.
83594         * assert/assert-perr.c: Remove bulk of implementation.  Use
83595         __assert_fail_base.
83596         * include/assert.hL Declare __assert_fail_base.
83597         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83598         mmap.
83599         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83601 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83603         [BZ #11952]
83604         [BZ #12453]
83605         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83606         until all modules are registered in the DTV.
83607         * elf/Makefile: Add rules to build and run tst-tls19.
83608         * elf/tst-tls19.c: New file.
83609         * elf/tst-tls19mod1.c: New file.
83610         * elf/tst-tls19mod2.c: New file.
83611         * elf/tst-tls19mod3.c: New file.
83612         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83614         [BZ #12083]
83615         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83616         correctly.
83618         [BZ #12601]
83619         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83620         two-byte sequence errors.
83621         * iconvdata/Makefile (tests): Add bug-iconv8.
83622         * iconvdata/bug-iconv8.c: New file.
83624         [BZ #12626]
83625         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83626         buf2 definition.
83628         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83630         [BZ #12432]
83631         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83632         (dummy_getcfa): New function.
83633         (init): Get _Unwind_GetCFA address, use dummy if not found.
83634         (backtrace_helper): In recursion check, also check whether CFA changes.
83635         (__backtrace): Completely initialize arg.
83637         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83638         storing incomplete byte sequence in state object.  Avoid testing for
83639         guaranteed too small input if we know there is enough data available.
83641 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83643         * Makeconfig (+link-pie): Indent.
83644         * Rules (binaries-pie): Define if $(have-fpie) and
83645         $(build-shared).
83646         (binaries-shared): Also filter out $(binaries-pie).
83647         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83648         * nscd/Makefile (others-pie): Add nscd.
83649         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83650         ($(objpfx)nscd): Remove command override.
83651         * login/Makefile (others-pie): Add pt_chown.
83652         ($(objpfx)pt_chown): Remove command override.
83653         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83654         remove command overrides.
83656 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83658         * libio/tst_putwc.c: Fix error messages.
83660         [BZ #12724]
83661         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83662         currently writing and seek to current position when not.
83663         * libio/Makefile (tests): Add bug-fclose1.
83664         * libio/bug-fclose1.c: New file.
83666 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83668         [BZ #12511]
83669         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83670         don't set DF_1_NODELETE here.
83671         (do_lookup_x): When entering new entry test for copy relocation
83672         and if necessary set DF_1_NODELETE flag.
83673         * elf/tst-unique4.cc: New file.
83674         * elf/tst-unique4.h: New file.
83675         * elf/tst-unique4lib.cc: New file.
83676         * elf/Makefile: Add rules to build and run tst-unique4.
83677         Patch by Piotr Bury <pbury@goahead.com>.
83679 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83681         [BZ #12052]
83682         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83684         [BZ #12625]
83685         * misc/mntent_r.c (addmntent): Flush the stream after the output
83687         [BZ #12393]
83688         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83689         (is_trusted_path_normalize): Skip initial colon.  Append slash
83690         to empty buffer.  Duplicate is_trusted_path code but allow
83691         constructed patch to be prefix.
83692         (is_dst): Allow $ORIGIN followed by /.
83693         (_dl_dst_substitute): Correct clearing of check_for_trusted.
83694         Correct testing of result of is_trusted_path_normalize
83695         (decompose_rpath): Fix warning.
83697 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
83699         [BZ #11257]
83700         * grp/initgroups.c (internal_getgrouplist): When we found the service
83701         list through the initgroups entry in nsswitch.conf do not always
83702         continue on a successful lookup.  Don't always use the
83703         __nss_group_database value if it is set.
83704         * nss/nsswitch.conf (initgroups): Change action for successful db
83705         lookup to continue for compatibility.
83707 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
83709         [BZ #11532]
83710         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83711         and CP774 modules.
83712         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83713         and CP774 modules.
83714         * iconvdata/tst-tables.sh: Likewise.
83715         * iconvdata/cp770.c: New file.
83716         * iconvdata/cp771.c: New file.
83717         * iconvdata/cp772.c: New file.
83718         * iconvdata/cp773.c: New file.
83719         * iconvdata/cp774.c: New file.
83720         * iconvdata/testdata/CP770: New file.
83721         * iconvdata/testdata/CP770..UTF8: New file.
83722         * iconvdata/testdata/CP771: New file.
83723         * iconvdata/testdata/CP771..UTF8: New file.
83724         * iconvdata/testdata/CP772: New file.
83725         * iconvdata/testdata/CP772..UTF8: New file.
83726         * iconvdata/testdata/CP773: New file.
83727         * iconvdata/testdata/CP773..UTF8: New file.
83728         * iconvdata/testdata/CP774: New file.
83729         * iconvdata/testdata/CP774..UTF8: New file.
83731         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83732         END CHARMAP line.
83733         * iconvdata/gen-8bit-gap.sh: Likewise.
83734         * iconvdata/gen-8bit.sh: Likewise.
83736         * locale/iso-639.def: Add ary entry.
83738         [BZ #11258]
83739         * locale/C-translit.h.in: Add U20A1 transliteration.
83741         [BZ #12178]
83742         * locale/iso-639.def: Add wae entry.
83743         Patch by Kevin Bortis <bortis@translate-wae.ch>.
83745         [BZ #12545]
83746         * locale/programs/localedef.c (construct_output_path): Use ssize_t
83747         for n.
83749         [BZ #12711]
83750         * locale/C-translit.h.in: Add entry for U20B9.
83751         Patch by pravin.d.s@gmail.com.
83753 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
83755         [BZ #12713]
83756         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83757         ENAMETOOLONG use generic getcwd.
83758         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
83759         in rtld.  Use *stat64.
83760         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83761         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83762         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83763         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83764         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83765         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83766         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83767         __fstatat64 macros.
83768         * include/dirent.h: Add libc_hidden_proto for rewinddir.
83769         * dirent/rewinddir.c: Add libc_hidden_def.
83770         * sysdeps/mach/hurd/rewinddir.c: Likewise.
83771         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
83773         * include/dirent.h (__alloc_dir): Add flags parameter.
83774         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
83775         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
83776         __alloc_dir.
83777         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
83778         from fdopendir if O_CLOEXEC is already set.
83780 2011-03-15  Alan Modra  <amodra@gmail.com>
83782         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
83783         l_tls_firstbyte_offset non-zero.  Save padding offset in
83784         l_tls_firstbyte_offset for later use.
83785         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
83786         freeing static tls block.
83788 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
83790         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
83791         where #ifdef was intended.  The intent is to prevent ARG_MAX from
83792         being defined by the kernel headers.
83794 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
83796         [BZ #12734]
83797         * resolv/resolv.h: Define RES_NOTLDQUERY.
83798         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
83799         no-tld-query and set RES_NOTLDQUERY.
83800         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
83801         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
83802         modern BIND to search name as TLD unless forbidden.
83804 2011-05-07  Petr Baudis  <pasky@suse.cz>
83805             Ulrich Drepper  <drepper@gmail.com>
83807         [BZ #12393]
83808         * elf/dl-load.c (fillin_rpath): Move trusted path check...
83809         (is_trusted_path): ...to here.
83810         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
83811         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
83812         using is_trusted_path_normalize() in setuid scripts.
83814 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
83816         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
83817         __BEGIN/__END_DECLS.
83819 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
83821         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
83822         NSS_STATUS_NOTFOUND if no record was found.
83824 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83826         * sunrpc/Makefile (headers): Add rpc/netdb.h.
83827         (headers-not-in-tirpc): Remove rpc/netdb.h
83828         * resolv/netdb.h: Revert last change.
83830 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
83832         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
83833         circular dependency between libgcc.a and libc.a.
83835 2011-05-05  Andreas Schwab  <schwab@redhat.com>
83837         * resolv/netdb.h: Don't include <rpc/netdb.h>.
83838         * nis/Makefile: Don't install rpcsvc/*.
83839         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
83840         instead of <rpc/types.h>.
83841         (MAXHOSTNAMELEN): Define.
83843 2011-05-03  Andreas Schwab  <schwab@redhat.com>
83845         * elf/ldconfig.c (add_dir): Don't crash on empty path.
83847 2011-04-28  Maciej Babinski  <mbabinski@google.com>
83849         [BZ #12714]
83850         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
83851         gethostbyname4_r when IPv6 results are possible.
83853 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
83855         [BZ #12723]
83856         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
83857         _PC_PIPE_BUF handling.
83859 2011-04-30  Bruno Haible  <bruno@clisp.org>
83861         [BZ #12717]
83862         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
83863         * resolv/netdb.h (getnameinfo): Change type of flags parameter
83864         to 'int'.
83865         * inet/getnameinfo.c (getnameinfo): Likewise.
83867 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
83869         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
83870         to groups setting in database lookup.
83871         * nss/nsswitch.conf: Add initgroups entry.
83873 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
83875         [BZ #12685]
83876         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
83877         mode string.
83878         Patch by Eric Blake <eblake@redhat.com>.
83880 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
83882         * sunrpc/Makefile (need-export-routines): Add svc_run.
83883         (routines): Remove svc_run.
83884         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
83885         * sunrpc/clnt_perr.c (clnt_perrno): Export.
83886         * sunrpc/svc_run.c (svc_run): Likewise.
83887         * sunrpc/svc_udp.c (svcudp_create): Likewise.
83889 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
83891         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
83892         problem in reallocation in last patch.
83894 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
83896         * sunrpc/Makefile: Move inclusion of Rules.
83898 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83900         * nss/nss_files/files-initgroups.c: New file.
83901         * nss/Makefile (libnss_files-routines): Add files-initgroups.
83902         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
83903         _nss_files_initgroups_dyn.
83905 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
83907         * elf/elf.h (R_ARM_IRELATIVE): Define.
83909 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
83911         * po/ru.po: Update from translation team.
83913 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83915         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
83916         dependencies.
83918 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
83920         [BZ #12653]
83921         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
83922         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
83923         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
83924         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
83925         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
83927 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
83929         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
83930         differing bytes.
83931         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
83932         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
83933         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
83935 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
83937         [BZ #12420]
83938         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
83939         storing it.
83940         * stdlib/bug-getcontext.c: New file.
83941         * stdlib/Makefile: Add rules to build and run bug-getcontext.
83943 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83945         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
83946         instructions into .machine "z9-109".
83947         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
83948         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
83950 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83952         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
83953         between environment variables and auxiliary vector.
83955 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
83957         * Makefile: Add rules to build linkobj/libc.so.
83958         * include/libc-symbols.h: Define libc_hidden_nolink.
83959         * include/rpc/auth.h: Mark functions which are to be hidden.
83960         * include/rpc/auth_des.h: Likewise.
83961         * include/rpc/auth_unix.h: Likewise.
83962         * include/rpc/clnt.h: Likewise.
83963         * include/rpc/des_crypt.h: Likewise.
83964         * include/rpc/key_prot.h: Likewise.
83965         * include/rpc/pmap_clnt.h: Likewise.
83966         * include/rpc/pmap_prot.h: Likewise.
83967         * include/rpc/pmap_rmt.h: Likewise.
83968         * include/rpc/rpc_msg.h: Likewise.
83969         * include/rpc/svc.h: Likewise.
83970         * include/rpc/svc_auth.h: Likewise.
83971         * include/rpc/xdr.h: Likewise.
83972         * nis/Makefile: Link all DSOs against linkobj/libc.so.
83973         * nss/Makefile: Likewise.
83974         * sunrpc/Makefile: Don't install headers.  Build library with normal
83975         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
83976         * sunrpc/auth_des.c: Hide exported symbols by default, export some
83977         for the compat linking library.  Remove use of INTDEF/INTUSE.
83978         * sunrpc/auth_none.c: Likewise.
83979         * sunrpc/auth_unix.c: Likewise.
83980         * sunrpc/authdes_prot.c: Likewise.
83981         * sunrpc/authuxprot.c: Likewise.
83982         * sunrpc/clnt_gen.c: Likewise.
83983         * sunrpc/clnt_perr.c: Likewise.
83984         * sunrpc/clnt_raw.c: Likewise.
83985         * sunrpc/clnt_simp.c: Likewise.
83986         * sunrpc/clnt_tcp.c: Likewise.
83987         * sunrpc/clnt_udp.c: Likewise.
83988         * sunrpc/clnt_unix.c: Likewise.
83989         * sunrpc/des_crypt.c: Likewise.
83990         * sunrpc/des_soft.c: Likewise.
83991         * sunrpc/get_myaddr.c: Likewise.
83992         * sunrpc/key_call.c: Likewise.
83993         * sunrpc/key_prot.c: Likewise.
83994         * sunrpc/netname.c: Likewise.
83995         * sunrpc/pm_getmaps.c: Likewise.
83996         * sunrpc/pm_getport.c: Likewise.
83997         * sunrpc/pmap_clnt.c: Likewise.
83998         * sunrpc/pmap_prot.c: Likewise.
83999         * sunrpc/pmap_prot2.c: Likewise.
84000         * sunrpc/pmap_rmt.c: Likewise.
84001         * sunrpc/publickey.c: Likewise.
84002         * sunrpc/rpc_cmsg.c: Likewise.
84003         * sunrpc/rpc_common.c: Likewise.
84004         * sunrpc/rpc_dtable.c: Likewise.
84005         * sunrpc/rpc_prot.c: Likewise.
84006         * sunrpc/rpc_thread.c: Likewise.
84007         * sunrpc/rtime.c: Likewise.
84008         * sunrpc/svc.c: Likewise.
84009         * sunrpc/svc_auth.c: Likewise.
84010         * sunrpc/svc_authux.c: Likewise.
84011         * sunrpc/svc_raw.c: Likewise.
84012         * sunrpc/svc_run.c: Likewise.
84013         * sunrpc/svc_simple.c: Likewise.
84014         * sunrpc/svc_tcp.c: Likewise.
84015         * sunrpc/svc_udp.c: Likewise.
84016         * sunrpc/svc_unix.c: Likewise.
84017         * sunrpc/svcauth_des.c: Likewise.
84018         * sunrpc/xcrypt.c: Likewise.
84019         * sunrpc/xdr.c: Likewise.
84020         * sunrpc/xdr_array.c: Likewise.
84021         * sunrpc/xdr_float.c: Likewise.
84022         * sunrpc/xdr_intXX_t.c: Likewise.
84023         * sunrpc/xdr_mem.c: Likewise.
84024         * sunrpc/xdr_rec.c: Likewise.
84025         * sunrpc/xdr_ref.c: Likewise.
84026         * sunrpc/xdr_sizeof.c: Likewise.
84027         * sunrpc/xdr_stdio.c: Likewise.
84029 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
84031         [BZ #12650]
84032         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84033         * sysdeps/ia64/dl-tls.h: Likewise.
84034         * sysdeps/powerpc/dl-tls.h: Likewise.
84035         * sysdeps/s390/dl-tls.h: Likewise.
84036         * sysdeps/sh/dl-tls.h: Likewise.
84037         * sysdeps/sparc/dl-tls.h: Likewise.
84038         * sysdeps/x86_64/dl-tls.h: Likewise.
84039         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84041 2011-03-14  Andreas Schwab  <schwab@redhat.com>
84043         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84044         rpath element also skip the following colon.
84045         (expand_dynamic_string_token): Add is_path parameter and pass
84046         down to DL_DST_REQUIRED and _dl_dst_substitute.
84047         (decompose_rpath): Call expand_dynamic_string_token with
84048         non-zero is_path.  Ignore empty rpaths.
84049         (_dl_map_object_from_fd): Call expand_dynamic_string_token
84050         with zero is_path.
84052 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
84054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84055         Make cancelable.
84057 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
84059         [BZ #12655]
84060         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84061         Patch by Filipe David Manana <fdmanana@apache.org>.
84063 2011-04-07  Andreas Schwab  <schwab@redhat.com>
84065         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84066         Maintain aligned stack.
84067         (CHECK_RSP): Remove unused macro.
84069 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
84071         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84072         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84074 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
84076         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84078         * include/features.h: Mention __USE_XOPEN2K8 in comment.
84080 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
84082         [BZ #12518]
84083         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84084         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84085         * sysdeps/x86_64/memmove.c: New file.
84086         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84087         (memcpy): Renamed to ...
84088         (__new_memcpy): This.
84089         (memcpy): Provide GLIBC_2_14 memcpy.
84090         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84091         (memcpy): Provide GLIBC_2_2_5 memcpy.
84093 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84095         [BZ #12631]
84096         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84098 2011-03-30  Andreas Schwab  <schwab@redhat.com>
84100         * misc/syncfs.c: New file.
84101         * misc/Makefile (routines): Add syncfs.
84102         * posix/unistd.h: Declare syncfs.
84103         * sysdeps/unix/syscalls.list: Add syncfs.
84105 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84107         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84108         open_by_handle_at.
84109         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84110         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84111         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84112         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84113         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84114         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84115         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84117 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84119         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84120         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84121         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84122         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84123         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84124         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84125         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84127         * io/Makefile: Compile fallocate.c, fallocate64.c, and
84128         sync_file_range.c with -fexceptions.
84129         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84130         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84131         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84132         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84133         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84134         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84135         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84136         sync_file_range as cancellation point
84137         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
84138         now a wrapper around __call_sync_file_range with cancellation handling.
84139         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84140         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
84141         function name to __call_sync_file_range.
84142         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84143         Add call_sync_file_range.
84145 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84147         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84148         bits/timex.h.
84150 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84152         * iconv/iconv.h: Fix typo in comment.
84153         * io/fcntl.h: Likewise.
84154         * libio/stdio.h: Likewise.
84155         * posix/spawn.h: Likewise.
84156         * posix/unistd.h: Likewise.
84157         * stdlib/stdlib.h: Likewise.
84158         * time/time.h: Likewise.
84159         * wcsmbs/wchar.h: Likewise.
84161         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84162         open_by_handle): Add.
84163         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84164         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
84165         Augment a few comments.
84166         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84167         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84168         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84169         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84170         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84171         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84172         open_by_handle.
84174         * io/fcntl.h (AT_EMPTY_PATH): Define.
84176 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
84178         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84179         * sysdeps/unix/sysv/linux/bits/time.h: New file.
84180         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84181         to...
84182         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
84183         * Versions.def: Add GLIBC_2.14.
84184         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84185         Export.
84187 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
84189         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84190         round counter.
84191         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84193 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84195         [BZ #12597]
84196         * string/test-strncmp.c (do_page_test): New function.
84197         (check2): Likewise.
84198         (test_main): Call check2.
84199         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84201 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
84203         [BZ #12587]
84204         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84205         Handle cache information in CPU leaf 4.
84206         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84208 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
84210         [BZ #12583]
84211         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84212         character representation.
84213         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84215 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
84217         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84218         END(__isnan) to END(__isnanf) to match function entry point/label
84219         EALIGN(__isnanf,...).
84221 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
84223         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84225 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
84227         [BZ #12510]
84228         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84229         copy from the symbol referenced in the relocation to initialize the
84230         used variable.
84231         Patch by Piotr Bury <pbury@goahead.com>.
84232         * elf/Makefile: Add rules to build and tst-unique3.
84233         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84234         * elf/tst-unique3.cc: New file.
84235         * elf/tst-unique3.h: New file.
84236         * elf/tst-unique3lib.cc: New file.
84237         * elf/tst-unique3lib2.cc: New file.
84239         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84241 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84243         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84244         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84245         to _start.
84247 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84249         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84250         to-be-loaded object along a path to loader is ld.so.
84252 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84253             Ulrich Drepper  <drepper@gmail.com>
84255         * sysdeps/x86_64/memset.S: After aligning destination, code
84256         branches to different locations depending on the value of
84257         misalignment, when multiarch is enabled. Fix this.
84259 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84261         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84262         Set _x86_64_preferred_memory_instruction for AMD processsors.
84263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84264         Set bit_Prefer_SSE_for_memop for AMD processors.
84266 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84268         * libio/fmemopen.c (fmemopen): Optimize a bit.
84270 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84272         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84274 2011-03-03  Roland McGrath  <roland@redhat.com>
84276         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84278 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84280         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84281         __bzero_ultra1 instead of __memset_ultra1.
84283 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84284             Ulrich Drepper  <drepper@gmail.com>
84286         [BZ #12509]
84287         * include/link.h (struct link_map): Add l_orig_initfini.
84288         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84289         returning unsuccessfully.
84290         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84291         close of a file loaded at startup, restore the original l_initfini
84292         list.
84293         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84294         list, store the pointer.
84295         * elf/Makefile ($(objpfx)noload-mem): New rule.
84296         (noload-ENV): Define.
84297         (tests): Add $(objpfx)noload-mem.
84298         * elf/noload.c: Include <memcheck.h>.
84299         (main): Call mtrace.  Close all opened handles.
84301 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84303         [BZ #12454]
84304         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84305         dependencies are missing.
84307 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84309         Fix __if_freereq crash: Unlike the generic version which uses free,
84310         Hurd needs munmap.
84311         * sysdeps/mach/hurd/ifreq.h: New file.
84313 2011-01-27  Petr Baudis  <pasky@suse.cz>
84314             Ulrich Drepper  <drepper@gmail.com>
84316         [BZ 12445]#
84317         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84318         to extend_alloca().
84319         * stdio-common/bug23.c: New file.
84320         * stdio-common/Makefile (tests): Add bug23.
84322 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84323             Ulrich Drepper  <drepper@gmail.com>
84325         [BZ #12489]
84326         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84327         before performing relro protection.  At old place add assertion
84328         to make sure nothing changed.
84330 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84331             Glauber de Oliveira Costa  <glommer@gmail.com>
84333         * elf/elf.h: Add new ARM TLS relocs.
84335 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84338         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84339         cast from r3.
84340         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84341         'tests' variable.
84342         * sysdeps/wordsize-64/tst-writev.c: New file.
84344 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84346         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84347         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84348         insns in _dl_start to prevent a TOC reference before relocs are
84349         resolved.
84351 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84353         [BZ #12469]
84354         * Makeconfig: Remove RANLIB definition.
84355         * Makerules: Don't use RANLIB.
84356         * aclocal.m4: Remove ranlib test.
84357         * configure.in: No need to check for ranlib.
84358         * elf/rtld-Rules: Don't use RANLIB.
84360 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84362         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84363         protection macro.
84364         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84365         inclusion protection macro.
84367         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84368         SIGRTMIN and SIGRTMAX and print information in that case only when
84369         SIGRTMIN is defined.
84371 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84373         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84374         arginfo fn returning -1.
84376         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84377         and thousands string is zero terminated.
84379 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84381         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84382         sysdeps/unix/sysv/linux/bits/socket.h.
84384 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84386         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84387         (__CPU_COUNT): Remove old macros.
84388         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84389         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84390         (__CPU_ALLOC, __CPU_FREE): Add macros.
84391         (__sched_cpualloc, __sched_cpufree): Add declarations.
84393 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84395         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84396         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84397         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84398         (readdhstai): Return value of addhstaiX call.
84399         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84400         (addgrbyX): Return value returned by cache_addgr.
84401         (readdgrbyname): Return value returned by addgrbyX.
84402         (readdgrbygid): Likewise.
84403         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84404         (addpwbyX): Return value returned by cache_addpw.
84405         (readdpwbyname): Return value returned by addhstbyX.
84406         (readdpwbyuid): Likewise.
84407         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84408         (addservbyX): Return value returned by cache_addserv.
84409         (readdservbyname): Return value returned by addservbyX:
84410         (readdservbyport): Likewise.
84411         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84412         (addhstbyX): Return value returned by cache_addhst.
84413         (readdhstbyname): Return value returned by addhstbyX.
84414         (readdhstbyaddr): Likewise.
84415         (readdhstbynamev6): Likewise.
84416         (readdhstbyaddrv6): Likewise.
84417         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84418         (readdinitgroups): Return value returned by addinitgroupsX.
84419         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84420         (prune_cache): Keep track of timeout value of re-added entries.
84421         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84422         * nscd/nscd.h: Adjust prototypes of readd* functions.
84424 2011-02-04  Roland McGrath  <roland@redhat.com>
84426         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84427         (nis_stats): Likewise.
84428         * nis/nis_modify.c (nis_modify): Likewise.
84429         * nis/nis_remove.c (nis_remove): Likewise.
84430         * nis/nis_add.c (nis_add): Likewise.
84432         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84434         * posix/fnmatch_loop.c: Add some consts.
84436         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84438 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84440         [BZ #12460]
84441         * config.make.in (config-cflags-novzeroupper): Define.
84442         * configure.in: Substitute libc_cv_cc_novzeroupper.
84443         * elf/Makefile (AVX-CFLAGS): Define.
84444         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84445         (CFLAGS-tst-auditmod4a.c): Likewise.
84446         (CFLAGS-tst-auditmod4b.c): Likewise.
84447         (CFLAGS-tst-auditmod6b.c): Likewise.
84448         (CFLAGS-tst-auditmod6c.c): Likewise.
84449         (CFLAGS-tst-auditmod7b.c): Likewise.
84450         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84452 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84454         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84455         function to the callback.
84456         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84458 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84460         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84461         of errno.
84463 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84465         [BZ #11724]
84466         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84467         of constructors.
84468         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84469         of destructors.
84470         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84472         [BZ #11724]
84473         * elf/Makefile: Add rules to build and run new test.
84474         * elf/tst-initorder.c: New file.
84475         * elf/tst-initorder.exp: New file.
84476         * elf/tst-initordera1.c: New file.
84477         * elf/tst-initordera2.c: New file.
84478         * elf/tst-initordera3.c: New file.
84479         * elf/tst-initordera4.c: New file.
84480         * elf/tst-initorderb1.c: New file.
84481         * elf/tst-initorderb2.c: New file.
84482         * elf/tst-order-a1.c: New file.
84483         * elf/tst-order-a2.c: New file.
84484         * elf/tst-order-a3.c: New file.
84485         * elf/tst-order-a4.c: New file.
84486         * elf/tst-order-b1.c: New file.
84487         * elf/tst-order-b2.c: New file.
84488         * elf/tst-order-main.c: New file.
84489         New test case by George Gensure <werkt0@gmail.com>.
84491 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84494         decoding ACE if AI_CANONIDN.
84496 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84498         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84500 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84502         * version.h (RELEASE): Bump for 2.13 release.
84503         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84505         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84507         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84508         MADV_NOHUGEPAGE.
84509         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84510         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84511         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84512         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84513         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84514         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84516         * posix/getconf.c: Update copyright year.
84517         * catgets/gencat.c: Likewise.
84518         * csu/version.c: Likewise.
84519         * debug/catchsegv.sh: Likewise.
84520         * debug/xtrace.sh: Likewise.
84521         * elf/ldconfig.c: Likewise.
84522         * elf/ldd.bash.in: Likewise.
84523         * elf/sprof.c (print_version): Likewise.
84524         * iconv/iconv_prog.c: Likewise.
84525         * iconv/iconvconfig.c: Likewise.
84526         * locale/programs/locale.c: Likewise.
84527         * locale/programs/localedef.c: Likewise.
84528         * malloc/memusage.sh: Likewise.
84529         * malloc/mtrace.pl: Likewise.
84530         * nscd/nscd.c (print_version): Likewise.
84531         * nss/getent.c: Likewise.
84533         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84534         PF_CAIF, and PF_ALG.
84535         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84537 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84539         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84540         (modules-names): Use them.
84541         (ifunc-test-modules, ifunc-pie-tests): Define.
84542         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84543         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84544         (test-extras): Likewise.
84545         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84546         $(compile-command.c).
84547         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84548         (all-built-dso): Define.
84549         (check-textrel.out, check-execstack.out): Depend on it.
84551         * configure.in: Don't override --enable-multi-arch.
84553 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84555         [BZ #6812]
84556         * nscd/hstcache.c (tryagain): Define.
84557         (cache_addhst): Return tryagain not notfound for temporary errors.
84558         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84559         failed.
84561 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84563         [BZ #10563]
84564         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84565         to make the syscall.
84566         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84568         [BZ #12378]
84569         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84570         and fall back to matching as normal character if the string ends before
84571         the matching ']' is found.  This is what POSIX requires.
84572         * posix/testfnm.c: Adjust test result.
84573         * posix/globtest.sh: Adjust test result.  Add new test.
84574         * posix/tst-fnmatch.input: Likewise.
84575         * posix/tst-fnmatch2.c: Add new test.
84577 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84579         * elf/Makefile (check-execstack): Revert last change.  Depend on
84580         check-execstack.h.
84581         (check-execstack.h): New target.
84582         (generated): Add check-execstack.h.
84583         * elf/check-execstack.c: Include "check-execstack.h".
84584         (main): Revert last change.
84585         (handle_file): Return zero if GNU_STACK is absent and
84586         DEFAULT_STACK_PERMS doesn't include PF_X.
84588 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84590         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84591         in child fails because the descriptor is already closed.
84592         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84593         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84594         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84596         [BZ #12397]
84597         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84598         syscall.
84600         [BZ #10484]
84601         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84602         temporary buffer used to handle multi lookups locally.
84603         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84605 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84607         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84608         loader is ld.so.
84610 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84612         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84613         alignment for SSE2.
84615 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84617         [BZ #12394]
84618         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84619         characters.  When rounding increased number of integer digits recompute
84620         number of groups.
84621         * stdio-common/tst-grouping.c: New file.
84622         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84624 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84626         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84627         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84629         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84630         void.
84631         * bits/select.h: Likewise.
84633 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84635         * po/ja.po: Update from translation team.
84637 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84639         [BZ #11155]
84640         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84641         implementation just like for lxstat, fxstatat, et al.
84643 2010-12-27  Jim Meyering  <meyering@redhat.com>
84645         [BZ #12348]
84646         * posix/regexec.c (build_trtable): Return failure indication upon
84647         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84649 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84651         [BZ #12201]
84652         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84653         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84654         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84655         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84657         [BZ #12207]
84658         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84660         [BZ #12204]
84661         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84662         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84664 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84666         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84667         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84668         script has SORT_BY_INIT_PRIORITY.
84669         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84670         NO_CTORS_DTORS_SECTIONS is defined.
84671         * elf/soinit.c: Likewise.
84672         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84673         NO_CTORS_DTORS_SECTIONS is defined.
84674         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84675         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84676         * sysdeps/sh/init-first.c: Likewise.
84677         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84679 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84681         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84682         always use the slow path.
84684 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84686         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84687         similar rule which adds the sysdep directories to the header search in
84688         order to pick up the correct platform stackinfo.h.
84689         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84690         perform test if it is, otherwise return successfully without testing.
84691         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84692         DEFAULT_STACK_PERMS define in stackinfo.h.
84693         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84694         defined in stackinfo.h.
84695         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84696         DEFAULT_STACK_PERMS defined in stackinfo.h.
84697         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84698         * sysdeps/ia64/stackinfo.h: Likewise.
84699         * sysdeps/s390/stackinfo.h: Likewise.
84700         * sysdeps/sh/stackinfo.h: Likewise.
84701         * sysdeps/sparc/stackinfo.h: Likewise.
84702         * sysdeps/x86_64/stackinfo.h: Likewise.
84703         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84704         PF_X for powerpc64.  Retain PF_X for powerpc32.
84706 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
84708         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84709         accurately.
84710         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84711         GETDENTS_64BIT_ALIGNED.
84713 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
84715         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84717 2010-12-10  Andreas Schwab  <schwab@redhat.com>
84719         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84720         _GNU_SOURCE.
84722         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84723         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84724         Remove __restrict.
84725         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84726         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84728 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
84730         [BZ #11655]
84731         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84732         are initialized.
84734 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
84736         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84738 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
84740         * po/it.po: Update from translation team.
84742 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
84744         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84745         unused codes.
84747 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
84749         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84751 2010-11-24  Andreas Schwab  <schwab@redhat.com>
84753         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84754         specially.
84755         (gaih_getanswer_slice): Likewise.
84757 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
84759         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84761 2010-05-31  Petr Baudis  <pasky@suse.cz>
84763         [BZ #11149]
84764         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84765         silently even in the chroot mode.
84767 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
84769         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
84770         last patch a bit.  Pretty printing
84772 2010-05-31  Petr Baudis <pasky@suse.cz>
84774         [BZ #10085]
84775         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
84776         initialization of skip_initgroups_dyn.
84778 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
84780         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
84781         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84783 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
84785         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
84787 2010-11-11  Andreas Schwab  <schwab@redhat.com>
84789         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
84790         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
84791         (tst-fnmatch-ENV): Set MALLOC_TRACE.
84792         ($(objpfx)tst-fnmatch-mem): New rule.
84793         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
84794         * posix/tst-fnmatch.c (main): Call mtrace.
84796 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
84798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84799         Support Intel processor model 6 and model 0x2c.
84801 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
84803         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
84804           signed comparison.
84806 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
84808         [BZ #12205]
84809         * string/test-strncasecmp.c (check_result): New function.
84810         (do_one_test): Use it.
84811         (check1): New function.
84812         (test_main): Use it.
84813         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
84814         Support strcasecmp and strncasecmp.
84816 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
84818         [BZ #12194]
84819         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
84820         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84822 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
84824         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
84825         IFUNC support.
84826         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
84827         memset-x86-64.
84828         * sysdeps/x86_64/multiarch/bzero.S: New file.
84829         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
84830         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
84831         * sysdeps/x86_64/multiarch/memset.S: New file.
84832         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
84833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84834         Set bit_Prefer_SSE_for_memop for Intel processors.
84835         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
84836         Define.
84837         (index_Prefer_SSE_for_memop): Define.
84838         (HAS_PREFER_SSE_FOR_MEMOP): Define.
84840 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
84842         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
84843         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
84845 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
84847         [BZ #12191]
84848         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84849         (__x86_64_raw_data_cache_size_half): Likewise.
84850         (__x86_64_raw_shared_cache_size): Likewise.
84851         (__x86_64_raw_shared_cache_size_half): Likewise.
84853         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
84854         (__x86_64_raw_data_cache_size_half): Likewise.
84855         (__x86_64_raw_shared_cache_size): Likewise.
84856         (__x86_64_raw_shared_cache_size_half): Likewise.
84857         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
84858         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
84859         and __x86_64_raw_shared_cache_size_half.  Round
84860         __x86_64_data_cache_size_half, __x86_64_data_cache_size
84861         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
84862         to multiple of 256 bytes.
84864 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
84866         [BZ #12167]
84867         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
84868         of inacessible symlinks.  Verify result of symlink before returning it.
84869         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
84870         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
84872 2010-10-28  Erich Ritz  <erichritz@gmail.com>
84874         * math/math.h (isinf): Fix typo in comment.
84876 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
84878         * po/da.po: Update from translation team.
84880 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
84882         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
84883         is added to the list.
84885 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84886             Ulrich Drepper  <drepper@gmail.com>
84888         * elf/dl-object.c (_dl_new_object): Don't append the new object to
84889         the global list here.  Move code to...
84890         (_dl_add_to_namespace_list): ...here.  New function.
84891         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
84892         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
84893         * elf/dl-load.c (lose): Don't remove the element from the list.
84894         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
84895         (_dl_map_object): Likewise.
84897 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
84899         [BZ #12159]
84900         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
84901         into all bytes of SSE register.
84902         Patch by Richard Li <richardpku@gmail.com>.
84904 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
84906         [BZ #12140]
84907         * malloc/malloc.c (_int_free): Fill correct number of bytes when
84908         perturbing.
84910 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
84912         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
84913         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
84914         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
84915         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
84916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
84917         submachine.
84918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
84920 2010-10-22  Andreas Schwab  <schwab@redhat.com>
84922         * include/dlfcn.h (__RTLD_SECURE): Define.
84923         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
84924         mode & __RTLD_SECURE instead.
84925         (open_path): Rename preloaded parameter to secure.
84926         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
84927         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
84928         * elf/dl-deps.c (openaux): Likewise.
84929         * elf/rtld.c (struct map_args): Remove is_preloaded.
84930         (map_doit): Don't use it.
84931         (dl_main): Likewise.
84932         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
84933         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
84935 2010-09-09  Andreas Schwab  <schwab@redhat.com>
84937         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
84938         (sysd-rules-targets): Remove duplicates.
84939         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
84940         rtld-%.$o dependency.
84942 2010-10-18  Andreas Schwab  <schwab@redhat.com>
84944         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
84945         _dl_map_object do it.
84947 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
84949         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
84950         fast fma builtins, define the macros in the C99 standard.
84951         (FP_FAST_FMAF): Likewise.
84952         (FP_FAST_FMAL): Likewise.
84953         * sysdeps/x86_64/bits/mathdef.h: Likewise.
84955         * bits/mathdef.h: Update copyright year.
84956         * sysdeps/powerpc/bits/mathdef.h: Likewise.
84958 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
84960         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
84961         builtins, define the macros in the C99 standard.
84962         (FP_FAST_FMAF): Likewise.
84963         (FP_FAST_FMAL): Likewise.
84964         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
84965         multiply/add.
84966         (FP_FAST_FMAF): Likewise.
84968 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
84970         [BZ #3268]
84971         * math/libm-test.inc (fma_test): Some new testcases.
84972         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
84973         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
84974         y and infinite z.  Do multiplication by C already in long double.
84975         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
84976         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
84977         y and infinite z.  Do bitwise or of inexact bit into u.d.
84978         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
84979         * sysdeps/i386/fpu/s_fmaf.S: Removed.
84980         * sysdeps/i386/fpu/s_fma.S: Removed.
84981         * sysdeps/i386/fpu/s_fmal.S: Removed.
84983 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
84985         [BZ #3268]
84986         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
84987         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
84988         computation is not scheduled after fetestexcept.  Fix value
84989         of minimum denormal long double.
84991 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
84993         [BZ #3268]
84994         * math/libm-test.inc (fma_test): Add some more tests.
84995         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
84996         correctly.
84998 2010-10-15  Andreas Schwab  <schwab@redhat.com>
85000         * scripts/data/localplt-s390-linux-gnu.data: New file.
85001         * scripts/data/localplt-s390x-linux-gnu.data: New file.
85003 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
85005         [BZ #3268]
85006         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85007         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85008         instead of dbl-64.
85009         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85010         inlines.
85011         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85013         if one of x and y is very large and the other is subnormal.
85014         * sysdeps/s390/fpu/s_fmaf.c: New file.
85015         * sysdeps/s390/fpu/s_fma.c: New file.
85016         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85017         * sysdeps/powerpc/fpu/s_fma.S: New file.
85018         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85019         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85020         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85022 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
85024         [BZ #3268]
85025         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85026         fma tests.
85027         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85028         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85029         * sysdeps/i386/i686/multiarch/s_fma.c: Include
85030         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85031         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85032         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85033         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85035 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
85037         [BZ #12078]
85038         * posix/regcomp.c (parse_branch): One more memory leak plugged.
85039         * posix/bug-regex31.input: Add test case.
85041 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85043         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85044         * posix/bug-regex31.input: New file.
85046         [BZ #12078]
85047         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85048         (parse_sub_exp): Fix last change, use postorder.
85050         * posix/bug-regex31.c: New file.
85051         * posix/Makefile: Add rules to build and run bug-regex31.
85053         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85055         [BZ #12078]
85056         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85058         [BZ #12108]
85059         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85060         to have entries in sys_siglist.
85062         [BZ #12093]
85063         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85064         be NULL.
85066 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
85068         [BZ #3268]
85069         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85070         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85071         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85072         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85073         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85074         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85075         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85076         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85077         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85078         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85079         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85080         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85081         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85082         * math/ftestexcept.c (fetestexcept): Likewise.
85083         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85084         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85085         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85086         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85087         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85088         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85089         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85091 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85093         [BZ #12107]
85094         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85095         newline.
85097 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
85099         * string/bug-strstr1.c: New file.
85100         * string/Makefile: Add rules to build and run bug-strstr1.
85102 2010-10-05  Eric Blake  <eblake@redhat.com>
85104         [BZ #12092]
85105         * string/str-two-way.h (two_way_long_needle): Always clear memory
85106         when skipping input due to the shift table.
85108 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
85110         [BZ #12005]
85111         * malloc/mcheck.c: Handle large requests.
85113         [BZ #12077]
85114         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85115         for strncmp and strncasecmp.
85116         * string/stratcliff.c: Add tests for strcmp and strncmp.
85117         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85119 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85121         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85122         __set_fpscr.
85124 2010-09-30  Andreas Jaeger  <aj@suse.de>
85126         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85127         (CGROUP_SUPER_MAGIC): Define.
85128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85129         Handle btrfs and cgroup file systems.
85130         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85131         Likewise.
85133 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85135         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85136         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85138 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85140         [BZ #12067]
85141         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85142         trying to locate the ELF header.
85144 2010-09-27  Andreas Schwab  <schwab@redhat.com>
85146         [BZ #11611]
85147         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85148         Mask out sign-bit copies when constructing f_fsid.
85150 2010-09-24  Petr Baudis <pasky@suse.cz>
85152         * debug/stack_chk_fail_local.c: Add missing licence exception.
85153         * debug/warning-nop.c: Likewise.
85155 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
85157         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85158         implementing getdents64 using getdents syscall, set d_type if
85159         __ASSUME_GETDENTS32_D_TYPE.
85161 2010-09-16  Andreas Schwab  <schwab@redhat.com>
85163         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85164         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85166 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
85168         [BZ #12037]
85169         * posix/unistd.h: Undo change of feature selection for ftruncate from
85170         2010-01-11.
85172 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
85174         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85175         detection.
85177 2010-09-20  Andreas Schwab  <schwab@redhat.com>
85179         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85180         fanotify_mark.
85181         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85183 2010-09-14  Andreas Schwab  <schwab@redhat.com>
85185         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85186         variables after CHECK_SP call.
85187         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85189 2010-09-13  Andreas Schwab  <schwab@redhat.com>
85190             Ulrich Drepper  <drepper@redhat.com>
85192         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85193         re-relocationg ld.so.
85194         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85195         _dl_init_paths call.
85196         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
85197         here anymore.
85199 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
85201         * resolv/res_init.c (__res_vinit): Count the default server we added.
85203 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
85204             Ulrich Drepper  <drepper@redhat.com>
85206         [BZ #11968]
85207         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85208         (____longjmp_chk): Use %ebx for saving value across system call.
85209         Add unwind info.
85211 2010-09-06  Andreas Schwab  <schwab@redhat.com>
85213         * manual/Makefile: Don't mix pattern rules with normal rules.
85215 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
85217         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85218         operation.
85219         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85220         * libio/iofopncook.c (_IO_cookie_init): Likewise.
85221         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85222         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85223         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85224         Likewise.
85226 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85228         [BZ #11979]
85229         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85230         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85232 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85234         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85235         * sysdeps/x86_64/addmul_1.S: Likewise.
85236         * sysdeps/x86_64/lshift.S: Likewise.
85237         * sysdeps/x86_64/mul_1.S: Likewise.
85238         * sysdeps/x86_64/rshift.S: Likewise.
85239         * sysdeps/x86_64/sub_n.S: Likewise.
85240         * sysdeps/x86_64/submul_1.S: Likewise.
85242 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85244         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85245         Define __sched_param instead of SCHED_* and sched_param when
85246         <bits/sched.h> is included with __need_schedparam defined.
85247         * bits/sched.h [__need_schedparam]
85248         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85249         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85250         (__defined_schedparam): Define to 1.
85251         (__sched_param): New structure, identical to sched_param.
85252         (__need_schedparam): Undefine.
85254 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85257         (epoll_create1): Declare.
85259         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85261 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85263         [BZ #7066]
85264         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85265         shifting retval into place.
85267 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85269         * nis/rpcsvc/nis.h: Update copyright notice.
85270         * nis/rpcsvc/nis.x: Likewise.
85271         * nis/rpcsvc/nis_callback.h: Likewise.
85272         * nis/rpcsvc/nis_callback.x: Likewise.
85273         * nis/rpcsvc/nis_object.x: Likewise.
85274         * nis/rpcsvc/nis_tags.h: Likewise.
85275         * nis/rpcsvc/yp.h: Likewise.
85276         * nis/rpcsvc/yp.x: Likewise.
85277         * nis/rpcsvc/ypupd.h: Likewise.
85278         * nis/yp_xdr.c: Likewise.
85279         * nis/ypupdate_xdr.c: Likewise.
85281         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85282         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85283         (pmap_getport): Use __libc_rpc_getport.
85284         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85285         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85286         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85288 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85291         fanotify_mark.
85293 2010-08-27  Roland McGrath  <roland@redhat.com>
85295         * sysdeps/i386/i686/multiarch/Makefile
85296         (CFLAGS-varshift.c): New variable.
85298 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85300         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85301         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85303         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85305         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85307 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85309         * sysdeps/x86_64/strlen.S: Unroll the loop.
85310         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85311         strlen-sse2 strlen-sse2-bsf.
85312         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85313         __strlen_no_bsf if bit_Slow_BSF is set.
85314         (__strlen_sse42): Removed.
85315         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85316         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85318 2010-08-25  Roland McGrath  <roland@redhat.com>
85320         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85321         * sysdeps/x86_64/multiarch/varshift.c: New file.
85322         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85323         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85324         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85325         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85327 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85329         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85330         strlen-sse2 strlen-sse2-bsf.
85331         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85332         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85333         (__strlen_sse2): Removed.
85334         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85336         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85337         bit_Slow_BSF for Atom.
85338         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85339         (index_Slow_BSF): Define.
85340         (HAS_SLOW_BSF): Define.
85342 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85344         [BZ #10851]
85345         * resolv/res_init.c (__res_vinit): When no server address at all
85346         is given default to loopback.
85348 2010-08-24  Roland McGrath  <roland@redhat.com>
85350         * configure.in: Remove config-name.h generation.
85351         * configure: Regenerated.
85352         * config-name.in: File removed.
85353         * scripts/config-uname.sh: New file.
85354         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85355         ($(objdir)config-name.h): New target.
85357         * sunrpc/rpc_parse.h: Avoid nested comment.
85359 2010-08-24  Richard Henderson  <rth@redhat.com>
85360             Ulrich Drepper  <drepper@redhat.com>
85361             H.J. Lu  <hongjiu.lu@intel.com>
85363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85364         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85365         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85366         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85367         _mm_alignr_epi8 with _mm_loadu_si128.
85368         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85369         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85370         (__m128i_shift_right): Removed.
85371         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85372         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85373         * sysdeps/x86_64/multiarch/varshift.h: New file.
85374         * sysdeps/x86_64/multiarch/varshift.S: New file.
85376 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85378         * configure.in: Move assembler checks to before sysdep dir checking.
85380 2010-08-20  Petr Baudis  <pasky@suse.cz>
85382         * LICENSES: Sync the sunrpc license.
85384 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85386         * sunrpc/auth_des.c: Update copyright notice once again.
85387         * sunrpc/auth_none.c: Likewise.
85388         * sunrpc/auth_unix.c: Likewise.
85389         * sunrpc/authdes_prot.c: Likewise.
85390         * sunrpc/authuxprot.c: Likewise.
85391         * sunrpc/bindrsvprt.c: Likewise.
85392         * sunrpc/clnt_gen.c: Likewise.
85393         * sunrpc/clnt_perr.c: Likewise.
85394         * sunrpc/clnt_raw.c: Likewise.
85395         * sunrpc/clnt_simp.c: Likewise.
85396         * sunrpc/clnt_tcp.c: Likewise.
85397         * sunrpc/clnt_udp.c: Likewise.
85398         * sunrpc/clnt_unix.c: Likewise.
85399         * sunrpc/des_crypt.c: Likewise.
85400         * sunrpc/des_soft.c: Likewise.
85401         * sunrpc/get_myaddr.c: Likewise.
85402         * sunrpc/getrpcport.c: Likewise.
85403         * sunrpc/key_call.c: Likewise.
85404         * sunrpc/key_prot.c: Likewise.
85405         * sunrpc/openchild.c: Likewise.
85406         * sunrpc/pm_getmaps.c: Likewise.
85407         * sunrpc/pm_getport.c: Likewise.
85408         * sunrpc/pmap_clnt.c: Likewise.
85409         * sunrpc/pmap_prot.c: Likewise.
85410         * sunrpc/pmap_prot2.c: Likewise.
85411         * sunrpc/pmap_rmt.c: Likewise.
85412         * sunrpc/rpc/auth.h: Likewise.
85413         * sunrpc/rpc/auth_unix.h: Likewise.
85414         * sunrpc/rpc/clnt.h: Likewise.
85415         * sunrpc/rpc/des_crypt.h: Likewise.
85416         * sunrpc/rpc/key_prot.h: Likewise.
85417         * sunrpc/rpc/netdb.h: Likewise.
85418         * sunrpc/rpc/pmap_clnt.h: Likewise.
85419         * sunrpc/rpc/pmap_prot.h: Likewise.
85420         * sunrpc/rpc/pmap_rmt.h: Likewise.
85421         * sunrpc/rpc/rpc.h: Likewise.
85422         * sunrpc/rpc/rpc_des.h: Likewise.
85423         * sunrpc/rpc/rpc_msg.h: Likewise.
85424         * sunrpc/rpc/svc.h: Likewise.
85425         * sunrpc/rpc/svc_auth.h: Likewise.
85426         * sunrpc/rpc/types.h: Likewise.
85427         * sunrpc/rpc/xdr.h: Likewise.
85428         * sunrpc/rpc_clntout.c: Likewise.
85429         * sunrpc/rpc_cmsg.c: Likewise.
85430         * sunrpc/rpc_common.c: Likewise.
85431         * sunrpc/rpc_cout.c: Likewise.
85432         * sunrpc/rpc_dtable.c: Likewise.
85433         * sunrpc/rpc_hout.c: Likewise.
85434         * sunrpc/rpc_main.c: Likewise.
85435         * sunrpc/rpc_parse.c: Likewise.
85436         * sunrpc/rpc_parse.h: Likewise.
85437         * sunrpc/rpc_prot.c: Likewise.
85438         * sunrpc/rpc_sample.c: Likewise.
85439         * sunrpc/rpc_scan.c: Likewise.
85440         * sunrpc/rpc_scan.h: Likewise.
85441         * sunrpc/rpc_svcout.c: Likewise.
85442         * sunrpc/rpc_tblout.c: Likewise.
85443         * sunrpc/rpc_util.c: Likewise.
85444         * sunrpc/rpc_util.h: Likewise.
85445         * sunrpc/rpcinfo.c: Likewise.
85446         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85447         * sunrpc/rpcsvc/key_prot.x: Likewise.
85448         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85449         * sunrpc/rpcsvc/mount.x: Likewise.
85450         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85451         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85452         * sunrpc/rpcsvc/rex.x: Likewise.
85453         * sunrpc/rpcsvc/rstat.x: Likewise.
85454         * sunrpc/rpcsvc/rusers.x: Likewise.
85455         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85456         * sunrpc/rpcsvc/spray.x: Likewise.
85457         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85458         * sunrpc/rtime.c: Likewise.
85459         * sunrpc/svc.c: Likewise.
85460         * sunrpc/svc_auth.c: Likewise.
85461         * sunrpc/svc_authux.c: Likewise.
85462         * sunrpc/svc_raw.c: Likewise.
85463         * sunrpc/svc_run.c: Likewise.
85464         * sunrpc/svc_simple.c: Likewise.
85465         * sunrpc/svc_tcp.c: Likewise.
85466         * sunrpc/svc_udp.c: Likewise.
85467         * sunrpc/svc_unix.c: Likewise.
85468         * sunrpc/svcauth_des.c: Likewise.
85469         * sunrpc/xcrypt.c: Likewise.
85470         * sunrpc/xdr.c: Likewise.
85471         * sunrpc/xdr_array.c: Likewise.
85472         * sunrpc/xdr_float.c: Likewise.
85473         * sunrpc/xdr_mem.c: Likewise.
85474         * sunrpc/xdr_rec.c: Likewise.
85475         * sunrpc/xdr_ref.c: Likewise.
85476         * sunrpc/xdr_sizeof.c: Likewise.
85477         * sunrpc/xdr_stdio.c: Likewise.
85479         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85480         handling.
85482 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85484         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85486 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85488         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85489         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85490         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85491         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85492         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85493         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85494         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85495         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85496         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85497         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85498         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85499         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85500         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85501         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85503 2010-07-26  Anton Blanchard  <anton@samba.org>
85505         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85506         * malloc/arena.c (heap_trim): Likewise.
85508 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85510         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85511         here.  Not...
85512         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85513         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85515 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85517         * sysdeps/i386/elf/Makefile: New file.
85519 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85521         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85522         from fanotify_init.
85523         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85524         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85526 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85528         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85529         of strncasecmp_l.
85530         * sysdeps/multiarch/strcmp.S: Likewise.
85532 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85534         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85535         strncase_l-nonascii.
85536         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85537         Add strncase_l-ssse3.
85538         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85539         * sysdeps/x86_64/strcmp.S: Likewise.
85540         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85541         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85542         * sysdeps/x86_64/strncase.S: New file.
85543         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85544         * sysdeps/x86_64/strncase_l.S: New file.
85545         * string/Makefile (strop-tests): Add strncasecmp.
85546         * string/test-strncasecmp.c: New file.
85548         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85549         warning.
85551         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85552         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85554 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85556         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85558 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85560         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85561         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85562         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85564 2010-05-01  Alan Modra  <amodra@gmail.com>
85566         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85567         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85568         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85569         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85570         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85571         tidying.  Don't tail-call __sigjmp_save for static lib.
85572         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85573         save location.
85574         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85575         (CALL_MCOUNT): Add eh info, and nop after bl.
85576         (TAIL_CALL_SYSCALL_ERROR): New macro.
85577         (PSEUDO_RET): Use it.
85578         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85579         Correct save location of integer regs and cr.
85580         (_dl_profile_resolve): Correct cr save location.  Delete nops
85581         after bl when SHARED.  Reduce cfi size a little by better
85582         placement of cfi directives.
85583         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85584         make a stack frame.  Instead use parm save area as a temp.
85585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85586         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85588         Don't make a stack frame for parent, use parm save area.
85589         Increase child stack frame to 112 bytes.  Don't save unused reg,
85590         and adjust reg usage.  Set up cfi on error recovery and
85591         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85593         (__makecontext): Add dummy nop after jump to exit.
85594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85595         Use correct parm save area and cr save, reduce stack frame.
85596         Correct cfi for possible PSEUDO_RET frame setup.
85597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85598         Branch to local label emitted by PSEUDO_RET rather than
85599         __syscall_error.
85601 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85603         [BZ #11904]
85604         * locale/programs/locale.c (print_assignment): New function.
85605         (show_locale_vars): Use it.
85607 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85609         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85610         field.
85611         (struct statfs64): Likewise.
85612         (_STATFS_F_FLAGS): Define.
85613         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85614         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85615         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85616         (ST_VALID): Define locally.
85617         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85618         __statvfs_getflags, use the provided value.
85619         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85620         __ASSUME_STATFS_F_FLAGS.
85622         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85624         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85625         Add sys/fanotify.h.
85626         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85627         fanotify_mask for GLIBC_2.13.
85628         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85629         fanotify_init and fanotify_mark.
85630         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85631         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85633         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85634         Add prlimit.
85635         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85636         prlimit64 for GLIBC_2.13.
85637         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85638         prlimit64.
85639         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85640         syscall.
85641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85642         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85643         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85644         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85646         add prlimit alias.
85647         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85649         [BZ #11903]
85650         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85651         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85653         * nss/Makefile: Add rules to build and run tst-nss-test1.
85654         * shlib-versions: Add entry for libnss_test1.
85655         * nss/nss_test1.c: New file.
85656         * nss/tst-nss-test1.c: New file.
85658         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85659         (__nss_configure_lookup): Set appropriate entry in
85660         __nss_configure_lookup to true.
85661         * nss/nsswitch.h: Define enum with indeces of databases in
85662         databases and __nss_database_custom arrays.  Declare
85663         __nss_database_custom.
85664         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85665         to avoid using nscd when custom rules are installed.
85666         * nss/getXXbyYY_r.c: Likewise.
85667         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85669         * nss/nss_files/files-parse.c: Whitespace fixes.
85671 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85673         [BZ #11883]
85674         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85675         * posix/fnmatch_loop.c: Likewise.
85677 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85679         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85680         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85681         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85682         * Versions.def [GLIBC_2.13]: Add.
85684 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85686         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85687         Also fail if tpwd after pwuid call is NULL.
85689 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85691         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85692         when converting to ms.
85694 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85696         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85697         EOPNOTSUPP errors with ENOTTY.
85698         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85699         EOPNOTSUPP errors with ENOTTY.
85701 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
85703         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85704         Add strcasecmp_l-ssse3.
85705         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85706         strcasecmp.
85707         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85708         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85709         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85711 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
85713         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85715         * string/Makefile (strop-tests): Add strcasecmp.
85716         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85717         strcasecmp_l-nonascii.
85718         (gen-as-const-headers): Add locale-defines.sym.
85719         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85720         * sysdeps/x86_64/strcasecmp.S: New file.
85721         * sysdeps/x86_64/strcasecmp_l.S: New file.
85722         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85723         * sysdeps/x86_64/locale-defines.sym: New file.
85724         * string/test-strcasecmp.c: New file.
85726         * string/test-strcasestr.c: Test both ends of the range of characters.
85727         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85729 2010-07-29  Roland McGrath  <roland@redhat.com>
85731         [BZ #11856]
85732         * manual/locale.texi (Yes-or-No Questions): Fix example code.
85734 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
85736         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85737         for ld.so.
85739 2010-07-27  Andreas Schwab  <schwab@redhat.com>
85741         * manual/memory.texi (Malloc Tunable Parameters): Document
85742         M_PERTURB.
85744 2010-07-26  Roland McGrath  <roland@redhat.com>
85746         [BZ #11840]
85747         * configure.in (-fgnu89-inline check): Set and substitute
85748         gnu89_inline, not libc_cv_gnu89_inline.
85749         * configure: Regenerated.
85750         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85752 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
85754         * string/test-strnlen.c: New file.
85755         * string/Makefile (strop-tests): Add strnlen.
85756         * string/tester.c (test_strnlen): Add a few more test cases.
85757         * string/tst-strlen.c: Better error reporting.
85759         * sysdeps/x86_64/strnlen.S: New file.
85761 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
85763         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85764         lower-latency instructions.
85766 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
85768         * string/test-strcasestr.c: New file.
85769         * string/test-strstr.c: New file.
85770         * string/Makefile (strop-tests): Add strstr and strcasestr.
85771         * string/str-two-way.h: Don't undefine MAX.
85772         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
85774 2010-07-21  Andreas Schwab  <schwab@redhat.com>
85776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85777         strcasestr-nonascii.
85778         (CFLAGS-strcasestr-nonascii.c): Define.
85779         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
85780         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
85781         Remove unused attribute.
85783 2010-07-20  Roland McGrath  <roland@redhat.com>
85785         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
85786         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
85787         ld.so.cache was broken.  With it, there is no way to disable dsocaps
85788         like LD_HWCAP_MASK can disable hwcaps.
85790 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85792         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
85794 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
85796         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
85797         call in strcasestr.
85798         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
85799         __strcasestr_sse42_nonascii.
85800         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
85801         strcasestr-nonascii.c.
85802         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
85804 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
85806         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
85807         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
85808         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
85809         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
85811 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
85813         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
85814         fcntl.
85816 2010-07-06  Andreas Schwab  <schwab@redhat.com>
85818         [BZ #11577]
85819         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
85820         dl_signal_cerror.
85822 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
85824         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
85825         _PC_PIPE_BUF using F_GETPIPE_SZ.
85827 2010-07-05  Roland McGrath  <roland@redhat.com>
85829         * manual/arith.texi (Rounding Functions): Fix rint description
85830         implicit in round description.
85832 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
85834         * elf/Makefile: Fix linking for a few tests to make recent linker
85835         happy.
85837 2010-06-30  Andreas Schwab  <schwab@redhat.com>
85839         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
85840         $(common-objpfx)libc_nonshared.a.
85842 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
85844         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
85845         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
85846         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85847         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85848         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
85849         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
85850         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85851         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
85853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
85854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
85855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
85856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
85857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
85858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
85859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
85860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
85861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
85862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
85863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
85864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
85865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
85866         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
85867         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
85868         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
85869         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
85870         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
85871         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
85872         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
85873         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
85874         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
85875         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
85876         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
85877         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
85878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
85879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
85880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
85881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
85882         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
85883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
85884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
85885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
85886         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
85887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
85888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
85889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
85890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
85891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
85893 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
85895         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
85896         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
85897         * string/memmove.c (memmove): Renamed to ...
85898         (MEMMOVE): ...this.  Default to memmove.
85899         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
85900         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
85901         (END_CHK): Define.
85902         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85903         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
85904         mempcpy-ssse3-back memmove-ssse3-back.
85905         * sysdeps/x86_64/multiarch/bcopy.S: New file .
85906         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
85907         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
85908         * sysdeps/x86_64/multiarch/memcpy.S: New file.
85909         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
85910         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
85911         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
85912         * sysdeps/x86_64/multiarch/memmove.c: New file.
85913         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
85914         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
85915         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
85916         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
85917         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
85918         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
85919         Define.
85920         (index_Fast_Copy_Backward): Define.
85921         (HAS_ARCH_FEATURE): Define.
85922         (HAS_FAST_REP_STRING): Define.
85923         (HAS_FAST_COPY_BACKWARD): Define.
85925 2010-06-21  Andreas Schwab  <schwab@redhat.com>
85927         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85928         Restore proper fallback handling.
85930 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
85932         [BZ #11701]
85933         * posix/group_member.c (__group_member): Correct checking loop.
85935         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
85936         OOM in getpwuid_r correctly.  Return error number when the caller
85937         should return, otherwise -1.
85938         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
85939         call returning > 0 value.
85940         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
85942 2010-06-07  Andreas Schwab  <schwab@redhat.com>
85944         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
85945         libc_nonshared.a from targets in modules-names.
85947 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
85949         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
85950         requires it.
85952 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
85954         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
85955         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
85956         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
85957         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
85959 2010-06-02  Andreas Schwab  <schwab@redhat.com>
85961         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
85963 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
85965         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
85966         and F_GETPIPE_SZ.
85967         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
85968         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
85969         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
85970         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
85971         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
85972         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
85974 2010-06-14  Roland McGrath  <roland@redhat.com>
85976         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
85978 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
85980         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
85981         __REDIRECT followed by __THROW.
85982         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
85983         * posix/getopt.h (getopt): Likewise.
85985 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
85987         * hurd/lookup-at.c (__file_name_lookup_at): Accept
85988         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
85989         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
85990         in AT_FLAGS.
85991         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
85992         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
85994 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
85996         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
85998 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
86000         [BZ #11640]
86001         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86002         Properly check family and model.
86004 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
86006         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86008 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
86010         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86012 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
86014         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86015         symbol reference.
86017 2010-05-19  Andreas Schwab  <schwab@redhat.com>
86019         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86020         symbol reference.
86022 2010-05-21  Andreas Schwab  <schwab@redhat.com>
86024         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86025         and internal_recvmmsg.
86026         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86027         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86028         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86029         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86031         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86032         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86033         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86035 2010-05-20  Andreas Schwab  <schwab@redhat.com>
86037         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86039 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
86041         POWER7 optimizations.
86042         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86043         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86045 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
86047         * version.h: Update for 2.13 development version.
86049 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
86051         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86052         exceptions.  Return 0.
86054 2010-05-07  Roland McGrath  <roland@redhat.com>
86056         * elf/ldconfig.c (main): Add a const.
86058 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
86060         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86061         (args_options): Add no-idn option.
86062         (ahosts_keys_int): Add idn_flags to ai_flags.
86063         (parse_option): Handle 'i' option to clear idn_flags.
86065         * malloc/malloc.c (_int_free): Possible race in the most recently
86066         added check.  Only act on the data if no current modification
86067         happened.
86069 See ChangeLog.17 for earlier changes.